AWS SDK for C++  1.9.104
AWS SDK for C++
GetAttributeGroupResult.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 AppRegistry
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetId() const{ return m_id; }
41 
45  inline void SetId(const Aws::String& value) { m_id = value; }
46 
50  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
51 
55  inline void SetId(const char* value) { m_id.assign(value); }
56 
60  inline GetAttributeGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 
65  inline GetAttributeGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 
70  inline GetAttributeGroupResult& WithId(const char* value) { SetId(value); return *this;}
71 
72 
77  inline const Aws::String& GetArn() const{ return m_arn; }
78 
83  inline void SetArn(const Aws::String& value) { m_arn = value; }
84 
89  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
90 
95  inline void SetArn(const char* value) { m_arn.assign(value); }
96 
101  inline GetAttributeGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
102 
107  inline GetAttributeGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
108 
113  inline GetAttributeGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
114 
115 
119  inline const Aws::String& GetName() const{ return m_name; }
120 
124  inline void SetName(const Aws::String& value) { m_name = value; }
125 
129  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
130 
134  inline void SetName(const char* value) { m_name.assign(value); }
135 
139  inline GetAttributeGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
140 
144  inline GetAttributeGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
145 
149  inline GetAttributeGroupResult& WithName(const char* value) { SetName(value); return *this;}
150 
151 
155  inline const Aws::String& GetDescription() const{ return m_description; }
156 
160  inline void SetDescription(const Aws::String& value) { m_description = value; }
161 
165  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
166 
170  inline void SetDescription(const char* value) { m_description.assign(value); }
171 
175  inline GetAttributeGroupResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
176 
180  inline GetAttributeGroupResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
181 
185  inline GetAttributeGroupResult& WithDescription(const char* value) { SetDescription(value); return *this;}
186 
187 
192  inline const Aws::String& GetAttributes() const{ return m_attributes; }
193 
198  inline void SetAttributes(const Aws::String& value) { m_attributes = value; }
199 
204  inline void SetAttributes(Aws::String&& value) { m_attributes = std::move(value); }
205 
210  inline void SetAttributes(const char* value) { m_attributes.assign(value); }
211 
216  inline GetAttributeGroupResult& WithAttributes(const Aws::String& value) { SetAttributes(value); return *this;}
217 
222  inline GetAttributeGroupResult& WithAttributes(Aws::String&& value) { SetAttributes(std::move(value)); return *this;}
223 
228  inline GetAttributeGroupResult& WithAttributes(const char* value) { SetAttributes(value); return *this;}
229 
230 
235  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
236 
241  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
242 
247  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
248 
253  inline GetAttributeGroupResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
254 
259  inline GetAttributeGroupResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
260 
261 
267  inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
268 
274  inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; }
275 
281  inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); }
282 
288  inline GetAttributeGroupResult& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
289 
295  inline GetAttributeGroupResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
296 
297 
301  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
302 
306  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
307 
311  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
312 
316  inline GetAttributeGroupResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
317 
321  inline GetAttributeGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
322 
326  inline GetAttributeGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
327 
331  inline GetAttributeGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
332 
336  inline GetAttributeGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
337 
341  inline GetAttributeGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
342 
346  inline GetAttributeGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
347 
351  inline GetAttributeGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
352 
356  inline GetAttributeGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
357 
358  private:
359 
360  Aws::String m_id;
361 
362  Aws::String m_arn;
363 
364  Aws::String m_name;
365 
366  Aws::String m_description;
367 
368  Aws::String m_attributes;
369 
370  Aws::Utils::DateTime m_creationTime;
371 
372  Aws::Utils::DateTime m_lastUpdateTime;
373 
375  };
376 
377 } // namespace Model
378 } // namespace AppRegistry
379 } // namespace Aws
Aws::AppRegistry::Model::GetAttributeGroupResult::GetAttributes
const Aws::String & GetAttributes() const
Definition: GetAttributeGroupResult.h:192
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppRegistry::Model::GetAttributeGroupResult::SetLastUpdateTime
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: GetAttributeGroupResult.h:281
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::GetAttributeGroupResult::WithDescription
GetAttributeGroupResult & WithDescription(const Aws::String &value)
Definition: GetAttributeGroupResult.h:175
Aws::AppRegistry::Model::GetAttributeGroupResult::WithCreationTime
GetAttributeGroupResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: GetAttributeGroupResult.h:253
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::GetAttributeGroupResult::WithName
GetAttributeGroupResult & WithName(const char *value)
Definition: GetAttributeGroupResult.h:149
Aws::AppRegistry::Model::GetAttributeGroupResult::SetId
void SetId(Aws::String &&value)
Definition: GetAttributeGroupResult.h:50
Aws::AppRegistry::Model::GetAttributeGroupResult::WithId
GetAttributeGroupResult & WithId(Aws::String &&value)
Definition: GetAttributeGroupResult.h:65
Aws::AppRegistry::Model::GetAttributeGroupResult::WithId
GetAttributeGroupResult & WithId(const Aws::String &value)
Definition: GetAttributeGroupResult.h:60
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetAttributeGroupResult.h:341
DateTime.h
Aws::AppRegistry::Model::GetAttributeGroupResult::WithAttributes
GetAttributeGroupResult & WithAttributes(const Aws::String &value)
Definition: GetAttributeGroupResult.h:216
Aws::AppRegistry::Model::GetAttributeGroupResult::WithName
GetAttributeGroupResult & WithName(const Aws::String &value)
Definition: GetAttributeGroupResult.h:139
Aws::AppRegistry::Model::GetAttributeGroupResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetAttributeGroupResult.h:83
Aws::AppRegistry::Model::GetAttributeGroupResult::WithArn
GetAttributeGroupResult & WithArn(Aws::String &&value)
Definition: GetAttributeGroupResult.h:107
Aws::AppRegistry::Model::GetAttributeGroupResult::WithName
GetAttributeGroupResult & WithName(Aws::String &&value)
Definition: GetAttributeGroupResult.h:144
Aws::AppRegistry::Model::GetAttributeGroupResult::GetAttributeGroupResult
GetAttributeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::GetAttributeGroupResult::SetAttributes
void SetAttributes(Aws::String &&value)
Definition: GetAttributeGroupResult.h:204
Aws::AppRegistry::Model::GetAttributeGroupResult::WithId
GetAttributeGroupResult & WithId(const char *value)
Definition: GetAttributeGroupResult.h:70
Aws::AppRegistry::Model::GetAttributeGroupResult::WithLastUpdateTime
GetAttributeGroupResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: GetAttributeGroupResult.h:288
Aws::AppRegistry::Model::GetAttributeGroupResult::SetAttributes
void SetAttributes(const char *value)
Definition: GetAttributeGroupResult.h:210
Aws::AppRegistry::Model::GetAttributeGroupResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetAttributeGroupResult.h:89
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(const char *key, Aws::String &&value)
Definition: GetAttributeGroupResult.h:346
Aws::AppRegistry::Model::GetAttributeGroupResult::SetLastUpdateTime
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: GetAttributeGroupResult.h:274
Aws::AppRegistry::Model::GetAttributeGroupResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetAttributeGroupResult.h:301
Aws::AppRegistry::Model::GetAttributeGroupResult
Definition: GetAttributeGroupResult.h:30
Aws::AppRegistry::Model::GetAttributeGroupResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: GetAttributeGroupResult.h:235
Aws::AppRegistry::Model::GetAttributeGroupResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetAttributeGroupResult.h:155
Aws::AppRegistry::Model::GetAttributeGroupResult::SetName
void SetName(const Aws::String &value)
Definition: GetAttributeGroupResult.h:124
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetAttributeGroupResult.h:336
Aws::AppRegistry::Model::GetAttributeGroupResult::WithArn
GetAttributeGroupResult & WithArn(const Aws::String &value)
Definition: GetAttributeGroupResult.h:101
Aws::AppRegistry::Model::GetAttributeGroupResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: GetAttributeGroupResult.h:241
Aws::AppRegistry::Model::GetAttributeGroupResult::WithLastUpdateTime
GetAttributeGroupResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: GetAttributeGroupResult.h:295
Aws::AppRegistry::Model::GetAttributeGroupResult::SetArn
void SetArn(const char *value)
Definition: GetAttributeGroupResult.h:95
Aws::AppRegistry::Model::GetAttributeGroupResult::SetDescription
void SetDescription(const char *value)
Definition: GetAttributeGroupResult.h:170
Aws::AppRegistry::Model::GetAttributeGroupResult::SetName
void SetName(const char *value)
Definition: GetAttributeGroupResult.h:134
Aws::AppRegistry::Model::GetAttributeGroupResult::WithDescription
GetAttributeGroupResult & WithDescription(const char *value)
Definition: GetAttributeGroupResult.h:185
Aws::AppRegistry::Model::GetAttributeGroupResult::WithAttributes
GetAttributeGroupResult & WithAttributes(const char *value)
Definition: GetAttributeGroupResult.h:228
Aws::AppRegistry::Model::GetAttributeGroupResult::WithTags
GetAttributeGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetAttributeGroupResult.h:316
Aws::AppRegistry::Model::GetAttributeGroupResult::GetArn
const Aws::String & GetArn() const
Definition: GetAttributeGroupResult.h:77
Aws::AppRegistry::Model::GetAttributeGroupResult::GetAttributeGroupResult
GetAttributeGroupResult()
AWSString.h
Aws::AppRegistry::Model::GetAttributeGroupResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetAttributeGroupResult.h:306
Aws::AppRegistry::Model::GetAttributeGroupResult::WithAttributes
GetAttributeGroupResult & WithAttributes(Aws::String &&value)
Definition: GetAttributeGroupResult.h:222
Aws::AppRegistry::Model::GetAttributeGroupResult::WithCreationTime
GetAttributeGroupResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: GetAttributeGroupResult.h:259
Aws::AppRegistry::Model::GetAttributeGroupResult::SetId
void SetId(const char *value)
Definition: GetAttributeGroupResult.h:55
Aws::AppRegistry::Model::GetAttributeGroupResult::WithDescription
GetAttributeGroupResult & WithDescription(Aws::String &&value)
Definition: GetAttributeGroupResult.h:180
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetAttributeGroupResult.h:326
Aws::AppRegistry::Model::GetAttributeGroupResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: GetAttributeGroupResult.h:247
Aws::AppRegistry::Model::GetAttributeGroupResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetAttributeGroupResult.h:165
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(Aws::String &&key, const char *value)
Definition: GetAttributeGroupResult.h:351
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetAttributeGroupResult.h:331
Aws::AppRegistry::Model::GetAttributeGroupResult::WithTags
GetAttributeGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetAttributeGroupResult.h:321
Aws::AppRegistry::Model::GetAttributeGroupResult::GetId
const Aws::String & GetId() const
Definition: GetAttributeGroupResult.h:40
Aws::AppRegistry::Model::GetAttributeGroupResult::SetName
void SetName(Aws::String &&value)
Definition: GetAttributeGroupResult.h:129
Aws::AppRegistry::Model::GetAttributeGroupResult::GetLastUpdateTime
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition: GetAttributeGroupResult.h:267
Aws::AppRegistry::Model::GetAttributeGroupResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetAttributeGroupResult.h:311
Aws::AppRegistry::Model::GetAttributeGroupResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetAttributeGroupResult.h:160
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::GetAttributeGroupResult::SetAttributes
void SetAttributes(const Aws::String &value)
Definition: GetAttributeGroupResult.h:198
Aws::AppRegistry::Model::GetAttributeGroupResult::SetId
void SetId(const Aws::String &value)
Definition: GetAttributeGroupResult.h:45
Aws::AppRegistry::Model::GetAttributeGroupResult::operator=
GetAttributeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::GetAttributeGroupResult::WithArn
GetAttributeGroupResult & WithArn(const char *value)
Definition: GetAttributeGroupResult.h:113
AWSMap.h
Aws::AppRegistry::Model::GetAttributeGroupResult::AddTags
GetAttributeGroupResult & AddTags(const char *key, const char *value)
Definition: GetAttributeGroupResult.h:356
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::GetAttributeGroupResult::GetName
const Aws::String & GetName() const
Definition: GetAttributeGroupResult.h:119