AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/ApplicationAggregatedStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn
24{
25namespace Model
26{
27
29 {
30 public:
31 AWS_MGN_API Application();
35
36
38
41 inline const ApplicationAggregatedStatus& GetApplicationAggregatedStatus() const{ return m_applicationAggregatedStatus; }
42 inline bool ApplicationAggregatedStatusHasBeenSet() const { return m_applicationAggregatedStatusHasBeenSet; }
43 inline void SetApplicationAggregatedStatus(const ApplicationAggregatedStatus& value) { m_applicationAggregatedStatusHasBeenSet = true; m_applicationAggregatedStatus = value; }
44 inline void SetApplicationAggregatedStatus(ApplicationAggregatedStatus&& value) { m_applicationAggregatedStatusHasBeenSet = true; m_applicationAggregatedStatus = std::move(value); }
48
50
53 inline const Aws::String& GetApplicationID() const{ return m_applicationID; }
54 inline bool ApplicationIDHasBeenSet() const { return m_applicationIDHasBeenSet; }
55 inline void SetApplicationID(const Aws::String& value) { m_applicationIDHasBeenSet = true; m_applicationID = value; }
56 inline void SetApplicationID(Aws::String&& value) { m_applicationIDHasBeenSet = true; m_applicationID = std::move(value); }
57 inline void SetApplicationID(const char* value) { m_applicationIDHasBeenSet = true; m_applicationID.assign(value); }
58 inline Application& WithApplicationID(const Aws::String& value) { SetApplicationID(value); return *this;}
59 inline Application& WithApplicationID(Aws::String&& value) { SetApplicationID(std::move(value)); return *this;}
60 inline Application& WithApplicationID(const char* value) { SetApplicationID(value); return *this;}
62
64
67 inline const Aws::String& GetArn() const{ return m_arn; }
68 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
69 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
72 inline Application& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline Application& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline Application& WithArn(const char* value) { SetArn(value); return *this;}
76
78
81 inline const Aws::String& GetCreationDateTime() const{ return m_creationDateTime; }
82 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
83 inline void SetCreationDateTime(const Aws::String& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
84 inline void SetCreationDateTime(Aws::String&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
85 inline void SetCreationDateTime(const char* value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime.assign(value); }
86 inline Application& WithCreationDateTime(const Aws::String& value) { SetCreationDateTime(value); return *this;}
87 inline Application& WithCreationDateTime(Aws::String&& value) { SetCreationDateTime(std::move(value)); return *this;}
88 inline Application& WithCreationDateTime(const char* value) { SetCreationDateTime(value); return *this;}
90
92
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
98 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
100 inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
101 inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
102 inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
104
106
109 inline bool GetIsArchived() const{ return m_isArchived; }
110 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
111 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
112 inline Application& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
114
116
119 inline const Aws::String& GetLastModifiedDateTime() const{ return m_lastModifiedDateTime; }
120 inline bool LastModifiedDateTimeHasBeenSet() const { return m_lastModifiedDateTimeHasBeenSet; }
121 inline void SetLastModifiedDateTime(const Aws::String& value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime = value; }
122 inline void SetLastModifiedDateTime(Aws::String&& value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime = std::move(value); }
123 inline void SetLastModifiedDateTime(const char* value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime.assign(value); }
124 inline Application& WithLastModifiedDateTime(const Aws::String& value) { SetLastModifiedDateTime(value); return *this;}
125 inline Application& WithLastModifiedDateTime(Aws::String&& value) { SetLastModifiedDateTime(std::move(value)); return *this;}
126 inline Application& WithLastModifiedDateTime(const char* value) { SetLastModifiedDateTime(value); return *this;}
128
130
133 inline const Aws::String& GetName() const{ return m_name; }
134 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
135 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
136 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
138 inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
139 inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
140 inline Application& WithName(const char* value) { SetName(value); return *this;}
142
144
147 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
148 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
149 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
150 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
151 inline Application& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
152 inline Application& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
153 inline Application& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
154 inline Application& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline Application& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
156 inline Application& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
157 inline Application& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
158 inline Application& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
159 inline Application& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
161
163
166 inline const Aws::String& GetWaveID() const{ return m_waveID; }
167 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
168 inline void SetWaveID(const Aws::String& value) { m_waveIDHasBeenSet = true; m_waveID = value; }
169 inline void SetWaveID(Aws::String&& value) { m_waveIDHasBeenSet = true; m_waveID = std::move(value); }
170 inline void SetWaveID(const char* value) { m_waveIDHasBeenSet = true; m_waveID.assign(value); }
171 inline Application& WithWaveID(const Aws::String& value) { SetWaveID(value); return *this;}
172 inline Application& WithWaveID(Aws::String&& value) { SetWaveID(std::move(value)); return *this;}
173 inline Application& WithWaveID(const char* value) { SetWaveID(value); return *this;}
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
180 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
181 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
182 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
183 inline Application& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
184 inline Application& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
185 inline Application& WithRequestId(const char* value) { SetRequestId(value); return *this;}
187 private:
188
189 ApplicationAggregatedStatus m_applicationAggregatedStatus;
190 bool m_applicationAggregatedStatusHasBeenSet = false;
191
192 Aws::String m_applicationID;
193 bool m_applicationIDHasBeenSet = false;
194
195 Aws::String m_arn;
196 bool m_arnHasBeenSet = false;
197
198 Aws::String m_creationDateTime;
199 bool m_creationDateTimeHasBeenSet = false;
200
201 Aws::String m_description;
202 bool m_descriptionHasBeenSet = false;
203
204 bool m_isArchived;
205 bool m_isArchivedHasBeenSet = false;
206
207 Aws::String m_lastModifiedDateTime;
208 bool m_lastModifiedDateTimeHasBeenSet = false;
209
210 Aws::String m_name;
211 bool m_nameHasBeenSet = false;
212
214 bool m_tagsHasBeenSet = false;
215
216 Aws::String m_waveID;
217 bool m_waveIDHasBeenSet = false;
218
219 Aws::String m_requestId;
220 bool m_requestIdHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace mgn
225} // namespace Aws
Application & WithLastModifiedDateTime(Aws::String &&value)
Application & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(const char *value)
Definition Application.h:99
void SetName(Aws::String &&value)
void SetCreationDateTime(const Aws::String &value)
Definition Application.h:83
void SetLastModifiedDateTime(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
Application & WithCreationDateTime(const char *value)
Definition Application.h:88
Application & AddTags(const char *key, const char *value)
void SetName(const Aws::String &value)
void SetDescription(Aws::String &&value)
Definition Application.h:98
Application & WithApplicationAggregatedStatus(const ApplicationAggregatedStatus &value)
Definition Application.h:45
Application & WithApplicationID(const Aws::String &value)
Definition Application.h:58
void SetApplicationAggregatedStatus(const ApplicationAggregatedStatus &value)
Definition Application.h:43
Application & WithName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetLastModifiedDateTime() const
const Aws::String & GetCreationDateTime() const
Definition Application.h:81
bool ApplicationIDHasBeenSet() const
Definition Application.h:54
void SetWaveID(Aws::String &&value)
Application & WithArn(Aws::String &&value)
Definition Application.h:73
void SetName(const char *value)
Application & AddTags(const Aws::String &key, Aws::String &&value)
AWS_MGN_API Application(Aws::Utils::Json::JsonView jsonValue)
Application & WithWaveID(const Aws::String &value)
Application & WithRequestId(Aws::String &&value)
Application & WithDescription(const Aws::String &value)
void SetApplicationID(const char *value)
Definition Application.h:57
bool DescriptionHasBeenSet() const
Definition Application.h:96
const Aws::String & GetArn() const
Definition Application.h:67
void SetLastModifiedDateTime(const char *value)
Application & WithArn(const char *value)
Definition Application.h:74
const Aws::String & GetName() const
Application & AddTags(const char *key, Aws::String &&value)
void SetArn(Aws::String &&value)
Definition Application.h:70
bool LastModifiedDateTimeHasBeenSet() const
Application & WithArn(const Aws::String &value)
Definition Application.h:72
Application & WithDescription(const char *value)
void SetIsArchived(bool value)
Application & WithCreationDateTime(const Aws::String &value)
Definition Application.h:86
Application & WithApplicationAggregatedStatus(ApplicationAggregatedStatus &&value)
Definition Application.h:46
void SetApplicationAggregatedStatus(ApplicationAggregatedStatus &&value)
Definition Application.h:44
void SetCreationDateTime(const char *value)
Definition Application.h:85
Application & AddTags(const Aws::String &key, const Aws::String &value)
void SetLastModifiedDateTime(const Aws::String &value)
AWS_MGN_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApplicationID() const
Definition Application.h:53
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Application & WithIsArchived(bool value)
void SetCreationDateTime(Aws::String &&value)
Definition Application.h:84
void SetRequestId(const char *value)
Application & WithApplicationID(Aws::String &&value)
Definition Application.h:59
Application & WithCreationDateTime(Aws::String &&value)
Definition Application.h:87
Application & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Application & WithWaveID(const char *value)
Application & WithLastModifiedDateTime(const char *value)
Application & AddTags(Aws::String &&key, const char *value)
Application & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Application & WithName(const char *value)
Application & WithLastModifiedDateTime(const Aws::String &value)
const Aws::String & GetWaveID() const
void SetWaveID(const Aws::String &value)
void SetApplicationID(const Aws::String &value)
Definition Application.h:55
void SetArn(const Aws::String &value)
Definition Application.h:69
void SetApplicationID(Aws::String &&value)
Definition Application.h:56
void SetWaveID(const char *value)
Application & WithRequestId(const char *value)
bool ApplicationAggregatedStatusHasBeenSet() const
Definition Application.h:42
void SetDescription(const Aws::String &value)
Definition Application.h:97
bool CreationDateTimeHasBeenSet() const
Definition Application.h:82
Application & AddTags(Aws::String &&key, const Aws::String &value)
const ApplicationAggregatedStatus & GetApplicationAggregatedStatus() const
Definition Application.h:41
Application & WithName(Aws::String &&value)
const Aws::String & GetDescription() const
Definition Application.h:95
Application & WithRequestId(const Aws::String &value)
Application & WithWaveID(Aws::String &&value)
Application & WithDescription(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(const char *value)
Definition Application.h:71
Application & WithApplicationID(const char *value)
Definition Application.h:60
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue