AWS SDK for C++  1.9.110
AWS SDK for C++
ConfigurationProfileSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppConfig
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 
50  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
51 
55  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
56 
60  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
61 
65  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
66 
70  inline ConfigurationProfileSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
71 
75  inline ConfigurationProfileSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
76 
80  inline ConfigurationProfileSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
81 
82 
86  inline const Aws::String& GetId() const{ return m_id; }
87 
91  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
92 
96  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
97 
101  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
102 
106  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
107 
111  inline ConfigurationProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
112 
116  inline ConfigurationProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
117 
121  inline ConfigurationProfileSummary& WithId(const char* value) { SetId(value); return *this;}
122 
123 
127  inline const Aws::String& GetName() const{ return m_name; }
128 
132  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 
137  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
138 
142  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 
147  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
148 
152  inline ConfigurationProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
153 
157  inline ConfigurationProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 
162  inline ConfigurationProfileSummary& WithName(const char* value) { SetName(value); return *this;}
163 
164 
168  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
169 
173  inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
174 
178  inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; }
179 
183  inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); }
184 
188  inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); }
189 
193  inline ConfigurationProfileSummary& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
194 
198  inline ConfigurationProfileSummary& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
199 
203  inline ConfigurationProfileSummary& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
204 
205 
209  inline const Aws::Vector<ValidatorType>& GetValidatorTypes() const{ return m_validatorTypes; }
210 
214  inline bool ValidatorTypesHasBeenSet() const { return m_validatorTypesHasBeenSet; }
215 
219  inline void SetValidatorTypes(const Aws::Vector<ValidatorType>& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes = value; }
220 
224  inline void SetValidatorTypes(Aws::Vector<ValidatorType>&& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes = std::move(value); }
225 
229  inline ConfigurationProfileSummary& WithValidatorTypes(const Aws::Vector<ValidatorType>& value) { SetValidatorTypes(value); return *this;}
230 
234  inline ConfigurationProfileSummary& WithValidatorTypes(Aws::Vector<ValidatorType>&& value) { SetValidatorTypes(std::move(value)); return *this;}
235 
239  inline ConfigurationProfileSummary& AddValidatorTypes(const ValidatorType& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes.push_back(value); return *this; }
240 
244  inline ConfigurationProfileSummary& AddValidatorTypes(ValidatorType&& value) { m_validatorTypesHasBeenSet = true; m_validatorTypes.push_back(std::move(value)); return *this; }
245 
246  private:
247 
248  Aws::String m_applicationId;
249  bool m_applicationIdHasBeenSet;
250 
251  Aws::String m_id;
252  bool m_idHasBeenSet;
253 
254  Aws::String m_name;
255  bool m_nameHasBeenSet;
256 
257  Aws::String m_locationUri;
258  bool m_locationUriHasBeenSet;
259 
260  Aws::Vector<ValidatorType> m_validatorTypes;
261  bool m_validatorTypesHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace AppConfig
266 } // namespace Aws
Aws::AppConfig::Model::ConfigurationProfileSummary::WithName
ConfigurationProfileSummary & WithName(const char *value)
Definition: ConfigurationProfileSummary.h:162
Aws::AppConfig::Model::ConfigurationProfileSummary::SetName
void SetName(const char *value)
Definition: ConfigurationProfileSummary.h:147
Aws::AppConfig::Model::ConfigurationProfileSummary::WithApplicationId
ConfigurationProfileSummary & WithApplicationId(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:70
Aws::AppConfig::Model::ConfigurationProfileSummary::SetName
void SetName(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:142
Aws::AppConfig::Model::ConfigurationProfileSummary::SetId
void SetId(const char *value)
Definition: ConfigurationProfileSummary.h:106
Aws::AppConfig::Model::ConfigurationProfileSummary::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:178
Aws::AppConfig::Model::ConfigurationProfileSummary::ConfigurationProfileSummary
ConfigurationProfileSummary()
Aws::AppConfig::Model::ConfigurationProfileSummary::WithName
ConfigurationProfileSummary & WithName(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:152
Aws::AppConfig::Model::ConfigurationProfileSummary::WithLocationUri
ConfigurationProfileSummary & WithLocationUri(const char *value)
Definition: ConfigurationProfileSummary.h:203
Aws::AppConfig::Model::ConfigurationProfileSummary::WithId
ConfigurationProfileSummary & WithId(const char *value)
Definition: ConfigurationProfileSummary.h:121
Aws::AppConfig::Model::ConfigurationProfileSummary::AddValidatorTypes
ConfigurationProfileSummary & AddValidatorTypes(ValidatorType &&value)
Definition: ConfigurationProfileSummary.h:244
Aws::AppConfig::Model::ConfigurationProfileSummary::SetValidatorTypes
void SetValidatorTypes(const Aws::Vector< ValidatorType > &value)
Definition: ConfigurationProfileSummary.h:219
Aws::AppConfig::Model::ConfigurationProfileSummary::WithId
ConfigurationProfileSummary & WithId(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:116
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppConfig::Model::ConfigurationProfileSummary::WithApplicationId
ConfigurationProfileSummary & WithApplicationId(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:75
Aws::AppConfig::Model::ConfigurationProfileSummary::SetName
void SetName(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:137
Aws::AppConfig::Model::ConfigurationProfileSummary::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:183
Aws::AppConfig::Model::ConfigurationProfileSummary::WithValidatorTypes
ConfigurationProfileSummary & WithValidatorTypes(Aws::Vector< ValidatorType > &&value)
Definition: ConfigurationProfileSummary.h:234
AWSVector.h
AppConfig_EXPORTS.h
Aws::AppConfig::Model::ConfigurationProfileSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ConfigurationProfileSummary.h:132
Aws::AppConfig::Model::ConfigurationProfileSummary::ValidatorTypesHasBeenSet
bool ValidatorTypesHasBeenSet() const
Definition: ConfigurationProfileSummary.h:214
ValidatorType.h
Aws::AppConfig::Model::ConfigurationProfileSummary::ConfigurationProfileSummary
ConfigurationProfileSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::ConfigurationProfileSummary::SetValidatorTypes
void SetValidatorTypes(Aws::Vector< ValidatorType > &&value)
Definition: ConfigurationProfileSummary.h:224
Aws::AppConfig::Model::ConfigurationProfileSummary::SetApplicationId
void SetApplicationId(const char *value)
Definition: ConfigurationProfileSummary.h:65
Aws::AppConfig::Model::ConfigurationProfileSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ConfigurationProfileSummary.h:91
Aws::AppConfig::Model::ConfigurationProfileSummary::WithLocationUri
ConfigurationProfileSummary & WithLocationUri(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:193
Aws::AppConfig::Model::ConfigurationProfileSummary::LocationUriHasBeenSet
bool LocationUriHasBeenSet() const
Definition: ConfigurationProfileSummary.h:173
Aws::AppConfig::Model::ConfigurationProfileSummary::GetId
const Aws::String & GetId() const
Definition: ConfigurationProfileSummary.h:86
Aws::AppConfig::Model::ConfigurationProfileSummary::WithValidatorTypes
ConfigurationProfileSummary & WithValidatorTypes(const Aws::Vector< ValidatorType > &value)
Definition: ConfigurationProfileSummary.h:229
Aws::AppConfig::Model::ConfigurationProfileSummary::SetId
void SetId(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:96
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::ConfigurationProfileSummary::WithName
ConfigurationProfileSummary & WithName(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:157
Aws::AppConfig::Model::ConfigurationProfileSummary::SetId
void SetId(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:101
Aws::AppConfig::Model::ConfigurationProfileSummary::AddValidatorTypes
ConfigurationProfileSummary & AddValidatorTypes(const ValidatorType &value)
Definition: ConfigurationProfileSummary.h:239
Aws::AppConfig::Model::ConfigurationProfileSummary
Definition: ConfigurationProfileSummary.h:34
Aws::AppConfig::Model::ConfigurationProfileSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppConfig::Model::ConfigurationProfileSummary::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:55
Aws::AppConfig::Model::ConfigurationProfileSummary::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::ConfigurationProfileSummary::SetLocationUri
void SetLocationUri(const char *value)
Definition: ConfigurationProfileSummary.h:188
Aws::AppConfig::Model::ConfigurationProfileSummary::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: ConfigurationProfileSummary.h:45
Aws::AppConfig::Model::ConfigurationProfileSummary::GetName
const Aws::String & GetName() const
Definition: ConfigurationProfileSummary.h:127
Aws::AppConfig::Model::ConfigurationProfileSummary::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: ConfigurationProfileSummary.h:50
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::ConfigurationProfileSummary::operator=
ConfigurationProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::ConfigurationProfileSummary::WithLocationUri
ConfigurationProfileSummary & WithLocationUri(Aws::String &&value)
Definition: ConfigurationProfileSummary.h:198
Aws::AppConfig::Model::ValidatorType
ValidatorType
Definition: ValidatorType.h:17
Aws::AppConfig::Model::ConfigurationProfileSummary::WithId
ConfigurationProfileSummary & WithId(const Aws::String &value)
Definition: ConfigurationProfileSummary.h:111
Aws::AppConfig::Model::ConfigurationProfileSummary::WithApplicationId
ConfigurationProfileSummary & WithApplicationId(const char *value)
Definition: ConfigurationProfileSummary.h:80
Aws::AppConfig::Model::ConfigurationProfileSummary::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: ConfigurationProfileSummary.h:168
Aws::AppConfig::Model::ConfigurationProfileSummary::GetValidatorTypes
const Aws::Vector< ValidatorType > & GetValidatorTypes() const
Definition: ConfigurationProfileSummary.h:209