AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetEarthObservationJobResult.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker-geospatial/model/EarthObservationJobErrorDetails.h>
11#include <aws/sagemaker-geospatial/model/ExportErrorDetails.h>
12#include <aws/sagemaker-geospatial/model/EarthObservationJobExportStatus.h>
13#include <aws/sagemaker-geospatial/model/InputConfigOutput.h>
14#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/sagemaker-geospatial/model/OutputBand.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace SageMakerGeospatial
34{
35namespace Model
36{
38 {
39 public:
40 AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult() = default;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 GetEarthObservationJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
61 template<typename CreationTimeT = Aws::Utils::DateTime>
62 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
63 template<typename CreationTimeT = Aws::Utils::DateTime>
64 GetEarthObservationJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
66
68
71 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
72 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
75
77
80 inline const EarthObservationJobErrorDetails& GetErrorDetails() const { return m_errorDetails; }
81 template<typename ErrorDetailsT = EarthObservationJobErrorDetails>
82 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
83 template<typename ErrorDetailsT = EarthObservationJobErrorDetails>
84 GetEarthObservationJobResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
86
88
92 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
93 template<typename ExecutionRoleArnT = Aws::String>
94 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
95 template<typename ExecutionRoleArnT = Aws::String>
96 GetEarthObservationJobResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
98
100
103 inline const ExportErrorDetails& GetExportErrorDetails() const { return m_exportErrorDetails; }
104 template<typename ExportErrorDetailsT = ExportErrorDetails>
105 void SetExportErrorDetails(ExportErrorDetailsT&& value) { m_exportErrorDetailsHasBeenSet = true; m_exportErrorDetails = std::forward<ExportErrorDetailsT>(value); }
106 template<typename ExportErrorDetailsT = ExportErrorDetails>
107 GetEarthObservationJobResult& WithExportErrorDetails(ExportErrorDetailsT&& value) { SetExportErrorDetails(std::forward<ExportErrorDetailsT>(value)); return *this;}
109
111
114 inline EarthObservationJobExportStatus GetExportStatus() const { return m_exportStatus; }
115 inline void SetExportStatus(EarthObservationJobExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
118
120
123 inline const InputConfigOutput& GetInputConfig() const { return m_inputConfig; }
124 template<typename InputConfigT = InputConfigOutput>
125 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
126 template<typename InputConfigT = InputConfigOutput>
127 GetEarthObservationJobResult& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
129
131
134 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
135 template<typename JobConfigT = JobConfigInput>
136 void SetJobConfig(JobConfigT&& value) { m_jobConfigHasBeenSet = true; m_jobConfig = std::forward<JobConfigT>(value); }
137 template<typename JobConfigT = JobConfigInput>
138 GetEarthObservationJobResult& WithJobConfig(JobConfigT&& value) { SetJobConfig(std::forward<JobConfigT>(value)); return *this;}
140
142
145 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
146 template<typename KmsKeyIdT = Aws::String>
147 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
148 template<typename KmsKeyIdT = Aws::String>
149 GetEarthObservationJobResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
151
153
156 inline const Aws::String& GetName() const { return m_name; }
157 template<typename NameT = Aws::String>
158 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
159 template<typename NameT = Aws::String>
160 GetEarthObservationJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
162
164
167 inline const Aws::Vector<OutputBand>& GetOutputBands() const { return m_outputBands; }
168 template<typename OutputBandsT = Aws::Vector<OutputBand>>
169 void SetOutputBands(OutputBandsT&& value) { m_outputBandsHasBeenSet = true; m_outputBands = std::forward<OutputBandsT>(value); }
170 template<typename OutputBandsT = Aws::Vector<OutputBand>>
171 GetEarthObservationJobResult& WithOutputBands(OutputBandsT&& value) { SetOutputBands(std::forward<OutputBandsT>(value)); return *this;}
172 template<typename OutputBandsT = OutputBand>
173 GetEarthObservationJobResult& AddOutputBands(OutputBandsT&& value) { m_outputBandsHasBeenSet = true; m_outputBands.emplace_back(std::forward<OutputBandsT>(value)); return *this; }
175
177
180 inline EarthObservationJobStatus GetStatus() const { return m_status; }
181 inline void SetStatus(EarthObservationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
184
186
189 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
190 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
192 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 GetEarthObservationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
194 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
195 GetEarthObservationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
196 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template<typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
205 template<typename RequestIdT = Aws::String>
206 GetEarthObservationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
208 private:
209
210 Aws::String m_arn;
211 bool m_arnHasBeenSet = false;
212
213 Aws::Utils::DateTime m_creationTime{};
214 bool m_creationTimeHasBeenSet = false;
215
216 int m_durationInSeconds{0};
217 bool m_durationInSecondsHasBeenSet = false;
218
219 EarthObservationJobErrorDetails m_errorDetails;
220 bool m_errorDetailsHasBeenSet = false;
221
222 Aws::String m_executionRoleArn;
223 bool m_executionRoleArnHasBeenSet = false;
224
225 ExportErrorDetails m_exportErrorDetails;
226 bool m_exportErrorDetailsHasBeenSet = false;
227
229 bool m_exportStatusHasBeenSet = false;
230
231 InputConfigOutput m_inputConfig;
232 bool m_inputConfigHasBeenSet = false;
233
234 JobConfigInput m_jobConfig;
235 bool m_jobConfigHasBeenSet = false;
236
237 Aws::String m_kmsKeyId;
238 bool m_kmsKeyIdHasBeenSet = false;
239
240 Aws::String m_name;
241 bool m_nameHasBeenSet = false;
242
243 Aws::Vector<OutputBand> m_outputBands;
244 bool m_outputBandsHasBeenSet = false;
245
247 bool m_statusHasBeenSet = false;
248
250 bool m_tagsHasBeenSet = false;
251
252 Aws::String m_requestId;
253 bool m_requestIdHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace SageMakerGeospatial
258} // 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