AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainName.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apigatewayv2/model/MutualTlsAuthentication.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigatewayv2/model/DomainNameConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ApiGatewayV2
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_APIGATEWAYV2_API DomainName();
39 AWS_APIGATEWAYV2_API DomainName(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APIGATEWAYV2_API DomainName& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetApiMappingSelectionExpression() const{ return m_apiMappingSelectionExpression; }
49 inline bool ApiMappingSelectionExpressionHasBeenSet() const { return m_apiMappingSelectionExpressionHasBeenSet; }
50 inline void SetApiMappingSelectionExpression(const Aws::String& value) { m_apiMappingSelectionExpressionHasBeenSet = true; m_apiMappingSelectionExpression = value; }
51 inline void SetApiMappingSelectionExpression(Aws::String&& value) { m_apiMappingSelectionExpressionHasBeenSet = true; m_apiMappingSelectionExpression = std::move(value); }
52 inline void SetApiMappingSelectionExpression(const char* value) { m_apiMappingSelectionExpressionHasBeenSet = true; m_apiMappingSelectionExpression.assign(value); }
55 inline DomainName& WithApiMappingSelectionExpression(const char* value) { SetApiMappingSelectionExpression(value); return *this;}
57
59
62 inline const Aws::String& GetDomainName() const{ return m_domainName; }
63 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
64 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
65 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
66 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
67 inline DomainName& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
68 inline DomainName& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
69 inline DomainName& WithDomainName(const char* value) { SetDomainName(value); return *this;}
71
73
76 inline const Aws::Vector<DomainNameConfiguration>& GetDomainNameConfigurations() const{ return m_domainNameConfigurations; }
77 inline bool DomainNameConfigurationsHasBeenSet() const { return m_domainNameConfigurationsHasBeenSet; }
78 inline void SetDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = value; }
79 inline void SetDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = std::move(value); }
82 inline DomainName& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; }
83 inline DomainName& AddDomainNameConfigurations(DomainNameConfiguration&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(std::move(value)); return *this; }
85
87
90 inline const MutualTlsAuthentication& GetMutualTlsAuthentication() const{ return m_mutualTlsAuthentication; }
91 inline bool MutualTlsAuthenticationHasBeenSet() const { return m_mutualTlsAuthenticationHasBeenSet; }
92 inline void SetMutualTlsAuthentication(const MutualTlsAuthentication& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; }
93 inline void SetMutualTlsAuthentication(MutualTlsAuthentication&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); }
97
99
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline DomainName& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
107 inline DomainName& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 inline DomainName& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 inline DomainName& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline DomainName& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline DomainName& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline DomainName& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline DomainName& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline DomainName& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_apiMappingSelectionExpression;
119 bool m_apiMappingSelectionExpressionHasBeenSet = false;
120
121 Aws::String m_domainName;
122 bool m_domainNameHasBeenSet = false;
123
124 Aws::Vector<DomainNameConfiguration> m_domainNameConfigurations;
125 bool m_domainNameConfigurationsHasBeenSet = false;
126
127 MutualTlsAuthentication m_mutualTlsAuthentication;
128 bool m_mutualTlsAuthenticationHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ApiGatewayV2
136} // namespace Aws
DomainName & AddTags(const Aws::String &key, Aws::String &&value)
Definition DomainName.h:110
DomainName & WithMutualTlsAuthentication(const MutualTlsAuthentication &value)
Definition DomainName.h:94
bool ApiMappingSelectionExpressionHasBeenSet() const
Definition DomainName.h:49
const Aws::String & GetApiMappingSelectionExpression() const
Definition DomainName.h:48
DomainName & AddTags(Aws::String &&key, const char *value)
Definition DomainName.h:113
void SetApiMappingSelectionExpression(Aws::String &&value)
Definition DomainName.h:51
void SetApiMappingSelectionExpression(const char *value)
Definition DomainName.h:52
DomainName & AddTags(Aws::String &&key, const Aws::String &value)
Definition DomainName.h:109
void SetDomainName(const Aws::String &value)
Definition DomainName.h:64
DomainName & WithDomainName(const Aws::String &value)
Definition DomainName.h:67
DomainName & AddTags(const char *key, const char *value)
Definition DomainName.h:114
AWS_APIGATEWAYV2_API DomainName(Aws::Utils::Json::JsonView jsonValue)
DomainName & AddDomainNameConfigurations(const DomainNameConfiguration &value)
Definition DomainName.h:82
bool DomainNameConfigurationsHasBeenSet() const
Definition DomainName.h:77
DomainName & WithDomainName(const char *value)
Definition DomainName.h:69
AWS_APIGATEWAYV2_API DomainName & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiMappingSelectionExpression(const Aws::String &value)
Definition DomainName.h:50
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDomainName(const char *value)
Definition DomainName.h:66
void SetMutualTlsAuthentication(const MutualTlsAuthentication &value)
Definition DomainName.h:92
void SetDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
Definition DomainName.h:79
DomainName & WithApiMappingSelectionExpression(const Aws::String &value)
Definition DomainName.h:53
DomainName & WithDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
Definition DomainName.h:81
DomainName & AddTags(const Aws::String &key, const Aws::String &value)
Definition DomainName.h:108
DomainName & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition DomainName.h:106
void SetDomainName(Aws::String &&value)
Definition DomainName.h:65
const Aws::Vector< DomainNameConfiguration > & GetDomainNameConfigurations() const
Definition DomainName.h:76
DomainName & WithApiMappingSelectionExpression(const char *value)
Definition DomainName.h:55
void SetDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
Definition DomainName.h:78
DomainName & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition DomainName.h:107
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition DomainName.h:104
const MutualTlsAuthentication & GetMutualTlsAuthentication() const
Definition DomainName.h:90
const Aws::String & GetDomainName() const
Definition DomainName.h:62
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition DomainName.h:102
AWS_APIGATEWAYV2_API DomainName()
void SetMutualTlsAuthentication(MutualTlsAuthentication &&value)
Definition DomainName.h:93
DomainName & WithMutualTlsAuthentication(MutualTlsAuthentication &&value)
Definition DomainName.h:95
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition DomainName.h:105
DomainName & AddTags(const char *key, Aws::String &&value)
Definition DomainName.h:112
DomainName & AddDomainNameConfigurations(DomainNameConfiguration &&value)
Definition DomainName.h:83
DomainName & WithApiMappingSelectionExpression(Aws::String &&value)
Definition DomainName.h:54
DomainName & AddTags(Aws::String &&key, Aws::String &&value)
Definition DomainName.h:111
DomainName & WithDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
Definition DomainName.h:80
DomainName & WithDomainName(Aws::String &&value)
Definition DomainName.h:68
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue