AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
StartEarthObservationJobResult.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/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
12#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
13#include <aws/sagemaker-geospatial/model/InputConfigOutput.h>
14#include <aws/sagemaker-geospatial/model/JobConfigInput.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 SageMakerGeospatial {
28namespace Model {
30 public:
31 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult() = default;
33 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult& operator=(
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
58 template <typename CreationTimeT = Aws::Utils::DateTime>
59 void SetCreationTime(CreationTimeT&& value) {
60 m_creationTimeHasBeenSet = true;
61 m_creationTime = std::forward<CreationTimeT>(value);
62 }
63 template <typename CreationTimeT = Aws::Utils::DateTime>
65 SetCreationTime(std::forward<CreationTimeT>(value));
66 return *this;
67 }
69
71
74 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
75 inline void SetDurationInSeconds(int value) {
76 m_durationInSecondsHasBeenSet = true;
77 m_durationInSeconds = value;
78 }
81 return *this;
82 }
84
86
90 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
91 template <typename ExecutionRoleArnT = Aws::String>
92 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
93 m_executionRoleArnHasBeenSet = true;
94 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
95 }
96 template <typename ExecutionRoleArnT = Aws::String>
98 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
99 return *this;
100 }
102
104
107 inline const InputConfigOutput& GetInputConfig() const { return m_inputConfig; }
108 template <typename InputConfigT = InputConfigOutput>
109 void SetInputConfig(InputConfigT&& value) {
110 m_inputConfigHasBeenSet = true;
111 m_inputConfig = std::forward<InputConfigT>(value);
112 }
113 template <typename InputConfigT = InputConfigOutput>
115 SetInputConfig(std::forward<InputConfigT>(value));
116 return *this;
117 }
119
121
124 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
125 template <typename JobConfigT = JobConfigInput>
126 void SetJobConfig(JobConfigT&& value) {
127 m_jobConfigHasBeenSet = true;
128 m_jobConfig = std::forward<JobConfigT>(value);
129 }
130 template <typename JobConfigT = JobConfigInput>
132 SetJobConfig(std::forward<JobConfigT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
142 template <typename KmsKeyIdT = Aws::String>
143 void SetKmsKeyId(KmsKeyIdT&& value) {
144 m_kmsKeyIdHasBeenSet = true;
145 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
146 }
147 template <typename KmsKeyIdT = Aws::String>
149 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::String& GetName() const { return m_name; }
159 template <typename NameT = Aws::String>
160 void SetName(NameT&& value) {
161 m_nameHasBeenSet = true;
162 m_name = std::forward<NameT>(value);
163 }
164 template <typename NameT = Aws::String>
166 SetName(std::forward<NameT>(value));
167 return *this;
168 }
170
172
175 inline EarthObservationJobStatus GetStatus() const { return m_status; }
177 m_statusHasBeenSet = true;
178 m_status = value;
179 }
181 SetStatus(value);
182 return *this;
183 }
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
191 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 void SetTags(TagsT&& value) {
193 m_tagsHasBeenSet = true;
194 m_tags = std::forward<TagsT>(value);
195 }
196 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 SetTags(std::forward<TagsT>(value));
199 return *this;
200 }
201 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
202 StartEarthObservationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
203 m_tagsHasBeenSet = true;
204 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
205 return *this;
206 }
208
210
211 inline const Aws::String& GetRequestId() const { return m_requestId; }
212 template <typename RequestIdT = Aws::String>
213 void SetRequestId(RequestIdT&& value) {
214 m_requestIdHasBeenSet = true;
215 m_requestId = std::forward<RequestIdT>(value);
216 }
217 template <typename RequestIdT = Aws::String>
219 SetRequestId(std::forward<RequestIdT>(value));
220 return *this;
221 }
223 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
224
225 private:
226 Aws::String m_arn;
227
228 Aws::Utils::DateTime m_creationTime{};
229
230 int m_durationInSeconds{0};
231
232 Aws::String m_executionRoleArn;
233
234 InputConfigOutput m_inputConfig;
235
236 JobConfigInput m_jobConfig;
237
238 Aws::String m_kmsKeyId;
239
240 Aws::String m_name;
241
243
245
246 Aws::String m_requestId;
247 Aws::Http::HttpResponseCode m_HttpResponseCode;
248 bool m_arnHasBeenSet = false;
249 bool m_creationTimeHasBeenSet = false;
250 bool m_durationInSecondsHasBeenSet = false;
251 bool m_executionRoleArnHasBeenSet = false;
252 bool m_inputConfigHasBeenSet = false;
253 bool m_jobConfigHasBeenSet = false;
254 bool m_kmsKeyIdHasBeenSet = false;
255 bool m_nameHasBeenSet = false;
256 bool m_statusHasBeenSet = false;
257 bool m_tagsHasBeenSet = false;
258 bool m_requestIdHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace SageMakerGeospatial
263} // namespace Aws
StartEarthObservationJobResult & WithStatus(EarthObservationJobStatus value)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult()=default
StartEarthObservationJobResult & WithInputConfig(InputConfigT &&value)
StartEarthObservationJobResult & WithJobConfig(JobConfigT &&value)
StartEarthObservationJobResult & WithRequestId(RequestIdT &&value)
StartEarthObservationJobResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEarthObservationJobResult & WithCreationTime(CreationTimeT &&value)
StartEarthObservationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&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
Aws::Utils::Json::JsonValue JsonValue