AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Application.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/ApplicationAggregatedStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn {
22namespace Model {
23
25 public:
26 AWS_MGN_API Application() = default;
30
32
35 inline const Aws::String& GetApplicationID() const { return m_applicationID; }
36 inline bool ApplicationIDHasBeenSet() const { return m_applicationIDHasBeenSet; }
37 template <typename ApplicationIDT = Aws::String>
38 void SetApplicationID(ApplicationIDT&& value) {
39 m_applicationIDHasBeenSet = true;
40 m_applicationID = std::forward<ApplicationIDT>(value);
41 }
42 template <typename ApplicationIDT = Aws::String>
43 Application& WithApplicationID(ApplicationIDT&& value) {
44 SetApplicationID(std::forward<ApplicationIDT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
61 Application& WithArn(ArnT&& value) {
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
79 Application& WithName(NameT&& value) {
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
97 Application& WithDescription(DescriptionT&& value) {
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline bool GetIsArchived() const { return m_isArchived; }
108 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
109 inline void SetIsArchived(bool value) {
110 m_isArchivedHasBeenSet = true;
111 m_isArchived = value;
112 }
113 inline Application& WithIsArchived(bool value) {
114 SetIsArchived(value);
115 return *this;
116 }
118
120
123 inline const ApplicationAggregatedStatus& GetApplicationAggregatedStatus() const { return m_applicationAggregatedStatus; }
124 inline bool ApplicationAggregatedStatusHasBeenSet() const { return m_applicationAggregatedStatusHasBeenSet; }
125 template <typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
126 void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) {
127 m_applicationAggregatedStatusHasBeenSet = true;
128 m_applicationAggregatedStatus = std::forward<ApplicationAggregatedStatusT>(value);
129 }
130 template <typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
131 Application& WithApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) {
132 SetApplicationAggregatedStatus(std::forward<ApplicationAggregatedStatusT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
142 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
143 template <typename CreationDateTimeT = Aws::String>
144 void SetCreationDateTime(CreationDateTimeT&& value) {
145 m_creationDateTimeHasBeenSet = true;
146 m_creationDateTime = std::forward<CreationDateTimeT>(value);
147 }
148 template <typename CreationDateTimeT = Aws::String>
149 Application& WithCreationDateTime(CreationDateTimeT&& value) {
150 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
160 inline bool LastModifiedDateTimeHasBeenSet() const { return m_lastModifiedDateTimeHasBeenSet; }
161 template <typename LastModifiedDateTimeT = Aws::String>
162 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) {
163 m_lastModifiedDateTimeHasBeenSet = true;
164 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
165 }
166 template <typename LastModifiedDateTimeT = Aws::String>
167 Application& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) {
168 SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 void SetTags(TagsT&& value) {
181 m_tagsHasBeenSet = true;
182 m_tags = std::forward<TagsT>(value);
183 }
184 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 Application& WithTags(TagsT&& value) {
186 SetTags(std::forward<TagsT>(value));
187 return *this;
188 }
189 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
190 Application& AddTags(TagsKeyT&& key, TagsValueT&& value) {
191 m_tagsHasBeenSet = true;
192 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetWaveID() const { return m_waveID; }
202 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
203 template <typename WaveIDT = Aws::String>
204 void SetWaveID(WaveIDT&& value) {
205 m_waveIDHasBeenSet = true;
206 m_waveID = std::forward<WaveIDT>(value);
207 }
208 template <typename WaveIDT = Aws::String>
209 Application& WithWaveID(WaveIDT&& value) {
210 SetWaveID(std::forward<WaveIDT>(value));
211 return *this;
212 }
214
216
217 inline const Aws::String& GetRequestId() const { return m_requestId; }
218 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
219 template <typename RequestIdT = Aws::String>
220 void SetRequestId(RequestIdT&& value) {
221 m_requestIdHasBeenSet = true;
222 m_requestId = std::forward<RequestIdT>(value);
223 }
224 template <typename RequestIdT = Aws::String>
225 Application& WithRequestId(RequestIdT&& value) {
226 SetRequestId(std::forward<RequestIdT>(value));
227 return *this;
228 }
230 private:
231 Aws::String m_applicationID;
232
233 Aws::String m_arn;
234
235 Aws::String m_name;
236
237 Aws::String m_description;
238
239 bool m_isArchived{false};
240
241 ApplicationAggregatedStatus m_applicationAggregatedStatus;
242
243 Aws::String m_creationDateTime;
244
245 Aws::String m_lastModifiedDateTime;
246
248
249 Aws::String m_waveID;
250
251 Aws::String m_requestId;
252 bool m_applicationIDHasBeenSet = false;
253 bool m_arnHasBeenSet = false;
254 bool m_nameHasBeenSet = false;
255 bool m_descriptionHasBeenSet = false;
256 bool m_isArchivedHasBeenSet = false;
257 bool m_applicationAggregatedStatusHasBeenSet = false;
258 bool m_creationDateTimeHasBeenSet = false;
259 bool m_lastModifiedDateTimeHasBeenSet = false;
260 bool m_tagsHasBeenSet = false;
261 bool m_waveIDHasBeenSet = false;
262 bool m_requestIdHasBeenSet = false;
263};
264
265} // namespace Model
266} // namespace mgn
267} // namespace Aws
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetLastModifiedDateTime() const
const Aws::String & GetCreationDateTime() const
bool ApplicationIDHasBeenSet() const
Definition Application.h:36
AWS_MGN_API Application(Aws::Utils::Json::JsonView jsonValue)
Application & WithTags(TagsT &&value)
void SetApplicationID(ApplicationIDT &&value)
Definition Application.h:38
bool DescriptionHasBeenSet() const
Definition Application.h:90
const Aws::String & GetArn() const
Definition Application.h:53
Application & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
Definition Application.h:71
bool LastModifiedDateTimeHasBeenSet() const
Application & WithWaveID(WaveIDT &&value)
void SetIsArchived(bool value)
Application & WithDescription(DescriptionT &&value)
Definition Application.h:97
Application & WithApplicationID(ApplicationIDT &&value)
Definition Application.h:43
Application & WithArn(ArnT &&value)
Definition Application.h:61
void SetTags(TagsT &&value)
AWS_MGN_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
Definition Application.h:56
void SetWaveID(WaveIDT &&value)
const Aws::String & GetApplicationID() const
Definition Application.h:35
Application & WithIsArchived(bool value)
Application & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
void SetRequestId(RequestIdT &&value)
void SetName(NameT &&value)
Definition Application.h:74
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
Application & WithName(NameT &&value)
Definition Application.h:79
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetWaveID() const
AWS_MGN_API Application()=default
Application & AddTags(TagsKeyT &&key, TagsValueT &&value)
Application & WithApplicationAggregatedStatus(ApplicationAggregatedStatusT &&value)
bool ApplicationAggregatedStatusHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
const ApplicationAggregatedStatus & GetApplicationAggregatedStatus() const
const Aws::String & GetDescription() const
Definition Application.h:89
void SetDescription(DescriptionT &&value)
Definition Application.h:92
Application & WithCreationDateTime(CreationDateTimeT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT &&value)
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