AWS SDK for C++  1.9.110
AWS SDK for C++
CreateConfigurationProfileResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace AppConfig
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 
45  inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
46 
50  inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
51 
55  inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
56 
60  inline CreateConfigurationProfileResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
61 
65  inline CreateConfigurationProfileResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
66 
70  inline CreateConfigurationProfileResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
71 
72 
76  inline const Aws::String& GetId() const{ return m_id; }
77 
81  inline void SetId(const Aws::String& value) { m_id = value; }
82 
86  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
87 
91  inline void SetId(const char* value) { m_id.assign(value); }
92 
96  inline CreateConfigurationProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;}
97 
101  inline CreateConfigurationProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
102 
106  inline CreateConfigurationProfileResult& WithId(const char* value) { SetId(value); return *this;}
107 
108 
112  inline const Aws::String& GetName() const{ return m_name; }
113 
117  inline void SetName(const Aws::String& value) { m_name = value; }
118 
122  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
123 
127  inline void SetName(const char* value) { m_name.assign(value); }
128 
132  inline CreateConfigurationProfileResult& WithName(const Aws::String& value) { SetName(value); return *this;}
133 
137  inline CreateConfigurationProfileResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
138 
142  inline CreateConfigurationProfileResult& WithName(const char* value) { SetName(value); return *this;}
143 
144 
148  inline const Aws::String& GetDescription() const{ return m_description; }
149 
153  inline void SetDescription(const Aws::String& value) { m_description = value; }
154 
158  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
159 
163  inline void SetDescription(const char* value) { m_description.assign(value); }
164 
168  inline CreateConfigurationProfileResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
169 
173  inline CreateConfigurationProfileResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
174 
178  inline CreateConfigurationProfileResult& WithDescription(const char* value) { SetDescription(value); return *this;}
179 
180 
184  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
185 
189  inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
190 
194  inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
195 
199  inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
200 
204  inline CreateConfigurationProfileResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
205 
209  inline CreateConfigurationProfileResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
210 
214  inline CreateConfigurationProfileResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
215 
216 
221  inline const Aws::String& GetRetrievalRoleArn() const{ return m_retrievalRoleArn; }
222 
227  inline void SetRetrievalRoleArn(const Aws::String& value) { m_retrievalRoleArn = value; }
228 
233  inline void SetRetrievalRoleArn(Aws::String&& value) { m_retrievalRoleArn = std::move(value); }
234 
239  inline void SetRetrievalRoleArn(const char* value) { m_retrievalRoleArn.assign(value); }
240 
245  inline CreateConfigurationProfileResult& WithRetrievalRoleArn(const Aws::String& value) { SetRetrievalRoleArn(value); return *this;}
246 
251  inline CreateConfigurationProfileResult& WithRetrievalRoleArn(Aws::String&& value) { SetRetrievalRoleArn(std::move(value)); return *this;}
252 
257  inline CreateConfigurationProfileResult& WithRetrievalRoleArn(const char* value) { SetRetrievalRoleArn(value); return *this;}
258 
259 
263  inline const Aws::Vector<Validator>& GetValidators() const{ return m_validators; }
264 
268  inline void SetValidators(const Aws::Vector<Validator>& value) { m_validators = value; }
269 
273  inline void SetValidators(Aws::Vector<Validator>&& value) { m_validators = std::move(value); }
274 
278  inline CreateConfigurationProfileResult& WithValidators(const Aws::Vector<Validator>& value) { SetValidators(value); return *this;}
279 
283  inline CreateConfigurationProfileResult& WithValidators(Aws::Vector<Validator>&& value) { SetValidators(std::move(value)); return *this;}
284 
288  inline CreateConfigurationProfileResult& AddValidators(const Validator& value) { m_validators.push_back(value); return *this; }
289 
293  inline CreateConfigurationProfileResult& AddValidators(Validator&& value) { m_validators.push_back(std::move(value)); return *this; }
294 
295  private:
296 
297  Aws::String m_applicationId;
298 
299  Aws::String m_id;
300 
301  Aws::String m_name;
302 
303  Aws::String m_description;
304 
305  Aws::String m_locationUri;
306 
307  Aws::String m_retrievalRoleArn;
308 
309  Aws::Vector<Validator> m_validators;
310  };
311 
312 } // namespace Model
313 } // namespace AppConfig
314 } // namespace Aws
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:50
Aws::AppConfig::Model::CreateConfigurationProfileResult::AddValidators
CreateConfigurationProfileResult & AddValidators(Validator &&value)
Definition: CreateConfigurationProfileResult.h:293
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetRetrievalRoleArn
const Aws::String & GetRetrievalRoleArn() const
Definition: CreateConfigurationProfileResult.h:221
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithApplicationId
CreateConfigurationProfileResult & WithApplicationId(const char *value)
Definition: CreateConfigurationProfileResult.h:70
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithName
CreateConfigurationProfileResult & WithName(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:137
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:45
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithDescription
CreateConfigurationProfileResult & WithDescription(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:168
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetValidators
void SetValidators(Aws::Vector< Validator > &&value)
Definition: CreateConfigurationProfileResult.h:273
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithDescription
CreateConfigurationProfileResult & WithDescription(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:173
Aws::AppConfig::Model::Validator
Definition: Validator.h:37
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetDescription
const Aws::String & GetDescription() const
Definition: CreateConfigurationProfileResult.h:148
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetValidators
void SetValidators(const Aws::Vector< Validator > &value)
Definition: CreateConfigurationProfileResult.h:268
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithLocationUri
CreateConfigurationProfileResult & WithLocationUri(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:209
Aws::AppConfig::Model::CreateConfigurationProfileResult::CreateConfigurationProfileResult
CreateConfigurationProfileResult()
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithLocationUri
CreateConfigurationProfileResult & WithLocationUri(const char *value)
Definition: CreateConfigurationProfileResult.h:214
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:189
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:194
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: CreateConfigurationProfileResult.h:184
AWSVector.h
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetId
void SetId(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:86
AppConfig_EXPORTS.h
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithValidators
CreateConfigurationProfileResult & WithValidators(Aws::Vector< Validator > &&value)
Definition: CreateConfigurationProfileResult.h:283
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:158
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetDescription
void SetDescription(const char *value)
Definition: CreateConfigurationProfileResult.h:163
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithId
CreateConfigurationProfileResult & WithId(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:101
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithApplicationId
CreateConfigurationProfileResult & WithApplicationId(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:65
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithLocationUri
CreateConfigurationProfileResult & WithLocationUri(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:204
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetId
void SetId(const char *value)
Definition: CreateConfigurationProfileResult.h:91
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetValidators
const Aws::Vector< Validator > & GetValidators() const
Definition: CreateConfigurationProfileResult.h:263
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetRetrievalRoleArn
void SetRetrievalRoleArn(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:227
AWSString.h
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithName
CreateConfigurationProfileResult & WithName(const char *value)
Definition: CreateConfigurationProfileResult.h:142
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetId
const Aws::String & GetId() const
Definition: CreateConfigurationProfileResult.h:76
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetName
const Aws::String & GetName() const
Definition: CreateConfigurationProfileResult.h:112
Aws::AppConfig::Model::CreateConfigurationProfileResult::operator=
CreateConfigurationProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Validator.h
Aws::AppConfig::Model::CreateConfigurationProfileResult::CreateConfigurationProfileResult
CreateConfigurationProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppConfig::Model::CreateConfigurationProfileResult::AddValidators
CreateConfigurationProfileResult & AddValidators(const Validator &value)
Definition: CreateConfigurationProfileResult.h:288
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetId
void SetId(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:81
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetName
void SetName(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:117
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:153
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithRetrievalRoleArn
CreateConfigurationProfileResult & WithRetrievalRoleArn(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:251
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithId
CreateConfigurationProfileResult & WithId(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:96
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetApplicationId
void SetApplicationId(const char *value)
Definition: CreateConfigurationProfileResult.h:55
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetLocationUri
void SetLocationUri(const char *value)
Definition: CreateConfigurationProfileResult.h:199
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithId
CreateConfigurationProfileResult & WithId(const char *value)
Definition: CreateConfigurationProfileResult.h:106
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithName
CreateConfigurationProfileResult & WithName(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:132
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithRetrievalRoleArn
CreateConfigurationProfileResult & WithRetrievalRoleArn(const char *value)
Definition: CreateConfigurationProfileResult.h:257
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithApplicationId
CreateConfigurationProfileResult & WithApplicationId(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:60
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetName
void SetName(const char *value)
Definition: CreateConfigurationProfileResult.h:127
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::CreateConfigurationProfileResult::WithRetrievalRoleArn
CreateConfigurationProfileResult & WithRetrievalRoleArn(const Aws::String &value)
Definition: CreateConfigurationProfileResult.h:245
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetRetrievalRoleArn
void SetRetrievalRoleArn(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:233
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetName
void SetName(Aws::String &&value)
Definition: CreateConfigurationProfileResult.h:122
Aws::AppConfig::Model::CreateConfigurationProfileResult
Definition: CreateConfigurationProfileResult.h:30
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithDescription
CreateConfigurationProfileResult & WithDescription(const char *value)
Definition: CreateConfigurationProfileResult.h:178
Aws::AppConfig::Model::CreateConfigurationProfileResult::WithValidators
CreateConfigurationProfileResult & WithValidators(const Aws::Vector< Validator > &value)
Definition: CreateConfigurationProfileResult.h:278
Aws::AppConfig::Model::CreateConfigurationProfileResult::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: CreateConfigurationProfileResult.h:40
Aws::AppConfig::Model::CreateConfigurationProfileResult::SetRetrievalRoleArn
void SetRetrievalRoleArn(const char *value)
Definition: CreateConfigurationProfileResult.h:239