AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UnarchiveApplicationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/Mgn_EXPORTS.h>
11#include <aws/mgn/model/ApplicationAggregatedStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace mgn {
25namespace Model {
27 public:
28 AWS_MGN_API UnarchiveApplicationResult() = default;
31
33
36 inline const Aws::String& GetApplicationID() const { return m_applicationID; }
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>
44 SetApplicationID(std::forward<ApplicationIDT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
104 inline bool GetIsArchived() const { return m_isArchived; }
105 inline void SetIsArchived(bool value) {
106 m_isArchivedHasBeenSet = true;
107 m_isArchived = value;
108 }
110 SetIsArchived(value);
111 return *this;
112 }
114
116
119 inline const ApplicationAggregatedStatus& GetApplicationAggregatedStatus() const { return m_applicationAggregatedStatus; }
120 template <typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
121 void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) {
122 m_applicationAggregatedStatusHasBeenSet = true;
123 m_applicationAggregatedStatus = std::forward<ApplicationAggregatedStatusT>(value);
124 }
125 template <typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
126 UnarchiveApplicationResult& WithApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) {
127 SetApplicationAggregatedStatus(std::forward<ApplicationAggregatedStatusT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
137 template <typename CreationDateTimeT = Aws::String>
138 void SetCreationDateTime(CreationDateTimeT&& value) {
139 m_creationDateTimeHasBeenSet = true;
140 m_creationDateTime = std::forward<CreationDateTimeT>(value);
141 }
142 template <typename CreationDateTimeT = Aws::String>
144 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
154 template <typename LastModifiedDateTimeT = Aws::String>
155 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) {
156 m_lastModifiedDateTimeHasBeenSet = true;
157 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
158 }
159 template <typename LastModifiedDateTimeT = Aws::String>
160 UnarchiveApplicationResult& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) {
161 SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
171 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 void SetTags(TagsT&& value) {
173 m_tagsHasBeenSet = true;
174 m_tags = std::forward<TagsT>(value);
175 }
176 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 SetTags(std::forward<TagsT>(value));
179 return *this;
180 }
181 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
182 UnarchiveApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
183 m_tagsHasBeenSet = true;
184 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetWaveID() const { return m_waveID; }
194 template <typename WaveIDT = Aws::String>
195 void SetWaveID(WaveIDT&& value) {
196 m_waveIDHasBeenSet = true;
197 m_waveID = std::forward<WaveIDT>(value);
198 }
199 template <typename WaveIDT = Aws::String>
201 SetWaveID(std::forward<WaveIDT>(value));
202 return *this;
203 }
205
207
208 inline const Aws::String& GetRequestId() const { return m_requestId; }
209 template <typename RequestIdT = Aws::String>
210 void SetRequestId(RequestIdT&& value) {
211 m_requestIdHasBeenSet = true;
212 m_requestId = std::forward<RequestIdT>(value);
213 }
214 template <typename RequestIdT = Aws::String>
216 SetRequestId(std::forward<RequestIdT>(value));
217 return *this;
218 }
220 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
221
222 private:
223 Aws::String m_applicationID;
224
225 Aws::String m_arn;
226
227 Aws::String m_name;
228
229 Aws::String m_description;
230
231 bool m_isArchived{false};
232
233 ApplicationAggregatedStatus m_applicationAggregatedStatus;
234
235 Aws::String m_creationDateTime;
236
237 Aws::String m_lastModifiedDateTime;
238
240
241 Aws::String m_waveID;
242
243 Aws::String m_requestId;
244 Aws::Http::HttpResponseCode m_HttpResponseCode;
245 bool m_applicationIDHasBeenSet = false;
246 bool m_arnHasBeenSet = false;
247 bool m_nameHasBeenSet = false;
248 bool m_descriptionHasBeenSet = false;
249 bool m_isArchivedHasBeenSet = false;
250 bool m_applicationAggregatedStatusHasBeenSet = false;
251 bool m_creationDateTimeHasBeenSet = false;
252 bool m_lastModifiedDateTimeHasBeenSet = false;
253 bool m_tagsHasBeenSet = false;
254 bool m_waveIDHasBeenSet = false;
255 bool m_requestIdHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace mgn
260} // namespace Aws
void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UnarchiveApplicationResult & WithDescription(DescriptionT &&value)
UnarchiveApplicationResult & WithArn(ArnT &&value)
UnarchiveApplicationResult & WithName(NameT &&value)
const ApplicationAggregatedStatus & GetApplicationAggregatedStatus() const
UnarchiveApplicationResult & WithApplicationID(ApplicationIDT &&value)
AWS_MGN_API UnarchiveApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UnarchiveApplicationResult & WithCreationDateTime(CreationDateTimeT &&value)
UnarchiveApplicationResult & WithApplicationAggregatedStatus(ApplicationAggregatedStatusT &&value)
UnarchiveApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UnarchiveApplicationResult & WithIsArchived(bool value)
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
UnarchiveApplicationResult & WithRequestId(RequestIdT &&value)
UnarchiveApplicationResult & WithWaveID(WaveIDT &&value)
AWS_MGN_API UnarchiveApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MGN_API UnarchiveApplicationResult()=default
UnarchiveApplicationResult & WithTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UnarchiveApplicationResult & WithLastModifiedDateTime(LastModifiedDateTimeT &&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