AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartEarthObservationJobResult.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/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
11#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
12#include <aws/sagemaker-geospatial/model/InputConfigOutput.h>
13#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMakerGeospatial {
27namespace Model {
29 public:
30 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult() = default;
32 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult& operator=(
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
57 template <typename CreationTimeT = Aws::Utils::DateTime>
58 void SetCreationTime(CreationTimeT&& value) {
59 m_creationTimeHasBeenSet = true;
60 m_creationTime = std::forward<CreationTimeT>(value);
61 }
62 template <typename CreationTimeT = Aws::Utils::DateTime>
64 SetCreationTime(std::forward<CreationTimeT>(value));
65 return *this;
66 }
68
70
73 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
74 inline void SetDurationInSeconds(int value) {
75 m_durationInSecondsHasBeenSet = true;
76 m_durationInSeconds = value;
77 }
80 return *this;
81 }
83
85
89 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
90 template <typename ExecutionRoleArnT = Aws::String>
91 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
92 m_executionRoleArnHasBeenSet = true;
93 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
94 }
95 template <typename ExecutionRoleArnT = Aws::String>
97 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
98 return *this;
99 }
101
103
106 inline const InputConfigOutput& GetInputConfig() const { return m_inputConfig; }
107 template <typename InputConfigT = InputConfigOutput>
108 void SetInputConfig(InputConfigT&& value) {
109 m_inputConfigHasBeenSet = true;
110 m_inputConfig = std::forward<InputConfigT>(value);
111 }
112 template <typename InputConfigT = InputConfigOutput>
114 SetInputConfig(std::forward<InputConfigT>(value));
115 return *this;
116 }
118
120
123 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
124 template <typename JobConfigT = JobConfigInput>
125 void SetJobConfig(JobConfigT&& value) {
126 m_jobConfigHasBeenSet = true;
127 m_jobConfig = std::forward<JobConfigT>(value);
128 }
129 template <typename JobConfigT = JobConfigInput>
131 SetJobConfig(std::forward<JobConfigT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
141 template <typename KmsKeyIdT = Aws::String>
142 void SetKmsKeyId(KmsKeyIdT&& value) {
143 m_kmsKeyIdHasBeenSet = true;
144 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
145 }
146 template <typename KmsKeyIdT = Aws::String>
148 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetName() const { return m_name; }
158 template <typename NameT = Aws::String>
159 void SetName(NameT&& value) {
160 m_nameHasBeenSet = true;
161 m_name = std::forward<NameT>(value);
162 }
163 template <typename NameT = Aws::String>
165 SetName(std::forward<NameT>(value));
166 return *this;
167 }
169
171
174 inline EarthObservationJobStatus GetStatus() const { return m_status; }
176 m_statusHasBeenSet = true;
177 m_status = value;
178 }
180 SetStatus(value);
181 return *this;
182 }
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) {
192 m_tagsHasBeenSet = true;
193 m_tags = std::forward<TagsT>(value);
194 }
195 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 SetTags(std::forward<TagsT>(value));
198 return *this;
199 }
200 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
201 StartEarthObservationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
202 m_tagsHasBeenSet = true;
203 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
204 return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template <typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) {
213 m_requestIdHasBeenSet = true;
214 m_requestId = std::forward<RequestIdT>(value);
215 }
216 template <typename RequestIdT = Aws::String>
218 SetRequestId(std::forward<RequestIdT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_arn;
224
225 Aws::Utils::DateTime m_creationTime{};
226
227 int m_durationInSeconds{0};
228
229 Aws::String m_executionRoleArn;
230
231 InputConfigOutput m_inputConfig;
232
233 JobConfigInput m_jobConfig;
234
235 Aws::String m_kmsKeyId;
236
237 Aws::String m_name;
238
240
242
243 Aws::String m_requestId;
244 bool m_arnHasBeenSet = false;
245 bool m_creationTimeHasBeenSet = false;
246 bool m_durationInSecondsHasBeenSet = false;
247 bool m_executionRoleArnHasBeenSet = false;
248 bool m_inputConfigHasBeenSet = false;
249 bool m_jobConfigHasBeenSet = false;
250 bool m_kmsKeyIdHasBeenSet = false;
251 bool m_nameHasBeenSet = false;
252 bool m_statusHasBeenSet = false;
253 bool m_tagsHasBeenSet = false;
254 bool m_requestIdHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace SageMakerGeospatial
259} // 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