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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace SageMakerGeospatial
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>
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>
67 inline void SetDurationInSeconds(
int value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
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>
88 template<
typename InputConfigT = InputConfigOutput>
89 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet =
true; m_inputConfig = std::forward<InputConfigT>(value); }
90 template<
typename InputConfigT = InputConfigOutput>
99 template<
typename JobConfigT = JobConfigInput>
100 void SetJobConfig(JobConfigT&& value) { m_jobConfigHasBeenSet =
true; m_jobConfig = std::forward<JobConfigT>(value); }
101 template<
typename JobConfigT = JobConfigInput>
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>
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>
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>>
145 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
147 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
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>
162 bool m_arnHasBeenSet =
false;
165 bool m_creationTimeHasBeenSet =
false;
167 int m_durationInSeconds{0};
168 bool m_durationInSecondsHasBeenSet =
false;
171 bool m_executionRoleArnHasBeenSet =
false;
173 InputConfigOutput m_inputConfig;
174 bool m_inputConfigHasBeenSet =
false;
176 JobConfigInput m_jobConfig;
177 bool m_jobConfigHasBeenSet =
false;
180 bool m_kmsKeyIdHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
192 bool m_requestIdHasBeenSet =
false;
void SetInputConfig(InputConfigT &&value)
void SetJobConfig(JobConfigT &&value)
const Aws::String & GetRequestId() const
StartEarthObservationJobResult & WithStatus(EarthObservationJobStatus value)
StartEarthObservationJobResult & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult()=default
StartEarthObservationJobResult & WithName(NameT &&value)
StartEarthObservationJobResult & WithInputConfig(InputConfigT &&value)
StartEarthObservationJobResult & WithDurationInSeconds(int value)
EarthObservationJobStatus GetStatus() const
StartEarthObservationJobResult & WithJobConfig(JobConfigT &&value)
StartEarthObservationJobResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
int GetDurationInSeconds() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartEarthObservationJobResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEarthObservationJobResult & WithCreationTime(CreationTimeT &&value)
StartEarthObservationJobResult & WithTags(TagsT &&value)
StartEarthObservationJobResult & WithArn(ArnT &&value)
void SetDurationInSeconds(int value)
const JobConfigInput & GetJobConfig() const
const InputConfigOutput & GetInputConfig() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetKmsKeyId() const
StartEarthObservationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(EarthObservationJobStatus value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetName(NameT &&value)
void SetArn(ArnT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetArn() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetExecutionRoleArn() const
EarthObservationJobStatus
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