AWS SDK for C++  1.9.104
AWS SDK for C++
AttributeGroup.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 AppRegistry
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
52  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 
57  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 
62  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 
67  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 
72  inline AttributeGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline AttributeGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline AttributeGroup& WithId(const char* value) { SetId(value); return *this;}
83 
84 
89  inline const Aws::String& GetArn() const{ return m_arn; }
90 
95  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
96 
101  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
102 
107  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
108 
113  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
114 
119  inline AttributeGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
120 
125  inline AttributeGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
126 
131  inline AttributeGroup& WithArn(const char* value) { SetArn(value); return *this;}
132 
133 
137  inline const Aws::String& GetName() const{ return m_name; }
138 
142  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
143 
147  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
148 
152  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
153 
157  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
158 
162  inline AttributeGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
163 
167  inline AttributeGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
168 
172  inline AttributeGroup& WithName(const char* value) { SetName(value); return *this;}
173 
174 
178  inline const Aws::String& GetDescription() const{ return m_description; }
179 
183  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
184 
188  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
189 
193  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
194 
198  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
199 
203  inline AttributeGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
204 
208  inline AttributeGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
209 
213  inline AttributeGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
214 
215 
220  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
221 
226  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
227 
232  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
233 
238  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
239 
244  inline AttributeGroup& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
245 
250  inline AttributeGroup& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
251 
252 
258  inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
259 
265  inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
266 
272  inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
273 
279  inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
280 
286  inline AttributeGroup& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
287 
293  inline AttributeGroup& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
294 
295 
299  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
300 
304  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
305 
309  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
310 
314  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
315 
319  inline AttributeGroup& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
320 
324  inline AttributeGroup& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
325 
329  inline AttributeGroup& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
330 
334  inline AttributeGroup& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
335 
339  inline AttributeGroup& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
340 
344  inline AttributeGroup& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
345 
349  inline AttributeGroup& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
350 
354  inline AttributeGroup& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
355 
359  inline AttributeGroup& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
360 
361  private:
362 
363  Aws::String m_id;
364  bool m_idHasBeenSet;
365 
366  Aws::String m_arn;
367  bool m_arnHasBeenSet;
368 
369  Aws::String m_name;
370  bool m_nameHasBeenSet;
371 
372  Aws::String m_description;
373  bool m_descriptionHasBeenSet;
374 
375  Aws::Utils::DateTime m_creationTime;
376  bool m_creationTimeHasBeenSet;
377 
378  Aws::Utils::DateTime m_lastUpdateTime;
379  bool m_lastUpdateTimeHasBeenSet;
380 
382  bool m_tagsHasBeenSet;
383  };
384 
385 } // namespace Model
386 } // namespace AppRegistry
387 } // namespace Aws
Aws::AppRegistry::Model::AttributeGroup::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: AttributeGroup.h:299
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppRegistry::Model::AttributeGroup::SetId
void SetId(const char *value)
Definition: AttributeGroup.h:67
Aws::AppRegistry::Model::AttributeGroup::GetArn
const Aws::String & GetArn() const
Definition: AttributeGroup.h:89
Aws::AppRegistry::Model::AttributeGroup::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AttributeGroup.h:183
Aws::AppRegistry::Model::AttributeGroup::operator=
AttributeGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppRegistry::Model::AttributeGroup::WithArn
AttributeGroup & WithArn(Aws::String &&value)
Definition: AttributeGroup.h:125
Aws::AppRegistry::Model::AttributeGroup::SetArn
void SetArn(const char *value)
Definition: AttributeGroup.h:113
Aws::AppRegistry::Model::AttributeGroup::WithDescription
AttributeGroup & WithDescription(const Aws::String &value)
Definition: AttributeGroup.h:203
Aws::AppRegistry::Model::AttributeGroup::WithDescription
AttributeGroup & WithDescription(Aws::String &&value)
Definition: AttributeGroup.h:208
Aws::AppRegistry::Model::AttributeGroup::WithLastUpdateTime
AttributeGroup & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: AttributeGroup.h:286
Aws::AppRegistry::Model::AttributeGroup::WithName
AttributeGroup & WithName(const char *value)
Definition: AttributeGroup.h:172
Aws::AppRegistry::Model::AttributeGroup::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: AttributeGroup.h:232
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::AttributeGroup::AttributeGroup
AttributeGroup()
Aws::AppRegistry::Model::AttributeGroup::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AttributeGroup.h:314
Aws::AppRegistry::Model::AttributeGroup::SetLastUpdateTime
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: AttributeGroup.h:279
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(Aws::String &&key, const Aws::String &value)
Definition: AttributeGroup.h:334
DateTime.h
Aws::AppRegistry::Model::AttributeGroup::WithCreationTime
AttributeGroup & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: AttributeGroup.h:244
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(Aws::String &&key, const char *value)
Definition: AttributeGroup.h:354
Aws::AppRegistry::Model::AttributeGroup::WithName
AttributeGroup & WithName(const Aws::String &value)
Definition: AttributeGroup.h:162
Aws::AppRegistry::Model::AttributeGroup::GetName
const Aws::String & GetName() const
Definition: AttributeGroup.h:137
Aws::AppRegistry::Model::AttributeGroup::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: AttributeGroup.h:220
Aws::AppRegistry::Model::AttributeGroup::WithArn
AttributeGroup & WithArn(const char *value)
Definition: AttributeGroup.h:131
Aws::AppRegistry::Model::AttributeGroup::SetDescription
void SetDescription(const char *value)
Definition: AttributeGroup.h:198
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(const char *key, Aws::String &&value)
Definition: AttributeGroup.h:349
Aws::AppRegistry::Model::AttributeGroup::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: AttributeGroup.h:238
Aws::AppRegistry::Model::AttributeGroup::SetName
void SetName(Aws::String &&value)
Definition: AttributeGroup.h:152
Aws::AppRegistry::Model::AttributeGroup::SetName
void SetName(const Aws::String &value)
Definition: AttributeGroup.h:147
Aws::AppRegistry::Model::AttributeGroup::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: AttributeGroup.h:304
Aws::AppRegistry::Model::AttributeGroup::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AttributeGroup.h:309
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(const Aws::String &key, const Aws::String &value)
Definition: AttributeGroup.h:329
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(const char *key, const char *value)
Definition: AttributeGroup.h:359
Aws::AppRegistry::Model::AttributeGroup::SetId
void SetId(Aws::String &&value)
Definition: AttributeGroup.h:62
Aws::AppRegistry::Model::AttributeGroup::SetId
void SetId(const Aws::String &value)
Definition: AttributeGroup.h:57
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(Aws::String &&key, Aws::String &&value)
Definition: AttributeGroup.h:344
Aws::AppRegistry::Model::AttributeGroup::WithId
AttributeGroup & WithId(Aws::String &&value)
Definition: AttributeGroup.h:77
Aws::AppRegistry::Model::AttributeGroup::AddTags
AttributeGroup & AddTags(const Aws::String &key, Aws::String &&value)
Definition: AttributeGroup.h:339
Aws::AppRegistry::Model::AttributeGroup::LastUpdateTimeHasBeenSet
bool LastUpdateTimeHasBeenSet() const
Definition: AttributeGroup.h:265
Aws::AppRegistry::Model::AttributeGroup::WithDescription
AttributeGroup & WithDescription(const char *value)
Definition: AttributeGroup.h:213
Aws::AppRegistry::Model::AttributeGroup::WithTags
AttributeGroup & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: AttributeGroup.h:319
Aws::AppRegistry::Model::AttributeGroup::GetDescription
const Aws::String & GetDescription() const
Definition: AttributeGroup.h:178
Aws::AppRegistry::Model::AttributeGroup::SetDescription
void SetDescription(Aws::String &&value)
Definition: AttributeGroup.h:193
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppRegistry::Model::AttributeGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppRegistry::Model::AttributeGroup::WithLastUpdateTime
AttributeGroup & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: AttributeGroup.h:293
Aws::AppRegistry::Model::AttributeGroup::SetLastUpdateTime
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: AttributeGroup.h:272
Aws::AppRegistry::Model::AttributeGroup::SetArn
void SetArn(Aws::String &&value)
Definition: AttributeGroup.h:107
Aws::AppRegistry::Model::AttributeGroup::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: AttributeGroup.h:95
Aws::AppRegistry::Model::AttributeGroup::SetDescription
void SetDescription(const Aws::String &value)
Definition: AttributeGroup.h:188
Aws::AppRegistry::Model::AttributeGroup::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AttributeGroup.h:52
Aws::AppRegistry::Model::AttributeGroup::GetLastUpdateTime
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition: AttributeGroup.h:258
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::AttributeGroup::AttributeGroup
AttributeGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::AppRegistry::Model::AttributeGroup::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AttributeGroup.h:142
Aws::AppRegistry::Model::AttributeGroup::SetName
void SetName(const char *value)
Definition: AttributeGroup.h:157
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::AttributeGroup::SetArn
void SetArn(const Aws::String &value)
Definition: AttributeGroup.h:101
Aws::AppRegistry::Model::AttributeGroup::WithId
AttributeGroup & WithId(const char *value)
Definition: AttributeGroup.h:82
Aws::AppRegistry::Model::AttributeGroup
Definition: AttributeGroup.h:36
Aws::AppRegistry::Model::AttributeGroup::WithTags
AttributeGroup & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: AttributeGroup.h:324
Aws::AppRegistry::Model::AttributeGroup::GetId
const Aws::String & GetId() const
Definition: AttributeGroup.h:47
Aws::AppRegistry::Model::AttributeGroup::WithCreationTime
AttributeGroup & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: AttributeGroup.h:250
Aws::AppRegistry::Model::AttributeGroup::WithId
AttributeGroup & WithId(const Aws::String &value)
Definition: AttributeGroup.h:72
AWSMap.h
Aws::AppRegistry::Model::AttributeGroup::WithArn
AttributeGroup & WithArn(const Aws::String &value)
Definition: AttributeGroup.h:119
AppRegistry_EXPORTS.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::AppRegistry::Model::AttributeGroup::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: AttributeGroup.h:226
Aws::AppRegistry::Model::AttributeGroup::WithName
AttributeGroup & WithName(Aws::String &&value)
Definition: AttributeGroup.h:167