AWS SDK for C++  1.9.104
AWS SDK for C++
GetApplicationResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace AppRegistry
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
46  inline void SetId(const Aws::String& value) { m_id = value; }
47 
51  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
52 
56  inline void SetId(const char* value) { m_id.assign(value); }
57 
61  inline GetApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
62 
66  inline GetApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 
71  inline GetApplicationResult& WithId(const char* value) { SetId(value); return *this;}
72 
73 
78  inline const Aws::String& GetArn() const{ return m_arn; }
79 
84  inline void SetArn(const Aws::String& value) { m_arn = value; }
85 
90  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
91 
96  inline void SetArn(const char* value) { m_arn.assign(value); }
97 
102  inline GetApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
103 
108  inline GetApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
109 
114  inline GetApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
115 
116 
121  inline const Aws::String& GetName() const{ return m_name; }
122 
127  inline void SetName(const Aws::String& value) { m_name = value; }
128 
133  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
134 
139  inline void SetName(const char* value) { m_name.assign(value); }
140 
145  inline GetApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
146 
151  inline GetApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
152 
157  inline GetApplicationResult& WithName(const char* value) { SetName(value); return *this;}
158 
159 
163  inline const Aws::String& GetDescription() const{ return m_description; }
164 
168  inline void SetDescription(const Aws::String& value) { m_description = value; }
169 
173  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
174 
178  inline void SetDescription(const char* value) { m_description.assign(value); }
179 
183  inline GetApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
184 
188  inline GetApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
189 
193  inline GetApplicationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
194 
195 
200  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
201 
206  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
207 
212  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
213 
218  inline GetApplicationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
219 
224  inline GetApplicationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
225 
226 
231  inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
232 
237  inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; }
238 
243  inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); }
244 
249  inline GetApplicationResult& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
250 
255  inline GetApplicationResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
256 
257 
262  inline int GetAssociatedResourceCount() const{ return m_associatedResourceCount; }
263 
268  inline void SetAssociatedResourceCount(int value) { m_associatedResourceCount = value; }
269 
274  inline GetApplicationResult& WithAssociatedResourceCount(int value) { SetAssociatedResourceCount(value); return *this;}
275 
276 
280  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
281 
285  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
286 
290  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
291 
295  inline GetApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
296 
300  inline GetApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
301 
305  inline GetApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
306 
310  inline GetApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
311 
315  inline GetApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
316 
320  inline GetApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
321 
325  inline GetApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
326 
330  inline GetApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
331 
335  inline GetApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
336 
337 
342  inline const Integrations& GetIntegrations() const{ return m_integrations; }
343 
348  inline void SetIntegrations(const Integrations& value) { m_integrations = value; }
349 
354  inline void SetIntegrations(Integrations&& value) { m_integrations = std::move(value); }
355 
360  inline GetApplicationResult& WithIntegrations(const Integrations& value) { SetIntegrations(value); return *this;}
361 
366  inline GetApplicationResult& WithIntegrations(Integrations&& value) { SetIntegrations(std::move(value)); return *this;}
367 
368  private:
369 
370  Aws::String m_id;
371 
372  Aws::String m_arn;
373 
374  Aws::String m_name;
375 
376  Aws::String m_description;
377 
378  Aws::Utils::DateTime m_creationTime;
379 
380  Aws::Utils::DateTime m_lastUpdateTime;
381 
382  int m_associatedResourceCount;
383 
385 
386  Integrations m_integrations;
387  };
388 
389 } // namespace Model
390 } // namespace AppRegistry
391 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppRegistry::Model::GetApplicationResult::SetIntegrations
void SetIntegrations(Integrations &&value)
Definition: GetApplicationResult.h:354
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::GetApplicationResult::WithArn
GetApplicationResult & WithArn(const Aws::String &value)
Definition: GetApplicationResult.h:102
Aws::AppRegistry::Model::GetApplicationResult::WithIntegrations
GetApplicationResult & WithIntegrations(const Integrations &value)
Definition: GetApplicationResult.h:360
Aws::AppRegistry::Model::GetApplicationResult::SetLastUpdateTime
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: GetApplicationResult.h:243
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::GetApplicationResult::SetAssociatedResourceCount
void SetAssociatedResourceCount(int value)
Definition: GetApplicationResult.h:268
Aws::AppRegistry::Model::GetApplicationResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetApplicationResult.h:280
Integrations.h
Aws::AppRegistry::Model::GetApplicationResult::SetName
void SetName(const char *value)
Definition: GetApplicationResult.h:139
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetApplicationResult.h:305
DateTime.h
Aws::AppRegistry::Model::GetApplicationResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: GetApplicationResult.h:200
Aws::AppRegistry::Model::GetApplicationResult
Definition: GetApplicationResult.h:31
Aws::AppRegistry::Model::GetApplicationResult::GetArn
const Aws::String & GetArn() const
Definition: GetApplicationResult.h:78
Aws::AppRegistry::Model::GetApplicationResult::WithTags
GetApplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetApplicationResult.h:295
Aws::AppRegistry::Model::GetApplicationResult::SetArn
void SetArn(const char *value)
Definition: GetApplicationResult.h:96
Aws::AppRegistry::Model::GetApplicationResult::WithId
GetApplicationResult & WithId(Aws::String &&value)
Definition: GetApplicationResult.h:66
Aws::AppRegistry::Model::GetApplicationResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetApplicationResult.h:163
Aws::AppRegistry::Model::GetApplicationResult::WithLastUpdateTime
GetApplicationResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: GetApplicationResult.h:255
Aws::AppRegistry::Model::GetApplicationResult::WithDescription
GetApplicationResult & WithDescription(const char *value)
Definition: GetApplicationResult.h:193
Aws::AppRegistry::Model::GetApplicationResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: GetApplicationResult.h:212
Aws::AppRegistry::Model::GetApplicationResult::WithName
GetApplicationResult & WithName(const char *value)
Definition: GetApplicationResult.h:157
Aws::AppRegistry::Model::GetApplicationResult::SetDescription
void SetDescription(const char *value)
Definition: GetApplicationResult.h:178
Aws::AppRegistry::Model::GetApplicationResult::WithLastUpdateTime
GetApplicationResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: GetApplicationResult.h:249
Aws::AppRegistry::Model::GetApplicationResult::WithId
GetApplicationResult & WithId(const char *value)
Definition: GetApplicationResult.h:71
Aws::AppRegistry::Model::Integrations
Definition: Integrations.h:32
Aws::AppRegistry::Model::GetApplicationResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetApplicationResult.h:90
Aws::AppRegistry::Model::GetApplicationResult::WithIntegrations
GetApplicationResult & WithIntegrations(Integrations &&value)
Definition: GetApplicationResult.h:366
Aws::AppRegistry::Model::GetApplicationResult::GetApplicationResult
GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::GetApplicationResult::WithCreationTime
GetApplicationResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: GetApplicationResult.h:224
AWSString.h
Aws::AppRegistry::Model::GetApplicationResult::WithDescription
GetApplicationResult & WithDescription(const Aws::String &value)
Definition: GetApplicationResult.h:183
Aws::AppRegistry::Model::GetApplicationResult::WithCreationTime
GetApplicationResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: GetApplicationResult.h:218
Aws::AppRegistry::Model::GetApplicationResult::WithArn
GetApplicationResult & WithArn(Aws::String &&value)
Definition: GetApplicationResult.h:108
Aws::AppRegistry::Model::GetApplicationResult::GetAssociatedResourceCount
int GetAssociatedResourceCount() const
Definition: GetApplicationResult.h:262
Aws::AppRegistry::Model::GetApplicationResult::GetLastUpdateTime
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition: GetApplicationResult.h:231
Aws::AppRegistry::Model::GetApplicationResult::WithTags
GetApplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetApplicationResult.h:300
Aws::AppRegistry::Model::GetApplicationResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetApplicationResult.h:285
Aws::AppRegistry::Model::GetApplicationResult::WithName
GetApplicationResult & WithName(const Aws::String &value)
Definition: GetApplicationResult.h:145
Aws::AppRegistry::Model::GetApplicationResult::GetId
const Aws::String & GetId() const
Definition: GetApplicationResult.h:41
Aws::AppRegistry::Model::GetApplicationResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetApplicationResult.h:168
Aws::AppRegistry::Model::GetApplicationResult::SetId
void SetId(const char *value)
Definition: GetApplicationResult.h:56
Aws::AppRegistry::Model::GetApplicationResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetApplicationResult.h:84
Aws::AppRegistry::Model::GetApplicationResult::WithDescription
GetApplicationResult & WithDescription(Aws::String &&value)
Definition: GetApplicationResult.h:188
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetApplicationResult.h:315
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetApplicationResult.h:310
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(const char *key, Aws::String &&value)
Definition: GetApplicationResult.h:325
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::GetApplicationResult::SetId
void SetId(Aws::String &&value)
Definition: GetApplicationResult.h:51
Aws::AppRegistry::Model::GetApplicationResult::SetName
void SetName(Aws::String &&value)
Definition: GetApplicationResult.h:133
Aws::AppRegistry::Model::GetApplicationResult::SetId
void SetId(const Aws::String &value)
Definition: GetApplicationResult.h:46
Aws::AppRegistry::Model::GetApplicationResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: GetApplicationResult.h:206
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(const char *key, const char *value)
Definition: GetApplicationResult.h:335
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::GetApplicationResult::WithArn
GetApplicationResult & WithArn(const char *value)
Definition: GetApplicationResult.h:114
Aws::AppRegistry::Model::GetApplicationResult::operator=
GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::GetApplicationResult::WithName
GetApplicationResult & WithName(Aws::String &&value)
Definition: GetApplicationResult.h:151
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetApplicationResult.h:320
Aws::AppRegistry::Model::GetApplicationResult::WithId
GetApplicationResult & WithId(const Aws::String &value)
Definition: GetApplicationResult.h:61
Aws::AppRegistry::Model::GetApplicationResult::SetName
void SetName(const Aws::String &value)
Definition: GetApplicationResult.h:127
Aws::AppRegistry::Model::GetApplicationResult::SetIntegrations
void SetIntegrations(const Integrations &value)
Definition: GetApplicationResult.h:348
Aws::AppRegistry::Model::GetApplicationResult::AddTags
GetApplicationResult & AddTags(Aws::String &&key, const char *value)
Definition: GetApplicationResult.h:330
AWSMap.h
Aws::AppRegistry::Model::GetApplicationResult::GetIntegrations
const Integrations & GetIntegrations() const
Definition: GetApplicationResult.h:342
Aws::AppRegistry::Model::GetApplicationResult::GetName
const Aws::String & GetName() const
Definition: GetApplicationResult.h:121
Aws::AppRegistry::Model::GetApplicationResult::GetApplicationResult
GetApplicationResult()
Aws::AppRegistry::Model::GetApplicationResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetApplicationResult.h:173
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::GetApplicationResult::SetLastUpdateTime
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: GetApplicationResult.h:237
Aws::AppRegistry::Model::GetApplicationResult::WithAssociatedResourceCount
GetApplicationResult & WithAssociatedResourceCount(int value)
Definition: GetApplicationResult.h:274
Aws::AppRegistry::Model::GetApplicationResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetApplicationResult.h:290