AWS SDK for C++  1.9.110
AWS SDK for C++
UpdateConfigurationProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace AppConfig
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationProfile"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 
45  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 
50  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
51 
55  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
56 
60  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
61 
65  inline UpdateConfigurationProfileRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
66 
70  inline UpdateConfigurationProfileRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
71 
75  inline UpdateConfigurationProfileRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
76 
77 
81  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
82 
86  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
87 
91  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
92 
96  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
97 
101  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
102 
106  inline UpdateConfigurationProfileRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
107 
111  inline UpdateConfigurationProfileRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
112 
116  inline UpdateConfigurationProfileRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
117 
118 
122  inline const Aws::String& GetName() const{ return m_name; }
123 
127  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
128 
132  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
133 
137  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
138 
142  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
143 
147  inline UpdateConfigurationProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
148 
152  inline UpdateConfigurationProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 
157  inline UpdateConfigurationProfileRequest& WithName(const char* value) { SetName(value); return *this;}
158 
159 
163  inline const Aws::String& GetDescription() const{ return m_description; }
164 
168  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
169 
173  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
174 
178  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
179 
183  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
184 
188  inline UpdateConfigurationProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
189 
193  inline UpdateConfigurationProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
194 
198  inline UpdateConfigurationProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
199 
200 
205  inline const Aws::String& GetRetrievalRoleArn() const{ return m_retrievalRoleArn; }
206 
211  inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; }
212 
217  inline void SetRetrievalRoleArn(const Aws::String& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = value; }
218 
223  inline void SetRetrievalRoleArn(Aws::String&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::move(value); }
224 
229  inline void SetRetrievalRoleArn(const char* value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn.assign(value); }
230 
235  inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(const Aws::String& value) { SetRetrievalRoleArn(value); return *this;}
236 
241  inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(Aws::String&& value) { SetRetrievalRoleArn(std::move(value)); return *this;}
242 
247  inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(const char* value) { SetRetrievalRoleArn(value); return *this;}
248 
249 
253  inline const Aws::Vector<Validator>& GetValidators() const{ return m_validators; }
254 
258  inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
259 
263  inline void SetValidators(const Aws::Vector<Validator>& value) { m_validatorsHasBeenSet = true; m_validators = value; }
264 
268  inline void SetValidators(Aws::Vector<Validator>&& value) { m_validatorsHasBeenSet = true; m_validators = std::move(value); }
269 
273  inline UpdateConfigurationProfileRequest& WithValidators(const Aws::Vector<Validator>& value) { SetValidators(value); return *this;}
274 
278  inline UpdateConfigurationProfileRequest& WithValidators(Aws::Vector<Validator>&& value) { SetValidators(std::move(value)); return *this;}
279 
283  inline UpdateConfigurationProfileRequest& AddValidators(const Validator& value) { m_validatorsHasBeenSet = true; m_validators.push_back(value); return *this; }
284 
288  inline UpdateConfigurationProfileRequest& AddValidators(Validator&& value) { m_validatorsHasBeenSet = true; m_validators.push_back(std::move(value)); return *this; }
289 
290  private:
291 
292  Aws::String m_applicationId;
293  bool m_applicationIdHasBeenSet;
294 
295  Aws::String m_configurationProfileId;
296  bool m_configurationProfileIdHasBeenSet;
297 
298  Aws::String m_name;
299  bool m_nameHasBeenSet;
300 
301  Aws::String m_description;
302  bool m_descriptionHasBeenSet;
303 
304  Aws::String m_retrievalRoleArn;
305  bool m_retrievalRoleArnHasBeenSet;
306 
307  Aws::Vector<Validator> m_validators;
308  bool m_validatorsHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace AppConfig
313 } // namespace Aws
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetName
const Aws::String & GetName() const
Definition: UpdateConfigurationProfileRequest.h:122
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithName
UpdateConfigurationProfileRequest & WithName(const char *value)
Definition: UpdateConfigurationProfileRequest.h:157
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationProfileRequest.h:32
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithName
UpdateConfigurationProfileRequest & WithName(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:152
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateConfigurationProfileRequest.h:168
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithConfigurationProfileId
UpdateConfigurationProfileRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:111
Aws::AppConfig::Model::Validator
Definition: Validator.h:37
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithValidators
UpdateConfigurationProfileRequest & WithValidators(const Aws::Vector< Validator > &value)
Definition: UpdateConfigurationProfileRequest.h:273
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithRetrievalRoleArn
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(const char *value)
Definition: UpdateConfigurationProfileRequest.h:247
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:50
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:173
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithApplicationId
UpdateConfigurationProfileRequest & WithApplicationId(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:70
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::ValidatorsHasBeenSet
bool ValidatorsHasBeenSet() const
Definition: UpdateConfigurationProfileRequest.h:258
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithConfigurationProfileId
UpdateConfigurationProfileRequest & WithConfigurationProfileId(const char *value)
Definition: UpdateConfigurationProfileRequest.h:116
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: UpdateConfigurationProfileRequest.h:101
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithValidators
UpdateConfigurationProfileRequest & WithValidators(Aws::Vector< Validator > &&value)
Definition: UpdateConfigurationProfileRequest.h:278
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateConfigurationProfileRequest.h:183
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithConfigurationProfileId
UpdateConfigurationProfileRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:106
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateConfigurationProfileRequest.h:163
AWSVector.h
AppConfig_EXPORTS.h
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:55
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithDescription
UpdateConfigurationProfileRequest & WithDescription(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:188
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::AddValidators
UpdateConfigurationProfileRequest & AddValidators(Validator &&value)
Definition: UpdateConfigurationProfileRequest.h:288
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: UpdateConfigurationProfileRequest.h:81
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetValidators
void SetValidators(const Aws::Vector< Validator > &value)
Definition: UpdateConfigurationProfileRequest.h:263
Aws::AppConfig::Model::UpdateConfigurationProfileRequest
Definition: UpdateConfigurationProfileRequest.h:24
AppConfigRequest.h
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithApplicationId
UpdateConfigurationProfileRequest & WithApplicationId(const char *value)
Definition: UpdateConfigurationProfileRequest.h:75
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: UpdateConfigurationProfileRequest.h:60
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetValidators
void SetValidators(Aws::Vector< Validator > &&value)
Definition: UpdateConfigurationProfileRequest.h:268
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateConfigurationProfileRequest.h:127
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:132
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithApplicationId
UpdateConfigurationProfileRequest & WithApplicationId(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:65
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:178
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetRetrievalRoleArn
void SetRetrievalRoleArn(const char *value)
Definition: UpdateConfigurationProfileRequest.h:229
AWSString.h
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: UpdateConfigurationProfileRequest.h:45
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: UpdateConfigurationProfileRequest.h:86
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:96
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::AddValidators
UpdateConfigurationProfileRequest & AddValidators(const Validator &value)
Definition: UpdateConfigurationProfileRequest.h:283
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithName
UpdateConfigurationProfileRequest & WithName(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:147
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetName
void SetName(const char *value)
Definition: UpdateConfigurationProfileRequest.h:142
Validator.h
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetRetrievalRoleArn
void SetRetrievalRoleArn(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:223
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetRetrievalRoleArn
const Aws::String & GetRetrievalRoleArn() const
Definition: UpdateConfigurationProfileRequest.h:205
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithDescription
UpdateConfigurationProfileRequest & WithDescription(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:193
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetValidators
const Aws::Vector< Validator > & GetValidators() const
Definition: UpdateConfigurationProfileRequest.h:253
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: UpdateConfigurationProfileRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithDescription
UpdateConfigurationProfileRequest & WithDescription(const char *value)
Definition: UpdateConfigurationProfileRequest.h:198
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:91
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::UpdateConfigurationProfileRequest::WithRetrievalRoleArn
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:241
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::RetrievalRoleArnHasBeenSet
bool RetrievalRoleArnHasBeenSet() const
Definition: UpdateConfigurationProfileRequest.h:211
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetRetrievalRoleArn
void SetRetrievalRoleArn(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:217
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::WithRetrievalRoleArn
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(const Aws::String &value)
Definition: UpdateConfigurationProfileRequest.h:235
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateConfigurationProfileRequest.h:137
Aws::AppConfig::Model::UpdateConfigurationProfileRequest::UpdateConfigurationProfileRequest
UpdateConfigurationProfileRequest()