AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline void SetArn(const Aws::String& value) { m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arn.assign(value); }
53 inline GetEarthObservationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline GetEarthObservationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline GetEarthObservationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
63 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
64 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
66 inline GetEarthObservationJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
68
70
73 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
74 inline void SetDurationInSeconds(int value) { m_durationInSeconds = value; }
77
79
82 inline const EarthObservationJobErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
83 inline void SetErrorDetails(const EarthObservationJobErrorDetails& value) { m_errorDetails = value; }
84 inline void SetErrorDetails(EarthObservationJobErrorDetails&& value) { m_errorDetails = std::move(value); }
88
90
94 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
95 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
96 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
97 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
99 inline GetEarthObservationJobResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
100 inline GetEarthObservationJobResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
102
104
107 inline const ExportErrorDetails& GetExportErrorDetails() const{ return m_exportErrorDetails; }
108 inline void SetExportErrorDetails(const ExportErrorDetails& value) { m_exportErrorDetails = value; }
109 inline void SetExportErrorDetails(ExportErrorDetails&& value) { m_exportErrorDetails = std::move(value); }
113
115
118 inline const EarthObservationJobExportStatus& GetExportStatus() const{ return m_exportStatus; }
119 inline void SetExportStatus(const EarthObservationJobExportStatus& value) { m_exportStatus = value; }
120 inline void SetExportStatus(EarthObservationJobExportStatus&& value) { m_exportStatus = std::move(value); }
124
126
129 inline const InputConfigOutput& GetInputConfig() const{ return m_inputConfig; }
130 inline void SetInputConfig(const InputConfigOutput& value) { m_inputConfig = value; }
131 inline void SetInputConfig(InputConfigOutput&& value) { m_inputConfig = std::move(value); }
133 inline GetEarthObservationJobResult& WithInputConfig(InputConfigOutput&& value) { SetInputConfig(std::move(value)); return *this;}
135
137
140 inline const JobConfigInput& GetJobConfig() const{ return m_jobConfig; }
141 inline void SetJobConfig(const JobConfigInput& value) { m_jobConfig = value; }
142 inline void SetJobConfig(JobConfigInput&& value) { m_jobConfig = std::move(value); }
143 inline GetEarthObservationJobResult& WithJobConfig(const JobConfigInput& value) { SetJobConfig(value); return *this;}
144 inline GetEarthObservationJobResult& WithJobConfig(JobConfigInput&& value) { SetJobConfig(std::move(value)); return *this;}
146
148
151 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
152 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
153 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
154 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
155 inline GetEarthObservationJobResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
156 inline GetEarthObservationJobResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
157 inline GetEarthObservationJobResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
159
161
164 inline const Aws::String& GetName() const{ return m_name; }
165 inline void SetName(const Aws::String& value) { m_name = value; }
166 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
167 inline void SetName(const char* value) { m_name.assign(value); }
168 inline GetEarthObservationJobResult& WithName(const Aws::String& value) { SetName(value); return *this;}
169 inline GetEarthObservationJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
170 inline GetEarthObservationJobResult& WithName(const char* value) { SetName(value); return *this;}
172
174
177 inline const Aws::Vector<OutputBand>& GetOutputBands() const{ return m_outputBands; }
178 inline void SetOutputBands(const Aws::Vector<OutputBand>& value) { m_outputBands = value; }
179 inline void SetOutputBands(Aws::Vector<OutputBand>&& value) { m_outputBands = std::move(value); }
181 inline GetEarthObservationJobResult& WithOutputBands(Aws::Vector<OutputBand>&& value) { SetOutputBands(std::move(value)); return *this;}
182 inline GetEarthObservationJobResult& AddOutputBands(const OutputBand& value) { m_outputBands.push_back(value); return *this; }
183 inline GetEarthObservationJobResult& AddOutputBands(OutputBand&& value) { m_outputBands.push_back(std::move(value)); return *this; }
185
187
190 inline const EarthObservationJobStatus& GetStatus() const{ return m_status; }
191 inline void SetStatus(const EarthObservationJobStatus& value) { m_status = value; }
192 inline void SetStatus(EarthObservationJobStatus&& value) { m_status = std::move(value); }
193 inline GetEarthObservationJobResult& WithStatus(const EarthObservationJobStatus& value) { SetStatus(value); return *this;}
194 inline GetEarthObservationJobResult& WithStatus(EarthObservationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
196
198
201 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
202 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
203 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
205 inline GetEarthObservationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
206 inline GetEarthObservationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
207 inline GetEarthObservationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
208 inline GetEarthObservationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
209 inline GetEarthObservationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
210 inline GetEarthObservationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
211 inline GetEarthObservationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
212 inline GetEarthObservationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
214
216
217 inline const Aws::String& GetRequestId() const{ return m_requestId; }
218 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
219 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
220 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
221 inline GetEarthObservationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
222 inline GetEarthObservationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
223 inline GetEarthObservationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
225 private:
226
227 Aws::String m_arn;
228
229 Aws::Utils::DateTime m_creationTime;
230
231 int m_durationInSeconds;
232
233 EarthObservationJobErrorDetails m_errorDetails;
234
235 Aws::String m_executionRoleArn;
236
237 ExportErrorDetails m_exportErrorDetails;
238
239 EarthObservationJobExportStatus m_exportStatus;
240
241 InputConfigOutput m_inputConfig;
242
243 JobConfigInput m_jobConfig;
244
245 Aws::String m_kmsKeyId;
246
247 Aws::String m_name;
248
249 Aws::Vector<OutputBand> m_outputBands;
250
252
254
255 Aws::String m_requestId;
256 };
257
258} // namespace Model
259} // namespace SageMakerGeospatial
260} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEarthObservationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetEarthObservationJobResult & WithInputConfig(const InputConfigOutput &value)
GetEarthObservationJobResult & WithOutputBands(const Aws::Vector< OutputBand > &value)
GetEarthObservationJobResult & WithErrorDetails(const EarthObservationJobErrorDetails &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetEarthObservationJobResult & WithJobConfig(JobConfigInput &&value)
AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEarthObservationJobResult & WithStatus(const EarthObservationJobStatus &value)
GetEarthObservationJobResult & WithExportErrorDetails(ExportErrorDetails &&value)
GetEarthObservationJobResult & WithErrorDetails(EarthObservationJobErrorDetails &&value)
GetEarthObservationJobResult & WithStatus(EarthObservationJobStatus &&value)
GetEarthObservationJobResult & WithExportStatus(const EarthObservationJobExportStatus &value)
GetEarthObservationJobResult & WithInputConfig(InputConfigOutput &&value)
GetEarthObservationJobResult & WithExportErrorDetails(const ExportErrorDetails &value)
GetEarthObservationJobResult & WithArn(Aws::String &&value)
GetEarthObservationJobResult & AddOutputBands(const OutputBand &value)
GetEarthObservationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetEarthObservationJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetEarthObservationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetEarthObservationJobResult & WithRequestId(Aws::String &&value)
GetEarthObservationJobResult & WithExecutionRoleArn(const char *value)
GetEarthObservationJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetEarthObservationJobResult & WithJobConfig(const JobConfigInput &value)
GetEarthObservationJobResult & WithRequestId(const char *value)
GetEarthObservationJobResult & WithExecutionRoleArn(const Aws::String &value)
GetEarthObservationJobResult & WithKmsKeyId(const Aws::String &value)
GetEarthObservationJobResult & WithKmsKeyId(const char *value)
GetEarthObservationJobResult & WithName(Aws::String &&value)
void SetErrorDetails(const EarthObservationJobErrorDetails &value)
GetEarthObservationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
GetEarthObservationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetExportStatus(const EarthObservationJobExportStatus &value)
GetEarthObservationJobResult & WithRequestId(const Aws::String &value)
const EarthObservationJobErrorDetails & GetErrorDetails() const
GetEarthObservationJobResult & WithName(const Aws::String &value)
GetEarthObservationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
GetEarthObservationJobResult & AddOutputBands(OutputBand &&value)
GetEarthObservationJobResult & WithExportStatus(EarthObservationJobExportStatus &&value)
GetEarthObservationJobResult & WithArn(const Aws::String &value)
GetEarthObservationJobResult & AddTags(const char *key, Aws::String &&value)
GetEarthObservationJobResult & WithOutputBands(Aws::Vector< OutputBand > &&value)
GetEarthObservationJobResult & WithExecutionRoleArn(Aws::String &&value)
GetEarthObservationJobResult & WithKmsKeyId(Aws::String &&value)
GetEarthObservationJobResult & AddTags(const char *key, const char *value)
GetEarthObservationJobResult & AddTags(Aws::String &&key, const char *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