AWS SDK for C++  1.9.104
AWS SDK for C++
Application.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 Application& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline Application& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline Application& 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 Application& WithArn(const Aws::String& value) { SetArn(value); return *this;}
120 
125  inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
126 
131  inline Application& WithArn(const char* value) { SetArn(value); return *this;}
132 
133 
138  inline const Aws::String& GetName() const{ return m_name; }
139 
144  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
145 
150  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
151 
156  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
157 
162  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
163 
168  inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
169 
174  inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
175 
180  inline Application& WithName(const char* value) { SetName(value); return *this;}
181 
182 
186  inline const Aws::String& GetDescription() const{ return m_description; }
187 
191  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
192 
196  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
197 
201  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
202 
206  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
207 
211  inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
212 
216  inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
217 
221  inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
222 
223 
228  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
229 
234  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
235 
240  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
241 
246  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
247 
252  inline Application& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
253 
258  inline Application& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
259 
260 
265  inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
266 
271  inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
272 
277  inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
278 
283  inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
284 
289  inline Application& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
290 
295  inline Application& 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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
307 
311  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
312 
316  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
317 
321  inline Application& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
322 
326  inline Application& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
327 
331  inline Application& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
332 
336  inline Application& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
337 
341  inline Application& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
342 
346  inline Application& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
347 
351  inline Application& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
352 
356  inline Application& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
357 
361  inline Application& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
362 
363  private:
364 
365  Aws::String m_id;
366  bool m_idHasBeenSet;
367 
368  Aws::String m_arn;
369  bool m_arnHasBeenSet;
370 
371  Aws::String m_name;
372  bool m_nameHasBeenSet;
373 
374  Aws::String m_description;
375  bool m_descriptionHasBeenSet;
376 
377  Aws::Utils::DateTime m_creationTime;
378  bool m_creationTimeHasBeenSet;
379 
380  Aws::Utils::DateTime m_lastUpdateTime;
381  bool m_lastUpdateTimeHasBeenSet;
382 
384  bool m_tagsHasBeenSet;
385  };
386 
387 } // namespace Model
388 } // namespace AppRegistry
389 } // namespace Aws
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(const Aws::String &key, const Aws::String &value)
Definition: Application.h:331
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppRegistry::Model::Application::SetDescription
void SetDescription(const char *value)
Definition: Application.h:206
Aws::AppRegistry::Model::Application::SetName
void SetName(const char *value)
Definition: Application.h:162
Aws::AppRegistry::Model::Application::WithDescription
Application & WithDescription(const char *value)
Definition: Application.h:221
Aws::AppRegistry::Model::Application::WithCreationTime
Application & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Application.h:252
Aws::AppRegistry::Model::Application::SetName
void SetName(const Aws::String &value)
Definition: Application.h:150
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::Application::SetArn
void SetArn(const Aws::String &value)
Definition: Application.h:101
Aws::AppRegistry::Model::Application::WithTags
Application & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Application.h:326
DateTime.h
Aws::AppRegistry::Model::Application::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Application.h:316
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(const char *key, const char *value)
Definition: Application.h:361
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(const Aws::String &key, Aws::String &&value)
Definition: Application.h:341
Aws::AppRegistry::Model::Application::WithDescription
Application & WithDescription(Aws::String &&value)
Definition: Application.h:216
Aws::AppRegistry::Model::Application::WithName
Application & WithName(const char *value)
Definition: Application.h:180
Aws::AppRegistry::Model::Application::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Application.h:246
Aws::AppRegistry::Model::Application::WithDescription
Application & WithDescription(const Aws::String &value)
Definition: Application.h:211
Aws::AppRegistry::Model::Application::Application
Application()
Aws::AppRegistry::Model::Application::SetId
void SetId(const char *value)
Definition: Application.h:67
Aws::AppRegistry::Model::Application::SetDescription
void SetDescription(const Aws::String &value)
Definition: Application.h:196
Aws::AppRegistry::Model::Application::SetLastUpdateTime
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: Application.h:283
Aws::AppRegistry::Model::Application::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Application.h:95
Aws::AppRegistry::Model::Application::WithCreationTime
Application & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Application.h:258
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(Aws::String &&key, Aws::String &&value)
Definition: Application.h:346
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(const char *key, Aws::String &&value)
Definition: Application.h:351
Aws::AppRegistry::Model::Application::SetName
void SetName(Aws::String &&value)
Definition: Application.h:156
Aws::AppRegistry::Model::Application::LastUpdateTimeHasBeenSet
bool LastUpdateTimeHasBeenSet() const
Definition: Application.h:271
Aws::AppRegistry::Model::Application::WithId
Application & WithId(const char *value)
Definition: Application.h:82
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(Aws::String &&key, const char *value)
Definition: Application.h:356
Aws::AppRegistry::Model::Application
Definition: Application.h:36
Aws::AppRegistry::Model::Application::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Application.h:52
Aws::AppRegistry::Model::Application::WithLastUpdateTime
Application & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition: Application.h:295
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppRegistry::Model::Application::WithLastUpdateTime
Application & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: Application.h:289
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppRegistry::Model::Application::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Application.h:191
Aws::AppRegistry::Model::Application::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Application.h:311
Aws::AppRegistry::Model::Application::WithId
Application & WithId(Aws::String &&value)
Definition: Application.h:77
Aws::AppRegistry::Model::Application::SetArn
void SetArn(const char *value)
Definition: Application.h:113
Aws::AppRegistry::Model::Application::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Application.h:240
Aws::AppRegistry::Model::Application::SetId
void SetId(const Aws::String &value)
Definition: Application.h:57
Aws::AppRegistry::Model::Application::SetId
void SetId(Aws::String &&value)
Definition: Application.h:62
Aws::AppRegistry::Model::Application::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Application.h:228
Aws::AppRegistry::Model::Application::WithId
Application & WithId(const Aws::String &value)
Definition: Application.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::Application::SetLastUpdateTime
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition: Application.h:277
Aws::AppRegistry::Model::Application::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Application.h:234
Aws::AppRegistry::Model::Application::GetName
const Aws::String & GetName() const
Definition: Application.h:138
Aws::AppRegistry::Model::Application::GetArn
const Aws::String & GetArn() const
Definition: Application.h:89
Aws::AppRegistry::Model::Application::Application
Application(Aws::Utils::Json::JsonView jsonValue)
Aws::AppRegistry::Model::Application::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Application.h:306
Aws::AppRegistry::Model::Application::GetLastUpdateTime
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition: Application.h:265
Aws::AppRegistry::Model::Application::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Application.h:144
Aws::AppRegistry::Model::Application::WithArn
Application & WithArn(Aws::String &&value)
Definition: Application.h:125
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::Application::SetArn
void SetArn(Aws::String &&value)
Definition: Application.h:107
Aws::AppRegistry::Model::Application::operator=
Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppRegistry::Model::Application::WithTags
Application & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Application.h:321
Aws::AppRegistry::Model::Application::AddTags
Application & AddTags(Aws::String &&key, const Aws::String &value)
Definition: Application.h:336
Aws::AppRegistry::Model::Application::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppRegistry::Model::Application::WithArn
Application & WithArn(const char *value)
Definition: Application.h:131
AWSMap.h
Aws::AppRegistry::Model::Application::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: Application.h:301
Aws::AppRegistry::Model::Application::WithName
Application & WithName(const Aws::String &value)
Definition: Application.h:168
Aws::AppRegistry::Model::Application::WithArn
Application & WithArn(const Aws::String &value)
Definition: Application.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::Application::GetDescription
const Aws::String & GetDescription() const
Definition: Application.h:186
Aws::AppRegistry::Model::Application::GetId
const Aws::String & GetId() const
Definition: Application.h:47
Aws::AppRegistry::Model::Application::WithName
Application & WithName(Aws::String &&value)
Definition: Application.h:174
Aws::AppRegistry::Model::Application::SetDescription
void SetDescription(Aws::String &&value)
Definition: Application.h:201