AWS SDK for C++  1.9.132
AWS SDK for C++
CreateDomainConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
13 #include <aws/iot/model/Tag.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace IoT
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateDomainConfiguration"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetDomainConfigurationName() const{ return m_domainConfigurationName; }
44 
49  inline bool DomainConfigurationNameHasBeenSet() const { return m_domainConfigurationNameHasBeenSet; }
50 
55  inline void SetDomainConfigurationName(const Aws::String& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = value; }
56 
61  inline void SetDomainConfigurationName(Aws::String&& value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName = std::move(value); }
62 
67  inline void SetDomainConfigurationName(const char* value) { m_domainConfigurationNameHasBeenSet = true; m_domainConfigurationName.assign(value); }
68 
73  inline CreateDomainConfigurationRequest& WithDomainConfigurationName(const Aws::String& value) { SetDomainConfigurationName(value); return *this;}
74 
79  inline CreateDomainConfigurationRequest& WithDomainConfigurationName(Aws::String&& value) { SetDomainConfigurationName(std::move(value)); return *this;}
80 
85  inline CreateDomainConfigurationRequest& WithDomainConfigurationName(const char* value) { SetDomainConfigurationName(value); return *this;}
86 
87 
91  inline const Aws::String& GetDomainName() const{ return m_domainName; }
92 
96  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
97 
101  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
102 
106  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
107 
111  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
112 
116  inline CreateDomainConfigurationRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
117 
121  inline CreateDomainConfigurationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
122 
126  inline CreateDomainConfigurationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
127 
128 
134  inline const Aws::Vector<Aws::String>& GetServerCertificateArns() const{ return m_serverCertificateArns; }
135 
141  inline bool ServerCertificateArnsHasBeenSet() const { return m_serverCertificateArnsHasBeenSet; }
142 
148  inline void SetServerCertificateArns(const Aws::Vector<Aws::String>& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns = value; }
149 
155  inline void SetServerCertificateArns(Aws::Vector<Aws::String>&& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns = std::move(value); }
156 
162  inline CreateDomainConfigurationRequest& WithServerCertificateArns(const Aws::Vector<Aws::String>& value) { SetServerCertificateArns(value); return *this;}
163 
169  inline CreateDomainConfigurationRequest& WithServerCertificateArns(Aws::Vector<Aws::String>&& value) { SetServerCertificateArns(std::move(value)); return *this;}
170 
176  inline CreateDomainConfigurationRequest& AddServerCertificateArns(const Aws::String& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns.push_back(value); return *this; }
177 
183  inline CreateDomainConfigurationRequest& AddServerCertificateArns(Aws::String&& value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns.push_back(std::move(value)); return *this; }
184 
190  inline CreateDomainConfigurationRequest& AddServerCertificateArns(const char* value) { m_serverCertificateArnsHasBeenSet = true; m_serverCertificateArns.push_back(value); return *this; }
191 
192 
198  inline const Aws::String& GetValidationCertificateArn() const{ return m_validationCertificateArn; }
199 
205  inline bool ValidationCertificateArnHasBeenSet() const { return m_validationCertificateArnHasBeenSet; }
206 
212  inline void SetValidationCertificateArn(const Aws::String& value) { m_validationCertificateArnHasBeenSet = true; m_validationCertificateArn = value; }
213 
219  inline void SetValidationCertificateArn(Aws::String&& value) { m_validationCertificateArnHasBeenSet = true; m_validationCertificateArn = std::move(value); }
220 
226  inline void SetValidationCertificateArn(const char* value) { m_validationCertificateArnHasBeenSet = true; m_validationCertificateArn.assign(value); }
227 
233  inline CreateDomainConfigurationRequest& WithValidationCertificateArn(const Aws::String& value) { SetValidationCertificateArn(value); return *this;}
234 
240  inline CreateDomainConfigurationRequest& WithValidationCertificateArn(Aws::String&& value) { SetValidationCertificateArn(std::move(value)); return *this;}
241 
247  inline CreateDomainConfigurationRequest& WithValidationCertificateArn(const char* value) { SetValidationCertificateArn(value); return *this;}
248 
249 
253  inline const AuthorizerConfig& GetAuthorizerConfig() const{ return m_authorizerConfig; }
254 
258  inline bool AuthorizerConfigHasBeenSet() const { return m_authorizerConfigHasBeenSet; }
259 
263  inline void SetAuthorizerConfig(const AuthorizerConfig& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = value; }
264 
268  inline void SetAuthorizerConfig(AuthorizerConfig&& value) { m_authorizerConfigHasBeenSet = true; m_authorizerConfig = std::move(value); }
269 
273  inline CreateDomainConfigurationRequest& WithAuthorizerConfig(const AuthorizerConfig& value) { SetAuthorizerConfig(value); return *this;}
274 
278  inline CreateDomainConfigurationRequest& WithAuthorizerConfig(AuthorizerConfig&& value) { SetAuthorizerConfig(std::move(value)); return *this;}
279 
280 
286  inline const ServiceType& GetServiceType() const{ return m_serviceType; }
287 
293  inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
294 
300  inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
301 
307  inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
308 
314  inline CreateDomainConfigurationRequest& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;}
315 
321  inline CreateDomainConfigurationRequest& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;}
322 
323 
331  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
332 
340  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
341 
349  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
350 
358  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
359 
367  inline CreateDomainConfigurationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
368 
376  inline CreateDomainConfigurationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
377 
385  inline CreateDomainConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
386 
394  inline CreateDomainConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
395 
396  private:
397 
398  Aws::String m_domainConfigurationName;
399  bool m_domainConfigurationNameHasBeenSet;
400 
401  Aws::String m_domainName;
402  bool m_domainNameHasBeenSet;
403 
404  Aws::Vector<Aws::String> m_serverCertificateArns;
405  bool m_serverCertificateArnsHasBeenSet;
406 
407  Aws::String m_validationCertificateArn;
408  bool m_validationCertificateArnHasBeenSet;
409 
410  AuthorizerConfig m_authorizerConfig;
411  bool m_authorizerConfigHasBeenSet;
412 
413  ServiceType m_serviceType;
414  bool m_serviceTypeHasBeenSet;
415 
416  Aws::Vector<Tag> m_tags;
417  bool m_tagsHasBeenSet;
418  };
419 
420 } // namespace Model
421 } // namespace IoT
422 } // namespace Aws
Aws::IoT::Model::CreateDomainConfigurationRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: CreateDomainConfigurationRequest.h:91
Aws::IoT::Model::CreateDomainConfigurationRequest::SetServerCertificateArns
void SetServerCertificateArns(const Aws::Vector< Aws::String > &value)
Definition: CreateDomainConfigurationRequest.h:148
Aws::IoT::Model::CreateDomainConfigurationRequest::AuthorizerConfigHasBeenSet
bool AuthorizerConfigHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:258
Aws::IoT::Model::CreateDomainConfigurationRequest::SetDomainConfigurationName
void SetDomainConfigurationName(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:61
Aws::IoT::Model::CreateDomainConfigurationRequest::WithValidationCertificateArn
CreateDomainConfigurationRequest & WithValidationCertificateArn(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:233
Aws::IoT::Model::CreateDomainConfigurationRequest::SetValidationCertificateArn
void SetValidationCertificateArn(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:212
Aws::IoT::Model::CreateDomainConfigurationRequest
Definition: CreateDomainConfigurationRequest.h:26
Aws::IoT::Model::CreateDomainConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::CreateDomainConfigurationRequest::SetDomainName
void SetDomainName(const char *value)
Definition: CreateDomainConfigurationRequest.h:111
Aws::IoT::Model::CreateDomainConfigurationRequest::AddServerCertificateArns
CreateDomainConfigurationRequest & AddServerCertificateArns(const char *value)
Definition: CreateDomainConfigurationRequest.h:190
Aws::IoT::Model::CreateDomainConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDomainConfigurationRequest.h:34
Aws::IoT::Model::CreateDomainConfigurationRequest::AddTags
CreateDomainConfigurationRequest & AddTags(Tag &&value)
Definition: CreateDomainConfigurationRequest.h:394
Aws::IoT::Model::CreateDomainConfigurationRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDomainConfigurationRequest.h:349
Aws::IoT::Model::CreateDomainConfigurationRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:340
Aws::IoT::Model::CreateDomainConfigurationRequest::WithDomainConfigurationName
CreateDomainConfigurationRequest & WithDomainConfigurationName(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:79
Aws::IoT::Model::CreateDomainConfigurationRequest::WithAuthorizerConfig
CreateDomainConfigurationRequest & WithAuthorizerConfig(const AuthorizerConfig &value)
Definition: CreateDomainConfigurationRequest.h:273
Aws::IoT::Model::CreateDomainConfigurationRequest::GetAuthorizerConfig
const AuthorizerConfig & GetAuthorizerConfig() const
Definition: CreateDomainConfigurationRequest.h:253
Aws::IoT::Model::CreateDomainConfigurationRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDomainConfigurationRequest.h:331
Aws::IoT::Model::CreateDomainConfigurationRequest::ServerCertificateArnsHasBeenSet
bool ServerCertificateArnsHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:141
Aws::IoT::Model::CreateDomainConfigurationRequest::GetServerCertificateArns
const Aws::Vector< Aws::String > & GetServerCertificateArns() const
Definition: CreateDomainConfigurationRequest.h:134
Aws::IoT::Model::CreateDomainConfigurationRequest::SetAuthorizerConfig
void SetAuthorizerConfig(const AuthorizerConfig &value)
Definition: CreateDomainConfigurationRequest.h:263
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::CreateDomainConfigurationRequest::GetServiceType
const ServiceType & GetServiceType() const
Definition: CreateDomainConfigurationRequest.h:286
AWSVector.h
Aws::IoT::Model::CreateDomainConfigurationRequest::AddServerCertificateArns
CreateDomainConfigurationRequest & AddServerCertificateArns(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:183
Aws::IoT::Model::CreateDomainConfigurationRequest::SetDomainConfigurationName
void SetDomainConfigurationName(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:55
Aws::IoT::Model::CreateDomainConfigurationRequest::WithServerCertificateArns
CreateDomainConfigurationRequest & WithServerCertificateArns(const Aws::Vector< Aws::String > &value)
Definition: CreateDomainConfigurationRequest.h:162
Aws::IoT::Model::Tag
Definition: Tag.h:33
Aws::IoT::Model::CreateDomainConfigurationRequest::SetValidationCertificateArn
void SetValidationCertificateArn(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:219
Aws::IoT::Model::CreateDomainConfigurationRequest::SetAuthorizerConfig
void SetAuthorizerConfig(AuthorizerConfig &&value)
Definition: CreateDomainConfigurationRequest.h:268
Aws::IoT::Model::CreateDomainConfigurationRequest::WithDomainConfigurationName
CreateDomainConfigurationRequest & WithDomainConfigurationName(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:73
Aws::IoT::Model::CreateDomainConfigurationRequest::WithServiceType
CreateDomainConfigurationRequest & WithServiceType(ServiceType &&value)
Definition: CreateDomainConfigurationRequest.h:321
Aws::IoT::Model::CreateDomainConfigurationRequest::WithDomainName
CreateDomainConfigurationRequest & WithDomainName(const char *value)
Definition: CreateDomainConfigurationRequest.h:126
Aws::IoT::Model::CreateDomainConfigurationRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDomainConfigurationRequest.h:358
Aws::IoT::Model::CreateDomainConfigurationRequest::SetServiceType
void SetServiceType(const ServiceType &value)
Definition: CreateDomainConfigurationRequest.h:300
Aws::IoT::Model::CreateDomainConfigurationRequest::WithValidationCertificateArn
CreateDomainConfigurationRequest & WithValidationCertificateArn(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:240
AWSString.h
Aws::IoT::Model::CreateDomainConfigurationRequest::GetDomainConfigurationName
const Aws::String & GetDomainConfigurationName() const
Definition: CreateDomainConfigurationRequest.h:43
Aws::IoT::Model::CreateDomainConfigurationRequest::SetServerCertificateArns
void SetServerCertificateArns(Aws::Vector< Aws::String > &&value)
Definition: CreateDomainConfigurationRequest.h:155
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::CreateDomainConfigurationRequest::WithDomainName
CreateDomainConfigurationRequest & WithDomainName(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:116
ServiceType.h
Aws::IoT::Model::CreateDomainConfigurationRequest::WithServiceType
CreateDomainConfigurationRequest & WithServiceType(const ServiceType &value)
Definition: CreateDomainConfigurationRequest.h:314
Aws::IoT::Model::CreateDomainConfigurationRequest::WithDomainName
CreateDomainConfigurationRequest & WithDomainName(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:121
Aws::IoT::Model::CreateDomainConfigurationRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:96
Aws::IoT::Model::CreateDomainConfigurationRequest::ValidationCertificateArnHasBeenSet
bool ValidationCertificateArnHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:205
Aws::IoT::Model::CreateDomainConfigurationRequest::WithDomainConfigurationName
CreateDomainConfigurationRequest & WithDomainConfigurationName(const char *value)
Definition: CreateDomainConfigurationRequest.h:85
Aws::IoT::Model::CreateDomainConfigurationRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: CreateDomainConfigurationRequest.h:106
Aws::IoT::Model::CreateDomainConfigurationRequest::SetServiceType
void SetServiceType(ServiceType &&value)
Definition: CreateDomainConfigurationRequest.h:307
Aws::IoT::Model::ServiceType
ServiceType
Definition: ServiceType.h:17
Aws::IoT::Model::CreateDomainConfigurationRequest::WithTags
CreateDomainConfigurationRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDomainConfigurationRequest.h:376
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AuthorizerConfig
Definition: AuthorizerConfig.h:33
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AuthorizerConfig.h
Aws::IoT::Model::CreateDomainConfigurationRequest::WithTags
CreateDomainConfigurationRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDomainConfigurationRequest.h:367
Aws::IoT::Model::CreateDomainConfigurationRequest::CreateDomainConfigurationRequest
CreateDomainConfigurationRequest()
Aws::IoT::Model::CreateDomainConfigurationRequest::ServiceTypeHasBeenSet
bool ServiceTypeHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:293
Aws::IoT::Model::CreateDomainConfigurationRequest::DomainConfigurationNameHasBeenSet
bool DomainConfigurationNameHasBeenSet() const
Definition: CreateDomainConfigurationRequest.h:49
Aws::IoT::Model::CreateDomainConfigurationRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:101
IoTRequest.h
Aws::IoT::Model::CreateDomainConfigurationRequest::WithValidationCertificateArn
CreateDomainConfigurationRequest & WithValidationCertificateArn(const char *value)
Definition: CreateDomainConfigurationRequest.h:247
Aws::IoT::Model::CreateDomainConfigurationRequest::WithServerCertificateArns
CreateDomainConfigurationRequest & WithServerCertificateArns(Aws::Vector< Aws::String > &&value)
Definition: CreateDomainConfigurationRequest.h:169
Aws::IoT::Model::CreateDomainConfigurationRequest::SetValidationCertificateArn
void SetValidationCertificateArn(const char *value)
Definition: CreateDomainConfigurationRequest.h:226
Aws::IoT::Model::CreateDomainConfigurationRequest::AddServerCertificateArns
CreateDomainConfigurationRequest & AddServerCertificateArns(const Aws::String &value)
Definition: CreateDomainConfigurationRequest.h:176
Aws::IoT::Model::CreateDomainConfigurationRequest::GetValidationCertificateArn
const Aws::String & GetValidationCertificateArn() const
Definition: CreateDomainConfigurationRequest.h:198
Tag.h
Aws::IoT::Model::CreateDomainConfigurationRequest::WithAuthorizerConfig
CreateDomainConfigurationRequest & WithAuthorizerConfig(AuthorizerConfig &&value)
Definition: CreateDomainConfigurationRequest.h:278
Aws::IoT::Model::CreateDomainConfigurationRequest::SetDomainConfigurationName
void SetDomainConfigurationName(const char *value)
Definition: CreateDomainConfigurationRequest.h:67
IoT_EXPORTS.h
Aws::IoT::Model::CreateDomainConfigurationRequest::AddTags
CreateDomainConfigurationRequest & AddTags(const Tag &value)
Definition: CreateDomainConfigurationRequest.h:385