AWS SDK for C++  1.9.110
AWS SDK for C++
CreateConfigurationProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace AppConfig
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationProfile"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 
46  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 
51  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
52 
56  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
57 
61  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
62 
66  inline CreateConfigurationProfileRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
67 
71  inline CreateConfigurationProfileRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
72 
76  inline CreateConfigurationProfileRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
77 
78 
82  inline const Aws::String& GetName() const{ return m_name; }
83 
87  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 
92  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 
97  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 
102  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
103 
107  inline CreateConfigurationProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
108 
112  inline CreateConfigurationProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 
117  inline CreateConfigurationProfileRequest& WithName(const char* value) { SetName(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline CreateConfigurationProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline CreateConfigurationProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline CreateConfigurationProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160 
172  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
173 
185  inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
186 
198  inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; }
199 
211  inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); }
212 
224  inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); }
225 
237  inline CreateConfigurationProfileRequest& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
238 
250  inline CreateConfigurationProfileRequest& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
251 
263  inline CreateConfigurationProfileRequest& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
264 
265 
270  inline const Aws::String& GetRetrievalRoleArn() const{ return m_retrievalRoleArn; }
271 
276  inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; }
277 
282  inline void SetRetrievalRoleArn(const Aws::String& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = value; }
283 
288  inline void SetRetrievalRoleArn(Aws::String&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::move(value); }
289 
294  inline void SetRetrievalRoleArn(const char* value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn.assign(value); }
295 
300  inline CreateConfigurationProfileRequest& WithRetrievalRoleArn(const Aws::String& value) { SetRetrievalRoleArn(value); return *this;}
301 
306  inline CreateConfigurationProfileRequest& WithRetrievalRoleArn(Aws::String&& value) { SetRetrievalRoleArn(std::move(value)); return *this;}
307 
312  inline CreateConfigurationProfileRequest& WithRetrievalRoleArn(const char* value) { SetRetrievalRoleArn(value); return *this;}
313 
314 
318  inline const Aws::Vector<Validator>& GetValidators() const{ return m_validators; }
319 
323  inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
324 
328  inline void SetValidators(const Aws::Vector<Validator>& value) { m_validatorsHasBeenSet = true; m_validators = value; }
329 
333  inline void SetValidators(Aws::Vector<Validator>&& value) { m_validatorsHasBeenSet = true; m_validators = std::move(value); }
334 
338  inline CreateConfigurationProfileRequest& WithValidators(const Aws::Vector<Validator>& value) { SetValidators(value); return *this;}
339 
343  inline CreateConfigurationProfileRequest& WithValidators(Aws::Vector<Validator>&& value) { SetValidators(std::move(value)); return *this;}
344 
348  inline CreateConfigurationProfileRequest& AddValidators(const Validator& value) { m_validatorsHasBeenSet = true; m_validators.push_back(value); return *this; }
349 
353  inline CreateConfigurationProfileRequest& AddValidators(Validator&& value) { m_validatorsHasBeenSet = true; m_validators.push_back(std::move(value)); return *this; }
354 
355 
361  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
362 
368  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
369 
375  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
376 
382  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
383 
389  inline CreateConfigurationProfileRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
390 
396  inline CreateConfigurationProfileRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
397 
403  inline CreateConfigurationProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
404 
410  inline CreateConfigurationProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
411 
417  inline CreateConfigurationProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
418 
424  inline CreateConfigurationProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
425 
431  inline CreateConfigurationProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
432 
438  inline CreateConfigurationProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
439 
445  inline CreateConfigurationProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
446 
447  private:
448 
449  Aws::String m_applicationId;
450  bool m_applicationIdHasBeenSet;
451 
452  Aws::String m_name;
453  bool m_nameHasBeenSet;
454 
455  Aws::String m_description;
456  bool m_descriptionHasBeenSet;
457 
458  Aws::String m_locationUri;
459  bool m_locationUriHasBeenSet;
460 
461  Aws::String m_retrievalRoleArn;
462  bool m_retrievalRoleArnHasBeenSet;
463 
464  Aws::Vector<Validator> m_validators;
465  bool m_validatorsHasBeenSet;
466 
468  bool m_tagsHasBeenSet;
469  };
470 
471 } // namespace Model
472 } // namespace AppConfig
473 } // namespace Aws
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetValidators
const Aws::Vector< Validator > & GetValidators() const
Definition: CreateConfigurationProfileRequest.h:318
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: CreateConfigurationProfileRequest.h:172
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithLocationUri
CreateConfigurationProfileRequest & WithLocationUri(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:250
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateConfigurationProfileRequest.h:123
Aws::AppConfig::Model::Validator
Definition: Validator.h:37
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:410
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateConfigurationProfileRequest.h:375
Aws::AppConfig::Model::CreateConfigurationProfileRequest::RetrievalRoleArnHasBeenSet
bool RetrievalRoleArnHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:276
Aws::AppConfig::Model::CreateConfigurationProfileRequest::CreateConfigurationProfileRequest
CreateConfigurationProfileRequest()
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithValidators
CreateConfigurationProfileRequest & WithValidators(const Aws::Vector< Validator > &value)
Definition: CreateConfigurationProfileRequest.h:338
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithRetrievalRoleArn
CreateConfigurationProfileRequest & WithRetrievalRoleArn(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:306
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:424
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetName
const Aws::String & GetName() const
Definition: CreateConfigurationProfileRequest.h:82
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(const char *key, const char *value)
Definition: CreateConfigurationProfileRequest.h:445
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithDescription
CreateConfigurationProfileRequest & WithDescription(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:148
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithTags
CreateConfigurationProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateConfigurationProfileRequest.h:396
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithTags
CreateConfigurationProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateConfigurationProfileRequest.h:389
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddValidators
CreateConfigurationProfileRequest & AddValidators(const Validator &value)
Definition: CreateConfigurationProfileRequest.h:348
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:211
Aws::AppConfig::Model::CreateConfigurationProfileRequest::ValidatorsHasBeenSet
bool ValidatorsHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:323
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:92
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetRetrievalRoleArn
void SetRetrievalRoleArn(const char *value)
Definition: CreateConfigurationProfileRequest.h:294
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithName
CreateConfigurationProfileRequest & WithName(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:107
AWSVector.h
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:51
AppConfig_EXPORTS.h
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetValidators
void SetValidators(Aws::Vector< Validator > &&value)
Definition: CreateConfigurationProfileRequest.h:333
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetRetrievalRoleArn
void SetRetrievalRoleArn(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:288
Aws::AppConfig::Model::CreateConfigurationProfileRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:128
Aws::AppConfig::Model::CreateConfigurationProfileRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:87
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:97
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: CreateConfigurationProfileRequest.h:61
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateConfigurationProfileRequest.h:382
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithDescription
CreateConfigurationProfileRequest & WithDescription(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:153
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateConfigurationProfileRequest.h:143
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetName
void SetName(const char *value)
Definition: CreateConfigurationProfileRequest.h:102
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetValidators
void SetValidators(const Aws::Vector< Validator > &value)
Definition: CreateConfigurationProfileRequest.h:328
AppConfigRequest.h
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithValidators
CreateConfigurationProfileRequest & WithValidators(Aws::Vector< Validator > &&value)
Definition: CreateConfigurationProfileRequest.h:343
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationProfileRequest.h:33
Aws::AppConfig::Model::CreateConfigurationProfileRequest::LocationUriHasBeenSet
bool LocationUriHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:185
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetRetrievalRoleArn
void SetRetrievalRoleArn(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:282
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithRetrievalRoleArn
CreateConfigurationProfileRequest & WithRetrievalRoleArn(const char *value)
Definition: CreateConfigurationProfileRequest.h:312
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:198
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithDescription
CreateConfigurationProfileRequest & WithDescription(const char *value)
Definition: CreateConfigurationProfileRequest.h:158
AWSString.h
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithName
CreateConfigurationProfileRequest & WithName(const char *value)
Definition: CreateConfigurationProfileRequest.h:117
Validator.h
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:56
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithRetrievalRoleArn
CreateConfigurationProfileRequest & WithRetrievalRoleArn(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:300
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:431
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateConfigurationProfileRequest.h:361
Aws::AppConfig::Model::CreateConfigurationProfileRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:46
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: CreateConfigurationProfileRequest.h:41
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:403
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:133
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetLocationUri
void SetLocationUri(const char *value)
Definition: CreateConfigurationProfileRequest.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::CreateConfigurationProfileRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateConfigurationProfileRequest.h:368
Aws::AppConfig::Model::CreateConfigurationProfileRequest::GetRetrievalRoleArn
const Aws::String & GetRetrievalRoleArn() const
Definition: CreateConfigurationProfileRequest.h:270
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithApplicationId
CreateConfigurationProfileRequest & WithApplicationId(const char *value)
Definition: CreateConfigurationProfileRequest.h:76
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithApplicationId
CreateConfigurationProfileRequest & WithApplicationId(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateConfigurationProfileRequest.h:438
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithLocationUri
CreateConfigurationProfileRequest & WithLocationUri(const char *value)
Definition: CreateConfigurationProfileRequest.h:263
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithLocationUri
CreateConfigurationProfileRequest & WithLocationUri(const Aws::String &value)
Definition: CreateConfigurationProfileRequest.h:237
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddTags
CreateConfigurationProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:417
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithApplicationId
CreateConfigurationProfileRequest & WithApplicationId(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:71
AWSMap.h
Aws::AppConfig::Model::CreateConfigurationProfileRequest::AddValidators
CreateConfigurationProfileRequest & AddValidators(Validator &&value)
Definition: CreateConfigurationProfileRequest.h:353
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::CreateConfigurationProfileRequest::WithName
CreateConfigurationProfileRequest & WithName(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:112
Aws::AppConfig::Model::CreateConfigurationProfileRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateConfigurationProfileRequest.h:138
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::AppConfig::Model::CreateConfigurationProfileRequest
Definition: CreateConfigurationProfileRequest.h:25