AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnarchiveApplicationResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace mgn
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MGN_API UnarchiveApplicationResult() = default;
35
36
38
41 inline const ApplicationAggregatedStatus& GetApplicationAggregatedStatus() const { return m_applicationAggregatedStatus; }
42 template<typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
43 void SetApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) { m_applicationAggregatedStatusHasBeenSet = true; m_applicationAggregatedStatus = std::forward<ApplicationAggregatedStatusT>(value); }
44 template<typename ApplicationAggregatedStatusT = ApplicationAggregatedStatus>
45 UnarchiveApplicationResult& WithApplicationAggregatedStatus(ApplicationAggregatedStatusT&& value) { SetApplicationAggregatedStatus(std::forward<ApplicationAggregatedStatusT>(value)); return *this;}
47
49
52 inline const Aws::String& GetApplicationID() const { return m_applicationID; }
53 template<typename ApplicationIDT = Aws::String>
54 void SetApplicationID(ApplicationIDT&& value) { m_applicationIDHasBeenSet = true; m_applicationID = std::forward<ApplicationIDT>(value); }
55 template<typename ApplicationIDT = Aws::String>
56 UnarchiveApplicationResult& WithApplicationID(ApplicationIDT&& value) { SetApplicationID(std::forward<ApplicationIDT>(value)); return *this;}
58
60
63 inline const Aws::String& GetArn() const { return m_arn; }
64 template<typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
66 template<typename ArnT = Aws::String>
67 UnarchiveApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
75 template<typename CreationDateTimeT = Aws::String>
76 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
77 template<typename CreationDateTimeT = Aws::String>
78 UnarchiveApplicationResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 template<typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
88 template<typename DescriptionT = Aws::String>
89 UnarchiveApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
91
93
96 inline bool GetIsArchived() const { return m_isArchived; }
97 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
98 inline UnarchiveApplicationResult& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
100
102
105 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
106 template<typename LastModifiedDateTimeT = Aws::String>
107 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) { m_lastModifiedDateTimeHasBeenSet = true; m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value); }
108 template<typename LastModifiedDateTimeT = Aws::String>
109 UnarchiveApplicationResult& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) { SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetName() const { return m_name; }
117 template<typename NameT = Aws::String>
118 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
119 template<typename NameT = Aws::String>
120 UnarchiveApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
122
124
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
128 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
130 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 UnarchiveApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
132 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
133 UnarchiveApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
134 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
135 }
137
139
142 inline const Aws::String& GetWaveID() const { return m_waveID; }
143 template<typename WaveIDT = Aws::String>
144 void SetWaveID(WaveIDT&& value) { m_waveIDHasBeenSet = true; m_waveID = std::forward<WaveIDT>(value); }
145 template<typename WaveIDT = Aws::String>
146 UnarchiveApplicationResult& WithWaveID(WaveIDT&& value) { SetWaveID(std::forward<WaveIDT>(value)); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 UnarchiveApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 ApplicationAggregatedStatus m_applicationAggregatedStatus;
160 bool m_applicationAggregatedStatusHasBeenSet = false;
161
162 Aws::String m_applicationID;
163 bool m_applicationIDHasBeenSet = false;
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 Aws::String m_creationDateTime;
169 bool m_creationDateTimeHasBeenSet = false;
170
171 Aws::String m_description;
172 bool m_descriptionHasBeenSet = false;
173
174 bool m_isArchived{false};
175 bool m_isArchivedHasBeenSet = false;
176
177 Aws::String m_lastModifiedDateTime;
178 bool m_lastModifiedDateTimeHasBeenSet = false;
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
184 bool m_tagsHasBeenSet = false;
185
186 Aws::String m_waveID;
187 bool m_waveIDHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace mgn
195} // 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)
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