AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ArchiveApplicationResult.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 {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace mgn {
24namespace Model {
26 public:
27 AWS_MGN_API ArchiveApplicationResult() = default;
30
32
35 inline const Aws::String& GetApplicationID() const { return m_applicationID; }
36 template <typename ApplicationIDT = Aws::String>
37 void SetApplicationID(ApplicationIDT&& value) {
38 m_applicationIDHasBeenSet = true;
39 m_applicationID = std::forward<ApplicationIDT>(value);
40 }
41 template <typename ApplicationIDT = Aws::String>
43 SetApplicationID(std::forward<ApplicationIDT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
103 inline bool GetIsArchived() const { return m_isArchived; }
104 inline void SetIsArchived(bool value) {
105 m_isArchivedHasBeenSet = true;
106 m_isArchived = value;
107 }
109 SetIsArchived(value);
110 return *this;
111 }
113
115
118 inline const ApplicationAggregatedStatus& GetApplicationAggregatedStatus() const { return m_applicationAggregatedStatus; }
119 template <typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
120 void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) {
121 m_applicationAggregatedStatusHasBeenSet = true;
122 m_applicationAggregatedStatus = std::forward<ApplicationAggregatedStatusT>(value);
123 }
124 template <typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
125 ArchiveApplicationResult& WithApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) {
126 SetApplicationAggregatedStatus(std::forward<ApplicationAggregatedStatusT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
136 template <typename CreationDateTimeT = Aws::String>
137 void SetCreationDateTime(CreationDateTimeT&& value) {
138 m_creationDateTimeHasBeenSet = true;
139 m_creationDateTime = std::forward<CreationDateTimeT>(value);
140 }
141 template <typename CreationDateTimeT = Aws::String>
142 ArchiveApplicationResult& WithCreationDateTime(CreationDateTimeT&& value) {
143 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
153 template <typename LastModifiedDateTimeT = Aws::String>
154 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) {
155 m_lastModifiedDateTimeHasBeenSet = true;
156 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
157 }
158 template <typename LastModifiedDateTimeT = Aws::String>
159 ArchiveApplicationResult& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) {
160 SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 void SetTags(TagsT&& value) {
172 m_tagsHasBeenSet = true;
173 m_tags = std::forward<TagsT>(value);
174 }
175 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 SetTags(std::forward<TagsT>(value));
178 return *this;
179 }
180 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
181 ArchiveApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
182 m_tagsHasBeenSet = true;
183 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetWaveID() const { return m_waveID; }
193 template <typename WaveIDT = Aws::String>
194 void SetWaveID(WaveIDT&& value) {
195 m_waveIDHasBeenSet = true;
196 m_waveID = std::forward<WaveIDT>(value);
197 }
198 template <typename WaveIDT = Aws::String>
200 SetWaveID(std::forward<WaveIDT>(value));
201 return *this;
202 }
204
206
207 inline const Aws::String& GetRequestId() const { return m_requestId; }
208 template <typename RequestIdT = Aws::String>
209 void SetRequestId(RequestIdT&& value) {
210 m_requestIdHasBeenSet = true;
211 m_requestId = std::forward<RequestIdT>(value);
212 }
213 template <typename RequestIdT = Aws::String>
215 SetRequestId(std::forward<RequestIdT>(value));
216 return *this;
217 }
219 private:
220 Aws::String m_applicationID;
221
222 Aws::String m_arn;
223
224 Aws::String m_name;
225
226 Aws::String m_description;
227
228 bool m_isArchived{false};
229
230 ApplicationAggregatedStatus m_applicationAggregatedStatus;
231
232 Aws::String m_creationDateTime;
233
234 Aws::String m_lastModifiedDateTime;
235
237
238 Aws::String m_waveID;
239
240 Aws::String m_requestId;
241 bool m_applicationIDHasBeenSet = false;
242 bool m_arnHasBeenSet = false;
243 bool m_nameHasBeenSet = false;
244 bool m_descriptionHasBeenSet = false;
245 bool m_isArchivedHasBeenSet = false;
246 bool m_applicationAggregatedStatusHasBeenSet = false;
247 bool m_creationDateTimeHasBeenSet = false;
248 bool m_lastModifiedDateTimeHasBeenSet = false;
249 bool m_tagsHasBeenSet = false;
250 bool m_waveIDHasBeenSet = false;
251 bool m_requestIdHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace mgn
256} // namespace Aws
void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT &&value)
ArchiveApplicationResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ArchiveApplicationResult & WithIsArchived(bool value)
void SetCreationDateTime(CreationDateTimeT &&value)
ArchiveApplicationResult & WithArn(ArnT &&value)
ArchiveApplicationResult & WithDescription(DescriptionT &&value)
ArchiveApplicationResult & WithWaveID(WaveIDT &&value)
ArchiveApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const ApplicationAggregatedStatus & GetApplicationAggregatedStatus() const
ArchiveApplicationResult & WithApplicationAggregatedStatus(ApplicationAggregatedStatusT &&value)
ArchiveApplicationResult & WithApplicationID(ApplicationIDT &&value)
AWS_MGN_API ArchiveApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MGN_API ArchiveApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ArchiveApplicationResult & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
ArchiveApplicationResult & WithName(NameT &&value)
AWS_MGN_API ArchiveApplicationResult()=default
ArchiveApplicationResult & WithTags(TagsT &&value)
ArchiveApplicationResult & WithRequestId(RequestIdT &&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