AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainConfigurationRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/AuthorizerConfig.h>
12#include <aws/iot/model/ServiceType.h>
13#include <aws/iot/model/TlsConfig.h>
14#include <aws/iot/model/ServerCertificateConfig.h>
15#include <aws/iot/model/AuthenticationType.h>
16#include <aws/iot/model/ApplicationProtocol.h>
17#include <aws/iot/model/ClientCertificateConfig.h>
18#include <aws/iot/model/Tag.h>
19#include <utility>
20
21namespace Aws
22{
23namespace IoT
24{
25namespace Model
26{
27
31 {
32 public:
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateDomainConfiguration"; }
40
41 AWS_IOT_API Aws::String SerializePayload() const override;
42
43
45
49 inline const Aws::String& GetDomainConfigurationName() const{ return m_domainConfigurationName; }
50 inline bool DomainConfigurationNameHasBeenSet() const { return m_domainConfigurationNameHasBeenSet; }
51 inline void SetDomainConfigurationName(const Aws::String& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = value; }
52 inline void SetDomainConfigurationName(Aws::String&& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = std::move(value); }
53 inline void SetDomainConfigurationName(const char* value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName.assign(value); }
58
60
63 inline const Aws::String& GetDomainName() const{ return m_domainName; }
64 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
65 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
66 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
67 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
68 inline CreateDomainConfigurationRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
69 inline CreateDomainConfigurationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
70 inline CreateDomainConfigurationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
72
74
79 inline const Aws::Vector<Aws::String>& GetServerCertificateArns() const{ return m_serverCertificateArns; }
80 inline bool ServerCertificateArnsHasBeenSet() const { return m_serverCertificateArnsHasBeenSet; }
81 inline void SetServerCertificateArns(const Aws::Vector<Aws::String>& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns = value; }
82 inline void SetServerCertificateArns(Aws::Vector<Aws::String>&& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns = std::move(value); }
85 inline CreateDomainConfigurationRequest& AddServerCertificateArns(const Aws::String& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns.push_back(value); return *this; }
86 inline CreateDomainConfigurationRequest& AddServerCertificateArns(Aws::String&& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns.push_back(std::move(value)); return *this; }
87 inline CreateDomainConfigurationRequest& AddServerCertificateArns(const char* value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns.push_back(value); return *this; }
89
91
96 inline const Aws::String& GetValidationCertificateArn() const{ return m_validationCertificateArn; }
97 inline bool ValidationCertificateArnHasBeenSet() const { return m_validationCertificateArnHasBeenSet; }
98 inline void SetValidationCertificateArn(const Aws::String& value) { m_validationCertificateArnHasBeenSet = true; m_validationCertificateArn = value; }
99 inline void SetValidationCertificateArn(Aws::String&& value) { m_validationCertificateArnHasBeenSet = true; m_validationCertificateArn = std::move(value); }
100 inline void SetValidationCertificateArn(const char* value) { m_validationCertificateArnHasBeenSet = true; m_validationCertificateArn.assign(value); }
105
107
110 inline const AuthorizerConfig& GetAuthorizerConfig() const{ return m_authorizerConfig; }
111 inline bool AuthorizerConfigHasBeenSet() const { return m_authorizerConfigHasBeenSet; }
112 inline void SetAuthorizerConfig(const AuthorizerConfig& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = value; }
113 inline void SetAuthorizerConfig(AuthorizerConfig&& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = std::move(value); }
117
119
124 inline const ServiceType& GetServiceType() const{ return m_serviceType; }
125 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
126 inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
127 inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
128 inline CreateDomainConfigurationRequest& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;}
129 inline CreateDomainConfigurationRequest& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;}
131
133
140 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
141 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
142 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
143 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
144 inline CreateDomainConfigurationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
145 inline CreateDomainConfigurationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
146 inline CreateDomainConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
147 inline CreateDomainConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
149
151
154 inline const TlsConfig& GetTlsConfig() const{ return m_tlsConfig; }
155 inline bool TlsConfigHasBeenSet() const { return m_tlsConfigHasBeenSet; }
156 inline void SetTlsConfig(const TlsConfig& value) { m_tlsConfigHasBeenSet = true; m_tlsConfig = value; }
157 inline void SetTlsConfig(TlsConfig&& value) { m_tlsConfigHasBeenSet = true; m_tlsConfig = std::move(value); }
158 inline CreateDomainConfigurationRequest& WithTlsConfig(const TlsConfig& value) { SetTlsConfig(value); return *this;}
159 inline CreateDomainConfigurationRequest& WithTlsConfig(TlsConfig&& value) { SetTlsConfig(std::move(value)); return *this;}
161
163
166 inline const ServerCertificateConfig& GetServerCertificateConfig() const{ return m_serverCertificateConfig; }
167 inline bool ServerCertificateConfigHasBeenSet() const { return m_serverCertificateConfigHasBeenSet; }
168 inline void SetServerCertificateConfig(const ServerCertificateConfig& value) { m_serverCertificateConfigHasBeenSet = true; m_serverCertificateConfig = value; }
169 inline void SetServerCertificateConfig(ServerCertificateConfig&& value) { m_serverCertificateConfigHasBeenSet = true; m_serverCertificateConfig = std::move(value); }
173
175
195 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
196 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
197 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
198 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
202
204
215 inline const ApplicationProtocol& GetApplicationProtocol() const{ return m_applicationProtocol; }
216 inline bool ApplicationProtocolHasBeenSet() const { return m_applicationProtocolHasBeenSet; }
217 inline void SetApplicationProtocol(const ApplicationProtocol& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = value; }
218 inline void SetApplicationProtocol(ApplicationProtocol&& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = std::move(value); }
222
224
227 inline const ClientCertificateConfig& GetClientCertificateConfig() const{ return m_clientCertificateConfig; }
228 inline bool ClientCertificateConfigHasBeenSet() const { return m_clientCertificateConfigHasBeenSet; }
229 inline void SetClientCertificateConfig(const ClientCertificateConfig& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = value; }
230 inline void SetClientCertificateConfig(ClientCertificateConfig&& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = std::move(value); }
234 private:
235
236 Aws::String m_domainConfigurationName;
237 bool m_domainConfigurationNameHasBeenSet = false;
238
239 Aws::String m_domainName;
240 bool m_domainNameHasBeenSet = false;
241
242 Aws::Vector<Aws::String> m_serverCertificateArns;
243 bool m_serverCertificateArnsHasBeenSet = false;
244
245 Aws::String m_validationCertificateArn;
246 bool m_validationCertificateArnHasBeenSet = false;
247
248 AuthorizerConfig m_authorizerConfig;
249 bool m_authorizerConfigHasBeenSet = false;
250
251 ServiceType m_serviceType;
252 bool m_serviceTypeHasBeenSet = false;
253
254 Aws::Vector<Tag> m_tags;
255 bool m_tagsHasBeenSet = false;
256
257 TlsConfig m_tlsConfig;
258 bool m_tlsConfigHasBeenSet = false;
259
260 ServerCertificateConfig m_serverCertificateConfig;
261 bool m_serverCertificateConfigHasBeenSet = false;
262
263 AuthenticationType m_authenticationType;
264 bool m_authenticationTypeHasBeenSet = false;
265
266 ApplicationProtocol m_applicationProtocol;
267 bool m_applicationProtocolHasBeenSet = false;
268
269 ClientCertificateConfig m_clientCertificateConfig;
270 bool m_clientCertificateConfigHasBeenSet = false;
271 };
272
273} // namespace Model
274} // namespace IoT
275} // namespace Aws
CreateDomainConfigurationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDomainConfigurationRequest & WithServiceType(ServiceType &&value)
CreateDomainConfigurationRequest & WithServerCertificateConfig(const ServerCertificateConfig &value)
CreateDomainConfigurationRequest & WithValidationCertificateArn(const char *value)
CreateDomainConfigurationRequest & AddServerCertificateArns(const Aws::String &value)
CreateDomainConfigurationRequest & WithTlsConfig(const TlsConfig &value)
CreateDomainConfigurationRequest & WithApplicationProtocol(ApplicationProtocol &&value)
CreateDomainConfigurationRequest & WithTlsConfig(TlsConfig &&value)
CreateDomainConfigurationRequest & WithAuthenticationType(const AuthenticationType &value)
CreateDomainConfigurationRequest & WithDomainConfigurationName(const char *value)
CreateDomainConfigurationRequest & WithDomainConfigurationName(const Aws::String &value)
CreateDomainConfigurationRequest & WithValidationCertificateArn(const Aws::String &value)
const ServerCertificateConfig & GetServerCertificateConfig() const
CreateDomainConfigurationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDomainConfigurationRequest & WithClientCertificateConfig(const ClientCertificateConfig &value)
CreateDomainConfigurationRequest & AddServerCertificateArns(const char *value)
CreateDomainConfigurationRequest & WithServerCertificateConfig(ServerCertificateConfig &&value)
void SetClientCertificateConfig(const ClientCertificateConfig &value)
CreateDomainConfigurationRequest & WithValidationCertificateArn(Aws::String &&value)
void SetServerCertificateArns(const Aws::Vector< Aws::String > &value)
CreateDomainConfigurationRequest & AddTags(Tag &&value)
CreateDomainConfigurationRequest & WithDomainName(Aws::String &&value)
CreateDomainConfigurationRequest & WithDomainName(const Aws::String &value)
CreateDomainConfigurationRequest & WithDomainConfigurationName(Aws::String &&value)
void SetServerCertificateArns(Aws::Vector< Aws::String > &&value)
const ClientCertificateConfig & GetClientCertificateConfig() const
CreateDomainConfigurationRequest & WithAuthenticationType(AuthenticationType &&value)
CreateDomainConfigurationRequest & AddTags(const Tag &value)
CreateDomainConfigurationRequest & WithDomainName(const char *value)
CreateDomainConfigurationRequest & WithAuthorizerConfig(const AuthorizerConfig &value)
const Aws::Vector< Aws::String > & GetServerCertificateArns() const
CreateDomainConfigurationRequest & WithClientCertificateConfig(ClientCertificateConfig &&value)
void SetServerCertificateConfig(const ServerCertificateConfig &value)
CreateDomainConfigurationRequest & WithServerCertificateArns(const Aws::Vector< Aws::String > &value)
CreateDomainConfigurationRequest & WithApplicationProtocol(const ApplicationProtocol &value)
CreateDomainConfigurationRequest & AddServerCertificateArns(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
CreateDomainConfigurationRequest & WithAuthorizerConfig(AuthorizerConfig &&value)
CreateDomainConfigurationRequest & WithServiceType(const ServiceType &value)
CreateDomainConfigurationRequest & WithServerCertificateArns(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector