AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TlsConfig.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 TlsConfig() = default;
37 AWS_APIGATEWAYV2_API TlsConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAYV2_API TlsConfig& 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 TlsConfig& 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
void SetServerNameToVerify(ServerNameToVerifyT &&value)
Definition TlsConfig.h:51
const Aws::String & GetServerNameToVerify() const
Definition TlsConfig.h:48
TlsConfig & WithServerNameToVerify(ServerNameToVerifyT &&value)
Definition TlsConfig.h:53
AWS_APIGATEWAYV2_API TlsConfig()=default
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API TlsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API TlsConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue