AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetEarthObservationJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
12#include <aws/sagemaker-geospatial/model/EarthObservationJobErrorDetails.h>
13#include <aws/sagemaker-geospatial/model/EarthObservationJobExportStatus.h>
14#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
15#include <aws/sagemaker-geospatial/model/ExportErrorDetails.h>
16#include <aws/sagemaker-geospatial/model/InputConfigOutput.h>
17#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
18#include <aws/sagemaker-geospatial/model/OutputBand.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMakerGeospatial {
32namespace Model {
34 public:
35 AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult() = default;
37 AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult& operator=(
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
62 template <typename CreationTimeT = Aws::Utils::DateTime>
63 void SetCreationTime(CreationTimeT&& value) {
64 m_creationTimeHasBeenSet = true;
65 m_creationTime = std::forward<CreationTimeT>(value);
66 }
67 template <typename CreationTimeT = Aws::Utils::DateTime>
69 SetCreationTime(std::forward<CreationTimeT>(value));
70 return *this;
71 }
73
75
78 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
79 inline void SetDurationInSeconds(int value) {
80 m_durationInSecondsHasBeenSet = true;
81 m_durationInSeconds = value;
82 }
85 return *this;
86 }
88
90
93 inline const EarthObservationJobErrorDetails& GetErrorDetails() const { return m_errorDetails; }
94 template <typename ErrorDetailsT = EarthObservationJobErrorDetails>
95 void SetErrorDetails(ErrorDetailsT&& value) {
96 m_errorDetailsHasBeenSet = true;
97 m_errorDetails = std::forward<ErrorDetailsT>(value);
98 }
99 template <typename ErrorDetailsT = EarthObservationJobErrorDetails>
101 SetErrorDetails(std::forward<ErrorDetailsT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
112 template <typename ExecutionRoleArnT = Aws::String>
113 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
114 m_executionRoleArnHasBeenSet = true;
115 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
116 }
117 template <typename ExecutionRoleArnT = Aws::String>
119 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
120 return *this;
121 }
123
125
128 inline const ExportErrorDetails& GetExportErrorDetails() const { return m_exportErrorDetails; }
129 template <typename ExportErrorDetailsT = ExportErrorDetails>
130 void SetExportErrorDetails(ExportErrorDetailsT&& value) {
131 m_exportErrorDetailsHasBeenSet = true;
132 m_exportErrorDetails = std::forward<ExportErrorDetailsT>(value);
133 }
134 template <typename ExportErrorDetailsT = ExportErrorDetails>
136 SetExportErrorDetails(std::forward<ExportErrorDetailsT>(value));
137 return *this;
138 }
140
142
145 inline EarthObservationJobExportStatus GetExportStatus() const { return m_exportStatus; }
147 m_exportStatusHasBeenSet = true;
148 m_exportStatus = value;
149 }
151 SetExportStatus(value);
152 return *this;
153 }
155
157
160 inline const InputConfigOutput& GetInputConfig() const { return m_inputConfig; }
161 template <typename InputConfigT = InputConfigOutput>
162 void SetInputConfig(InputConfigT&& value) {
163 m_inputConfigHasBeenSet = true;
164 m_inputConfig = std::forward<InputConfigT>(value);
165 }
166 template <typename InputConfigT = InputConfigOutput>
168 SetInputConfig(std::forward<InputConfigT>(value));
169 return *this;
170 }
172
174
177 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
178 template <typename JobConfigT = JobConfigInput>
179 void SetJobConfig(JobConfigT&& value) {
180 m_jobConfigHasBeenSet = true;
181 m_jobConfig = std::forward<JobConfigT>(value);
182 }
183 template <typename JobConfigT = JobConfigInput>
185 SetJobConfig(std::forward<JobConfigT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
195 template <typename KmsKeyIdT = Aws::String>
196 void SetKmsKeyId(KmsKeyIdT&& value) {
197 m_kmsKeyIdHasBeenSet = true;
198 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
199 }
200 template <typename KmsKeyIdT = Aws::String>
202 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::String& GetName() const { return m_name; }
212 template <typename NameT = Aws::String>
213 void SetName(NameT&& value) {
214 m_nameHasBeenSet = true;
215 m_name = std::forward<NameT>(value);
216 }
217 template <typename NameT = Aws::String>
219 SetName(std::forward<NameT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Vector<OutputBand>& GetOutputBands() const { return m_outputBands; }
229 template <typename OutputBandsT = Aws::Vector<OutputBand>>
230 void SetOutputBands(OutputBandsT&& value) {
231 m_outputBandsHasBeenSet = true;
232 m_outputBands = std::forward<OutputBandsT>(value);
233 }
234 template <typename OutputBandsT = Aws::Vector<OutputBand>>
236 SetOutputBands(std::forward<OutputBandsT>(value));
237 return *this;
238 }
239 template <typename OutputBandsT = OutputBand>
241 m_outputBandsHasBeenSet = true;
242 m_outputBands.emplace_back(std::forward<OutputBandsT>(value));
243 return *this;
244 }
246
248
251 inline EarthObservationJobStatus GetStatus() const { return m_status; }
253 m_statusHasBeenSet = true;
254 m_status = value;
255 }
257 SetStatus(value);
258 return *this;
259 }
261
263
266 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
267 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
268 void SetTags(TagsT&& value) {
269 m_tagsHasBeenSet = true;
270 m_tags = std::forward<TagsT>(value);
271 }
272 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
274 SetTags(std::forward<TagsT>(value));
275 return *this;
276 }
277 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
278 GetEarthObservationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
279 m_tagsHasBeenSet = true;
280 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
281 return *this;
282 }
284
286
287 inline const Aws::String& GetRequestId() const { return m_requestId; }
288 template <typename RequestIdT = Aws::String>
289 void SetRequestId(RequestIdT&& value) {
290 m_requestIdHasBeenSet = true;
291 m_requestId = std::forward<RequestIdT>(value);
292 }
293 template <typename RequestIdT = Aws::String>
295 SetRequestId(std::forward<RequestIdT>(value));
296 return *this;
297 }
299 private:
300 Aws::String m_arn;
301
302 Aws::Utils::DateTime m_creationTime{};
303
304 int m_durationInSeconds{0};
305
306 EarthObservationJobErrorDetails m_errorDetails;
307
308 Aws::String m_executionRoleArn;
309
310 ExportErrorDetails m_exportErrorDetails;
311
313
314 InputConfigOutput m_inputConfig;
315
316 JobConfigInput m_jobConfig;
317
318 Aws::String m_kmsKeyId;
319
320 Aws::String m_name;
321
322 Aws::Vector<OutputBand> m_outputBands;
323
325
327
328 Aws::String m_requestId;
329 bool m_arnHasBeenSet = false;
330 bool m_creationTimeHasBeenSet = false;
331 bool m_durationInSecondsHasBeenSet = false;
332 bool m_errorDetailsHasBeenSet = false;
333 bool m_executionRoleArnHasBeenSet = false;
334 bool m_exportErrorDetailsHasBeenSet = false;
335 bool m_exportStatusHasBeenSet = false;
336 bool m_inputConfigHasBeenSet = false;
337 bool m_jobConfigHasBeenSet = false;
338 bool m_kmsKeyIdHasBeenSet = false;
339 bool m_nameHasBeenSet = false;
340 bool m_outputBandsHasBeenSet = false;
341 bool m_statusHasBeenSet = false;
342 bool m_tagsHasBeenSet = false;
343 bool m_requestIdHasBeenSet = false;
344};
345
346} // namespace Model
347} // namespace SageMakerGeospatial
348} // 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