AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApiGatewayV2 {
20namespace Model {
21
30 public:
31 AWS_APIGATEWAYV2_API TlsConfigInput() = default;
32 AWS_APIGATEWAYV2_API TlsConfigInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API TlsConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetServerNameToVerify() const { return m_serverNameToVerify; }
43 inline bool ServerNameToVerifyHasBeenSet() const { return m_serverNameToVerifyHasBeenSet; }
44 template <typename ServerNameToVerifyT = Aws::String>
45 void SetServerNameToVerify(ServerNameToVerifyT&& value) {
46 m_serverNameToVerifyHasBeenSet = true;
47 m_serverNameToVerify = std::forward<ServerNameToVerifyT>(value);
48 }
49 template <typename ServerNameToVerifyT = Aws::String>
50 TlsConfigInput& WithServerNameToVerify(ServerNameToVerifyT&& value) {
51 SetServerNameToVerify(std::forward<ServerNameToVerifyT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_serverNameToVerify;
57 bool m_serverNameToVerifyHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace ApiGatewayV2
62} // 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