AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TlsConfigInput.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApiGatewayV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_APIGATEWAYV2_API TlsConfigInput() = default;
37 AWS_APIGATEWAYV2_API TlsConfigInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAYV2_API TlsConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetServerNameToVerify() const { return m_serverNameToVerify; }
49 inline bool ServerNameToVerifyHasBeenSet() const { return m_serverNameToVerifyHasBeenSet; }
50 template<typename ServerNameToVerifyT = Aws::String>
51 void SetServerNameToVerify(ServerNameToVerifyT&& value) { m_serverNameToVerifyHasBeenSet = true; m_serverNameToVerify = std::forward<ServerNameToVerifyT>(value); }
52 template<typename ServerNameToVerifyT = Aws::String>
53 TlsConfigInput& WithServerNameToVerify(ServerNameToVerifyT&& value) { SetServerNameToVerify(std::forward<ServerNameToVerifyT>(value)); return *this;}
55 private:
56
57 Aws::String m_serverNameToVerify;
58 bool m_serverNameToVerifyHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ApiGatewayV2
63} // namespace Aws
AWS_APIGATEWAYV2_API TlsConfigInput(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServerNameToVerify() const
AWS_APIGATEWAYV2_API TlsConfigInput()=default
AWS_APIGATEWAYV2_API TlsConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
TlsConfigInput & WithServerNameToVerify(ServerNameToVerifyT &&value)
void SetServerNameToVerify(ServerNameToVerifyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue