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/location/LocationService_EXPORTS.h>
12#include <aws/location/model/JobAction.h>
13#include <aws/location/model/JobActionOptions.h>
14#include <aws/location/model/JobError.h>
15#include <aws/location/model/JobInputOptions.h>
16#include <aws/location/model/JobOutputOptions.h>
17#include <aws/location/model/JobStatus.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace LocationService {
44 m_actionHasBeenSet =
true;
58 template <
typename ActionOptionsT = JobActionOptions>
60 m_actionOptionsHasBeenSet =
true;
61 m_actionOptions = std::forward<ActionOptionsT>(value);
63 template <
typename ActionOptionsT = JobActionOptions>
77 template <
typename CreatedAtT = Aws::Utils::DateTime>
79 m_createdAtHasBeenSet =
true;
80 m_createdAt = std::forward<CreatedAtT>(value);
82 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 template <
typename EndedAtT = Aws::Utils::DateTime>
100 m_endedAtHasBeenSet =
true;
101 m_endedAt = std::forward<EndedAtT>(value);
103 template <
typename EndedAtT = Aws::Utils::DateTime>
115 template <
typename ErrorT = JobError>
117 m_errorHasBeenSet =
true;
118 m_error = std::forward<ErrorT>(value);
120 template <
typename ErrorT = JobError>
122 SetError(std::forward<ErrorT>(value));
132 template <
typename ExecutionRoleArnT = Aws::String>
134 m_executionRoleArnHasBeenSet =
true;
135 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
137 template <
typename ExecutionRoleArnT = Aws::String>
149 template <
typename InputOptionsT = JobInputOptions>
151 m_inputOptionsHasBeenSet =
true;
152 m_inputOptions = std::forward<InputOptionsT>(value);
154 template <
typename InputOptionsT = JobInputOptions>
166 template <
typename JobArnT = Aws::String>
168 m_jobArnHasBeenSet =
true;
169 m_jobArn = std::forward<JobArnT>(value);
171 template <
typename JobArnT = Aws::String>
183 template <
typename JobIdT = Aws::String>
185 m_jobIdHasBeenSet =
true;
186 m_jobId = std::forward<JobIdT>(value);
188 template <
typename JobIdT = Aws::String>
190 SetJobId(std::forward<JobIdT>(value));
200 template <
typename NameT = Aws::String>
202 m_nameHasBeenSet =
true;
203 m_name = std::forward<NameT>(value);
205 template <
typename NameT = Aws::String>
207 SetName(std::forward<NameT>(value));
217 template <
typename OutputOptionsT = JobOutputOptions>
219 m_outputOptionsHasBeenSet =
true;
220 m_outputOptions = std::forward<OutputOptionsT>(value);
222 template <
typename OutputOptionsT = JobOutputOptions>
235 m_statusHasBeenSet =
true;
251 template <
typename UpdatedAtT = Aws::Utils::DateTime>
253 m_updatedAtHasBeenSet =
true;
254 m_updatedAt = std::forward<UpdatedAtT>(value);
256 template <
typename UpdatedAtT = Aws::Utils::DateTime>
268 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
270 m_tagsHasBeenSet =
true;
271 m_tags = std::forward<TagsT>(value);
273 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
275 SetTags(std::forward<TagsT>(value));
278 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
280 m_tagsHasBeenSet =
true;
281 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
289 template <
typename RequestIdT = Aws::String>
291 m_requestIdHasBeenSet =
true;
292 m_requestId = std::forward<RequestIdT>(value);
294 template <
typename RequestIdT = Aws::String>
305 JobActionOptions m_actionOptions;
315 JobInputOptions m_inputOptions;
323 JobOutputOptions m_outputOptions;
333 bool m_actionHasBeenSet =
false;
334 bool m_actionOptionsHasBeenSet =
false;
335 bool m_createdAtHasBeenSet =
false;
336 bool m_endedAtHasBeenSet =
false;
337 bool m_errorHasBeenSet =
false;
338 bool m_executionRoleArnHasBeenSet =
false;
339 bool m_inputOptionsHasBeenSet =
false;
340 bool m_jobArnHasBeenSet =
false;
341 bool m_jobIdHasBeenSet =
false;
342 bool m_nameHasBeenSet =
false;
343 bool m_outputOptionsHasBeenSet =
false;
344 bool m_statusHasBeenSet =
false;
345 bool m_updatedAtHasBeenSet =
false;
346 bool m_tagsHasBeenSet =
false;
347 bool m_requestIdHasBeenSet =
false;
GetJobResult & WithOutputOptions(OutputOptionsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LOCATIONSERVICE_API GetJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobResult & WithJobId(JobIdT &&value)
GetJobResult & WithActionOptions(ActionOptionsT &&value)
const JobInputOptions & GetInputOptions() const
const Aws::String & GetRequestId() const
void SetName(NameT &&value)
const JobError & GetError() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetExecutionRoleArn() const
GetJobResult & WithStatus(JobStatus value)
GetJobResult & WithTags(TagsT &&value)
GetJobResult & WithJobArn(JobArnT &&value)
const Aws::String & GetName() const
void SetActionOptions(ActionOptionsT &&value)
const JobActionOptions & GetActionOptions() const
const Aws::String & GetJobArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
JobStatus GetStatus() const
JobAction GetAction() const
void SetJobArn(JobArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetStatus(JobStatus value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetJobId() const
void SetJobId(JobIdT &&value)
void SetAction(JobAction value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetEndedAt(EndedAtT &&value)
void SetError(ErrorT &&value)
GetJobResult & WithRequestId(RequestIdT &&value)
GetJobResult & WithInputOptions(InputOptionsT &&value)
void SetOutputOptions(OutputOptionsT &&value)
AWS_LOCATIONSERVICE_API GetJobResult()=default
AWS_LOCATIONSERVICE_API GetJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobResult & WithUpdatedAt(UpdatedAtT &&value)
GetJobResult & WithAction(JobAction value)
GetJobResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
GetJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const JobOutputOptions & GetOutputOptions() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
GetJobResult & WithName(NameT &&value)
GetJobResult & WithEndedAt(EndedAtT &&value)
GetJobResult & WithError(ErrorT &&value)
GetJobResult & WithCreatedAt(CreatedAtT &&value)
void SetInputOptions(InputOptionsT &&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