AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
GetMicrovmImageBuildResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda-microvms/LambdaMicrovms_EXPORTS.h>
11#include <aws/lambda-microvms/model/Architecture.h>
12#include <aws/lambda-microvms/model/BuildState.h>
13#include <aws/lambda-microvms/model/Chipset.h>
14#include <aws/lambda-microvms/model/SnapshotBuild.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LambdaMicrovms {
28namespace Model {
30 public:
31 AWS_LAMBDAMICROVMS_API GetMicrovmImageBuildResult() = default;
34
36
39 inline const Aws::String& GetImageArn() const { return m_imageArn; }
40 template <typename ImageArnT = Aws::String>
41 void SetImageArn(ImageArnT&& value) {
42 m_imageArnHasBeenSet = true;
43 m_imageArn = std::forward<ImageArnT>(value);
44 }
45 template <typename ImageArnT = Aws::String>
47 SetImageArn(std::forward<ImageArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetImageVersion() const { return m_imageVersion; }
57 template <typename ImageVersionT = Aws::String>
58 void SetImageVersion(ImageVersionT&& value) {
59 m_imageVersionHasBeenSet = true;
60 m_imageVersion = std::forward<ImageVersionT>(value);
61 }
62 template <typename ImageVersionT = Aws::String>
64 SetImageVersion(std::forward<ImageVersionT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetBuildId() const { return m_buildId; }
74 template <typename BuildIdT = Aws::String>
75 void SetBuildId(BuildIdT&& value) {
76 m_buildIdHasBeenSet = true;
77 m_buildId = std::forward<BuildIdT>(value);
78 }
79 template <typename BuildIdT = Aws::String>
81 SetBuildId(std::forward<BuildIdT>(value));
82 return *this;
83 }
85
87
90 inline BuildState GetBuildState() const { return m_buildState; }
91 inline void SetBuildState(BuildState value) {
92 m_buildStateHasBeenSet = true;
93 m_buildState = value;
94 }
96 SetBuildState(value);
97 return *this;
98 }
100
102
105 inline Architecture GetArchitecture() const { return m_architecture; }
106 inline void SetArchitecture(Architecture value) {
107 m_architectureHasBeenSet = true;
108 m_architecture = value;
109 }
111 SetArchitecture(value);
112 return *this;
113 }
115
117
120 inline Chipset GetChipset() const { return m_chipset; }
121 inline void SetChipset(Chipset value) {
122 m_chipsetHasBeenSet = true;
123 m_chipset = value;
124 }
126 SetChipset(value);
127 return *this;
128 }
130
132
135 inline const Aws::String& GetChipsetGeneration() const { return m_chipsetGeneration; }
136 template <typename ChipsetGenerationT = Aws::String>
137 void SetChipsetGeneration(ChipsetGenerationT&& value) {
138 m_chipsetGenerationHasBeenSet = true;
139 m_chipsetGeneration = std::forward<ChipsetGenerationT>(value);
140 }
141 template <typename ChipsetGenerationT = Aws::String>
143 SetChipsetGeneration(std::forward<ChipsetGenerationT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetStateReason() const { return m_stateReason; }
153 template <typename StateReasonT = Aws::String>
154 void SetStateReason(StateReasonT&& value) {
155 m_stateReasonHasBeenSet = true;
156 m_stateReason = std::forward<StateReasonT>(value);
157 }
158 template <typename StateReasonT = Aws::String>
160 SetStateReason(std::forward<StateReasonT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
170 template <typename CreatedAtT = Aws::Utils::DateTime>
171 void SetCreatedAt(CreatedAtT&& value) {
172 m_createdAtHasBeenSet = true;
173 m_createdAt = std::forward<CreatedAtT>(value);
174 }
175 template <typename CreatedAtT = Aws::Utils::DateTime>
177 SetCreatedAt(std::forward<CreatedAtT>(value));
178 return *this;
179 }
181
183
186 inline const SnapshotBuild& GetSnapshotBuild() const { return m_snapshotBuild; }
187 template <typename SnapshotBuildT = SnapshotBuild>
188 void SetSnapshotBuild(SnapshotBuildT&& value) {
189 m_snapshotBuildHasBeenSet = true;
190 m_snapshotBuild = std::forward<SnapshotBuildT>(value);
191 }
192 template <typename SnapshotBuildT = SnapshotBuild>
194 SetSnapshotBuild(std::forward<SnapshotBuildT>(value));
195 return *this;
196 }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template <typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) {
204 m_requestIdHasBeenSet = true;
205 m_requestId = std::forward<RequestIdT>(value);
206 }
207 template <typename RequestIdT = Aws::String>
209 SetRequestId(std::forward<RequestIdT>(value));
210 return *this;
211 }
213 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
214
215 private:
216 Aws::String m_imageArn;
217
218 Aws::String m_imageVersion;
219
220 Aws::String m_buildId;
221
222 BuildState m_buildState{BuildState::NOT_SET};
223
224 Architecture m_architecture{Architecture::NOT_SET};
225
226 Chipset m_chipset{Chipset::NOT_SET};
227
228 Aws::String m_chipsetGeneration;
229
230 Aws::String m_stateReason;
231
232 Aws::Utils::DateTime m_createdAt{};
233
234 SnapshotBuild m_snapshotBuild;
235
236 Aws::String m_requestId;
237 Aws::Http::HttpResponseCode m_HttpResponseCode;
238 bool m_imageArnHasBeenSet = false;
239 bool m_imageVersionHasBeenSet = false;
240 bool m_buildIdHasBeenSet = false;
241 bool m_buildStateHasBeenSet = false;
242 bool m_architectureHasBeenSet = false;
243 bool m_chipsetHasBeenSet = false;
244 bool m_chipsetGenerationHasBeenSet = false;
245 bool m_stateReasonHasBeenSet = false;
246 bool m_createdAtHasBeenSet = false;
247 bool m_snapshotBuildHasBeenSet = false;
248 bool m_requestIdHasBeenSet = false;
249};
250
251} // namespace Model
252} // namespace LambdaMicrovms
253} // namespace Aws
GetMicrovmImageBuildResult & WithImageArn(ImageArnT &&value)
GetMicrovmImageBuildResult & WithStateReason(StateReasonT &&value)
AWS_LAMBDAMICROVMS_API GetMicrovmImageBuildResult()=default
AWS_LAMBDAMICROVMS_API GetMicrovmImageBuildResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMicrovmImageBuildResult & WithSnapshotBuild(SnapshotBuildT &&value)
GetMicrovmImageBuildResult & WithChipsetGeneration(ChipsetGenerationT &&value)
GetMicrovmImageBuildResult & WithArchitecture(Architecture value)
GetMicrovmImageBuildResult & WithChipset(Chipset value)
GetMicrovmImageBuildResult & WithCreatedAt(CreatedAtT &&value)
GetMicrovmImageBuildResult & WithBuildState(BuildState value)
GetMicrovmImageBuildResult & WithBuildId(BuildIdT &&value)
GetMicrovmImageBuildResult & WithRequestId(RequestIdT &&value)
GetMicrovmImageBuildResult & WithImageVersion(ImageVersionT &&value)
AWS_LAMBDAMICROVMS_API GetMicrovmImageBuildResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue