AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartEarthObservationJobResult.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/InputConfigOutput.h>
11#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
12#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMakerGeospatial
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 StartEarthObservationJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
56 template<typename CreationTimeT = Aws::Utils::DateTime>
57 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
58 template<typename CreationTimeT = Aws::Utils::DateTime>
59 StartEarthObservationJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
61
63
66 inline int GetDurationInSeconds() const { return m_durationInSeconds; }
67 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
70
72
76 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
77 template<typename ExecutionRoleArnT = Aws::String>
78 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
79 template<typename ExecutionRoleArnT = Aws::String>
80 StartEarthObservationJobResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
82
84
87 inline const InputConfigOutput& GetInputConfig() const { return m_inputConfig; }
88 template<typename InputConfigT = InputConfigOutput>
89 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
90 template<typename InputConfigT = InputConfigOutput>
91 StartEarthObservationJobResult& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
93
95
98 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
99 template<typename JobConfigT = JobConfigInput>
100 void SetJobConfig(JobConfigT&& value) { m_jobConfigHasBeenSet = true; m_jobConfig = std::forward<JobConfigT>(value); }
101 template<typename JobConfigT = JobConfigInput>
102 StartEarthObservationJobResult& WithJobConfig(JobConfigT&& value) { SetJobConfig(std::forward<JobConfigT>(value)); return *this;}
104
106
109 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
110 template<typename KmsKeyIdT = Aws::String>
111 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
112 template<typename KmsKeyIdT = Aws::String>
113 StartEarthObservationJobResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 template<typename NameT = Aws::String>
122 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
123 template<typename NameT = Aws::String>
124 StartEarthObservationJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
126
128
131 inline EarthObservationJobStatus GetStatus() const { return m_status; }
132 inline void SetStatus(EarthObservationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
135
137
140 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
141 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
143 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 StartEarthObservationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
145 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
146 StartEarthObservationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
147 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template<typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
156 template<typename RequestIdT = Aws::String>
157 StartEarthObservationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
159 private:
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163
164 Aws::Utils::DateTime m_creationTime{};
165 bool m_creationTimeHasBeenSet = false;
166
167 int m_durationInSeconds{0};
168 bool m_durationInSecondsHasBeenSet = false;
169
170 Aws::String m_executionRoleArn;
171 bool m_executionRoleArnHasBeenSet = false;
172
173 InputConfigOutput m_inputConfig;
174 bool m_inputConfigHasBeenSet = false;
175
176 JobConfigInput m_jobConfig;
177 bool m_jobConfigHasBeenSet = false;
178
179 Aws::String m_kmsKeyId;
180 bool m_kmsKeyIdHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
189 bool m_tagsHasBeenSet = false;
190
191 Aws::String m_requestId;
192 bool m_requestIdHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace SageMakerGeospatial
197} // 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