AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServerNameToVerify(const Aws::String& value) { m_serverNameToVerifyHasBeenSet = true; m_serverNameToVerify = value; }
51 inline void SetServerNameToVerify(Aws::String&& value) { m_serverNameToVerifyHasBeenSet = true; m_serverNameToVerify = std::move(value); }
52 inline void SetServerNameToVerify(const char* value) { m_serverNameToVerifyHasBeenSet = true; m_serverNameToVerify.assign(value); }
53 inline TlsConfig& WithServerNameToVerify(const Aws::String& value) { SetServerNameToVerify(value); return *this;}
54 inline TlsConfig& WithServerNameToVerify(Aws::String&& value) { SetServerNameToVerify(std::move(value)); return *this;}
55 inline TlsConfig& WithServerNameToVerify(const char* value) { SetServerNameToVerify(value); return *this;}
57 private:
58
59 Aws::String m_serverNameToVerify;
60 bool m_serverNameToVerifyHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace ApiGatewayV2
65} // namespace Aws
TlsConfig & WithServerNameToVerify(const char *value)
Definition TlsConfig.h:55
TlsConfig & WithServerNameToVerify(const Aws::String &value)
Definition TlsConfig.h:53
const Aws::String & GetServerNameToVerify() const
Definition TlsConfig.h:48
AWS_APIGATEWAYV2_API TlsConfig()
void SetServerNameToVerify(const Aws::String &value)
Definition TlsConfig.h:50
TlsConfig & WithServerNameToVerify(Aws::String &&value)
Definition TlsConfig.h:54
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerNameToVerify(Aws::String &&value)
Definition TlsConfig.h:51
AWS_APIGATEWAYV2_API TlsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServerNameToVerify(const char *value)
Definition TlsConfig.h:52
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