AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetEarthObservationJobResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
13#include <aws/sagemaker-geospatial/model/EarthObservationJobErrorDetails.h>
14#include <aws/sagemaker-geospatial/model/EarthObservationJobExportStatus.h>
15#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
16#include <aws/sagemaker-geospatial/model/ExportErrorDetails.h>
17#include <aws/sagemaker-geospatial/model/InputConfigOutput.h>
18#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
19#include <aws/sagemaker-geospatial/model/OutputBand.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMakerGeospatial {
33namespace Model {
35 public:
36 AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult() = default;
38 AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult& operator=(
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
63 template <typename CreationTimeT = Aws::Utils::DateTime>
64 void SetCreationTime(CreationTimeT&& value) {
65 m_creationTimeHasBeenSet = true;
66 m_creationTime = std::forward<CreationTimeT>(value);
67 }
68 template <typename CreationTimeT = Aws::Utils::DateTime>
70 SetCreationTime(std::forward<CreationTimeT>(value));
71 return *this;
72 }
74
76
79 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
80 inline void SetDurationInSeconds(int value) {
81 m_durationInSecondsHasBeenSet = true;
82 m_durationInSeconds = value;
83 }
86 return *this;
87 }
89
91
94 inline const EarthObservationJobErrorDetails& GetErrorDetails() const { return m_errorDetails; }
95 template <typename ErrorDetailsT = EarthObservationJobErrorDetails>
96 void SetErrorDetails(ErrorDetailsT&& value) {
97 m_errorDetailsHasBeenSet = true;
98 m_errorDetails = std::forward<ErrorDetailsT>(value);
99 }
100 template <typename ErrorDetailsT = EarthObservationJobErrorDetails>
102 SetErrorDetails(std::forward<ErrorDetailsT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
113 template <typename ExecutionRoleArnT = Aws::String>
114 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
115 m_executionRoleArnHasBeenSet = true;
116 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
117 }
118 template <typename ExecutionRoleArnT = Aws::String>
120 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
121 return *this;
122 }
124
126
129 inline const ExportErrorDetails& GetExportErrorDetails() const { return m_exportErrorDetails; }
130 template <typename ExportErrorDetailsT = ExportErrorDetails>
131 void SetExportErrorDetails(ExportErrorDetailsT&& value) {
132 m_exportErrorDetailsHasBeenSet = true;
133 m_exportErrorDetails = std::forward<ExportErrorDetailsT>(value);
134 }
135 template <typename ExportErrorDetailsT = ExportErrorDetails>
137 SetExportErrorDetails(std::forward<ExportErrorDetailsT>(value));
138 return *this;
139 }
141
143
146 inline EarthObservationJobExportStatus GetExportStatus() const { return m_exportStatus; }
148 m_exportStatusHasBeenSet = true;
149 m_exportStatus = value;
150 }
152 SetExportStatus(value);
153 return *this;
154 }
156
158
161 inline const InputConfigOutput& GetInputConfig() const { return m_inputConfig; }
162 template <typename InputConfigT = InputConfigOutput>
163 void SetInputConfig(InputConfigT&& value) {
164 m_inputConfigHasBeenSet = true;
165 m_inputConfig = std::forward<InputConfigT>(value);
166 }
167 template <typename InputConfigT = InputConfigOutput>
169 SetInputConfig(std::forward<InputConfigT>(value));
170 return *this;
171 }
173
175
178 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
179 template <typename JobConfigT = JobConfigInput>
180 void SetJobConfig(JobConfigT&& value) {
181 m_jobConfigHasBeenSet = true;
182 m_jobConfig = std::forward<JobConfigT>(value);
183 }
184 template <typename JobConfigT = JobConfigInput>
186 SetJobConfig(std::forward<JobConfigT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
196 template <typename KmsKeyIdT = Aws::String>
197 void SetKmsKeyId(KmsKeyIdT&& value) {
198 m_kmsKeyIdHasBeenSet = true;
199 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
200 }
201 template <typename KmsKeyIdT = Aws::String>
203 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
204 return *this;
205 }
207
209
212 inline const Aws::String& GetName() const { return m_name; }
213 template <typename NameT = Aws::String>
214 void SetName(NameT&& value) {
215 m_nameHasBeenSet = true;
216 m_name = std::forward<NameT>(value);
217 }
218 template <typename NameT = Aws::String>
220 SetName(std::forward<NameT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::Vector<OutputBand>& GetOutputBands() const { return m_outputBands; }
230 template <typename OutputBandsT = Aws::Vector<OutputBand>>
231 void SetOutputBands(OutputBandsT&& value) {
232 m_outputBandsHasBeenSet = true;
233 m_outputBands = std::forward<OutputBandsT>(value);
234 }
235 template <typename OutputBandsT = Aws::Vector<OutputBand>>
237 SetOutputBands(std::forward<OutputBandsT>(value));
238 return *this;
239 }
240 template <typename OutputBandsT = OutputBand>
242 m_outputBandsHasBeenSet = true;
243 m_outputBands.emplace_back(std::forward<OutputBandsT>(value));
244 return *this;
245 }
247
249
252 inline EarthObservationJobStatus GetStatus() const { return m_status; }
254 m_statusHasBeenSet = true;
255 m_status = value;
256 }
258 SetStatus(value);
259 return *this;
260 }
262
264
267 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
268 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 void SetTags(TagsT&& value) {
270 m_tagsHasBeenSet = true;
271 m_tags = std::forward<TagsT>(value);
272 }
273 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
275 SetTags(std::forward<TagsT>(value));
276 return *this;
277 }
278 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
279 GetEarthObservationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
280 m_tagsHasBeenSet = true;
281 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
282 return *this;
283 }
285
287
288 inline const Aws::String& GetRequestId() const { return m_requestId; }
289 template <typename RequestIdT = Aws::String>
290 void SetRequestId(RequestIdT&& value) {
291 m_requestIdHasBeenSet = true;
292 m_requestId = std::forward<RequestIdT>(value);
293 }
294 template <typename RequestIdT = Aws::String>
296 SetRequestId(std::forward<RequestIdT>(value));
297 return *this;
298 }
300 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
301
302 private:
303 Aws::String m_arn;
304
305 Aws::Utils::DateTime m_creationTime{};
306
307 int m_durationInSeconds{0};
308
309 EarthObservationJobErrorDetails m_errorDetails;
310
311 Aws::String m_executionRoleArn;
312
313 ExportErrorDetails m_exportErrorDetails;
314
316
317 InputConfigOutput m_inputConfig;
318
319 JobConfigInput m_jobConfig;
320
321 Aws::String m_kmsKeyId;
322
323 Aws::String m_name;
324
325 Aws::Vector<OutputBand> m_outputBands;
326
328
330
331 Aws::String m_requestId;
332 Aws::Http::HttpResponseCode m_HttpResponseCode;
333 bool m_arnHasBeenSet = false;
334 bool m_creationTimeHasBeenSet = false;
335 bool m_durationInSecondsHasBeenSet = false;
336 bool m_errorDetailsHasBeenSet = false;
337 bool m_executionRoleArnHasBeenSet = false;
338 bool m_exportErrorDetailsHasBeenSet = false;
339 bool m_exportStatusHasBeenSet = false;
340 bool m_inputConfigHasBeenSet = false;
341 bool m_jobConfigHasBeenSet = false;
342 bool m_kmsKeyIdHasBeenSet = false;
343 bool m_nameHasBeenSet = false;
344 bool m_outputBandsHasBeenSet = false;
345 bool m_statusHasBeenSet = false;
346 bool m_tagsHasBeenSet = false;
347 bool m_requestIdHasBeenSet = false;
348};
349
350} // namespace Model
351} // namespace SageMakerGeospatial
352} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEarthObservationJobResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
GetEarthObservationJobResult & WithExportErrorDetails(ExportErrorDetailsT &&value)
GetEarthObservationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEarthObservationJobResult & WithKmsKeyId(KmsKeyIdT &&value)
GetEarthObservationJobResult & WithStatus(EarthObservationJobStatus value)
GetEarthObservationJobResult & WithRequestId(RequestIdT &&value)
GetEarthObservationJobResult & WithExportStatus(EarthObservationJobExportStatus value)
GetEarthObservationJobResult & WithCreationTime(CreationTimeT &&value)
GetEarthObservationJobResult & AddOutputBands(OutputBandsT &&value)
GetEarthObservationJobResult & WithErrorDetails(ErrorDetailsT &&value)
GetEarthObservationJobResult & WithInputConfig(InputConfigT &&value)
const EarthObservationJobErrorDetails & GetErrorDetails() const
AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult()=default
GetEarthObservationJobResult & WithOutputBands(OutputBandsT &&value)
GetEarthObservationJobResult & WithJobConfig(JobConfigT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue