7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/AlgorithmSpecification.h>
9#include <aws/braket/model/Association.h>
10#include <aws/braket/model/DeviceConfig.h>
11#include <aws/braket/model/HybridJobQueueInfo.h>
12#include <aws/braket/model/InputFileConfig.h>
13#include <aws/braket/model/InstanceConfig.h>
14#include <aws/braket/model/JobCheckpointConfig.h>
15#include <aws/braket/model/JobEventDetails.h>
16#include <aws/braket/model/JobOutputDataConfig.h>
17#include <aws/braket/model/JobPrimaryStatus.h>
18#include <aws/braket/model/JobStoppingCondition.h>
19#include <aws/core/utils/DateTime.h>
20#include <aws/core/utils/memory/stl/AWSMap.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
27template <
typename RESULT_TYPE>
28class AmazonWebServiceResult;
49 m_statusHasBeenSet =
true;
63 template <
typename JobArnT = Aws::String>
65 m_jobArnHasBeenSet =
true;
66 m_jobArn = std::forward<JobArnT>(value);
68 template <
typename JobArnT = Aws::String>
83 template <
typename RoleArnT = Aws::String>
85 m_roleArnHasBeenSet =
true;
86 m_roleArn = std::forward<RoleArnT>(value);
88 template <
typename RoleArnT = Aws::String>
101 template <
typename FailureReasonT = Aws::String>
103 m_failureReasonHasBeenSet =
true;
104 m_failureReason = std::forward<FailureReasonT>(value);
106 template <
typename FailureReasonT = Aws::String>
118 template <
typename JobNameT = Aws::String>
120 m_jobNameHasBeenSet =
true;
121 m_jobName = std::forward<JobNameT>(value);
123 template <
typename JobNameT = Aws::String>
138 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
140 m_hyperParametersHasBeenSet =
true;
141 m_hyperParameters = std::forward<HyperParametersT>(value);
143 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
148 template <
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
150 m_hyperParametersHasBeenSet =
true;
151 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
162 template <
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
164 m_inputDataConfigHasBeenSet =
true;
165 m_inputDataConfig = std::forward<InputDataConfigT>(value);
167 template <
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
172 template <
typename InputDataConfigT = InputFileConfig>
174 m_inputDataConfigHasBeenSet =
true;
175 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
186 template <
typename OutputDataConfigT = JobOutputDataConfig>
188 m_outputDataConfigHasBeenSet =
true;
189 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
191 template <
typename OutputDataConfigT = JobOutputDataConfig>
204 template <
typename StoppingConditionT = JobStoppingCondition>
206 m_stoppingConditionHasBeenSet =
true;
207 m_stoppingCondition = std::forward<StoppingConditionT>(value);
209 template <
typename StoppingConditionT = JobStoppingCondition>
221 template <
typename Checkpo
intConfigT = JobCheckpo
intConfig>
223 m_checkpointConfigHasBeenSet =
true;
224 m_checkpointConfig = std::forward<CheckpointConfigT>(value);
226 template <
typename Checkpo
intConfigT = JobCheckpo
intConfig>
239 template <
typename AlgorithmSpecificationT = AlgorithmSpecification>
241 m_algorithmSpecificationHasBeenSet =
true;
242 m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value);
244 template <
typename AlgorithmSpecificationT = AlgorithmSpecification>
257 template <
typename InstanceConfigT = InstanceConfig>
259 m_instanceConfigHasBeenSet =
true;
260 m_instanceConfig = std::forward<InstanceConfigT>(value);
262 template <
typename InstanceConfigT = InstanceConfig>
274 template <
typename CreatedAtT = Aws::Utils::DateTime>
276 m_createdAtHasBeenSet =
true;
277 m_createdAt = std::forward<CreatedAtT>(value);
279 template <
typename CreatedAtT = Aws::Utils::DateTime>
291 template <
typename StartedAtT = Aws::Utils::DateTime>
293 m_startedAtHasBeenSet =
true;
294 m_startedAt = std::forward<StartedAtT>(value);
296 template <
typename StartedAtT = Aws::Utils::DateTime>
308 template <
typename EndedAtT = Aws::Utils::DateTime>
310 m_endedAtHasBeenSet =
true;
311 m_endedAt = std::forward<EndedAtT>(value);
313 template <
typename EndedAtT = Aws::Utils::DateTime>
327 m_billableDurationHasBeenSet =
true;
328 m_billableDuration = value;
341 template <
typename DeviceConfigT = DeviceConfig>
343 m_deviceConfigHasBeenSet =
true;
344 m_deviceConfig = std::forward<DeviceConfigT>(value);
346 template <
typename DeviceConfigT = DeviceConfig>
359 template <
typename EventsT = Aws::Vector<JobEventDetails>>
361 m_eventsHasBeenSet =
true;
362 m_events = std::forward<EventsT>(value);
364 template <
typename EventsT = Aws::Vector<JobEventDetails>>
369 template <
typename EventsT = JobEventDetails>
371 m_eventsHasBeenSet =
true;
372 m_events.emplace_back(std::forward<EventsT>(value));
382 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
384 m_tagsHasBeenSet =
true;
385 m_tags = std::forward<TagsT>(value);
387 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
389 SetTags(std::forward<TagsT>(value));
392 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
394 m_tagsHasBeenSet =
true;
395 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
408 template <
typename QueueInfoT = Hybr
idJobQueueInfo>
410 m_queueInfoHasBeenSet =
true;
411 m_queueInfo = std::forward<QueueInfoT>(value);
413 template <
typename QueueInfoT = Hybr
idJobQueueInfo>
425 template <
typename AssociationsT = Aws::Vector<Association>>
427 m_associationsHasBeenSet =
true;
428 m_associations = std::forward<AssociationsT>(value);
430 template <
typename AssociationsT = Aws::Vector<Association>>
435 template <
typename AssociationsT = Association>
437 m_associationsHasBeenSet =
true;
438 m_associations.emplace_back(std::forward<AssociationsT>(value));
446 template <
typename RequestIdT = Aws::String>
448 m_requestIdHasBeenSet =
true;
449 m_requestId = std::forward<RequestIdT>(value);
451 template <
typename RequestIdT = Aws::String>
472 JobOutputDataConfig m_outputDataConfig;
474 JobStoppingCondition m_stoppingCondition;
476 JobCheckpointConfig m_checkpointConfig;
478 AlgorithmSpecification m_algorithmSpecification;
480 InstanceConfig m_instanceConfig;
488 int m_billableDuration{0};
490 DeviceConfig m_deviceConfig;
496 HybridJobQueueInfo m_queueInfo;
501 bool m_statusHasBeenSet =
false;
502 bool m_jobArnHasBeenSet =
false;
503 bool m_roleArnHasBeenSet =
false;
504 bool m_failureReasonHasBeenSet =
false;
505 bool m_jobNameHasBeenSet =
false;
506 bool m_hyperParametersHasBeenSet =
false;
507 bool m_inputDataConfigHasBeenSet =
false;
508 bool m_outputDataConfigHasBeenSet =
false;
509 bool m_stoppingConditionHasBeenSet =
false;
510 bool m_checkpointConfigHasBeenSet =
false;
511 bool m_algorithmSpecificationHasBeenSet =
false;
512 bool m_instanceConfigHasBeenSet =
false;
513 bool m_createdAtHasBeenSet =
false;
514 bool m_startedAtHasBeenSet =
false;
515 bool m_endedAtHasBeenSet =
false;
516 bool m_billableDurationHasBeenSet =
false;
517 bool m_deviceConfigHasBeenSet =
false;
518 bool m_eventsHasBeenSet =
false;
519 bool m_tagsHasBeenSet =
false;
520 bool m_queueInfoHasBeenSet =
false;
521 bool m_associationsHasBeenSet =
false;
522 bool m_requestIdHasBeenSet =
false;
GetJobResult & AddInputDataConfig(InputDataConfigT &&value)
const JobStoppingCondition & GetStoppingCondition() const
void SetFailureReason(FailureReasonT &&value)
AWS_BRAKET_API GetJobResult()=default
void SetStartedAt(StartedAtT &&value)
void SetJobName(JobNameT &&value)
GetJobResult & WithEndedAt(EndedAtT &&value)
void SetStatus(JobPrimaryStatus value)
void SetRoleArn(RoleArnT &&value)
GetJobResult & WithAssociations(AssociationsT &&value)
void SetAlgorithmSpecification(AlgorithmSpecificationT &&value)
void SetHyperParameters(HyperParametersT &&value)
GetJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetJobResult & WithJobArn(JobArnT &&value)
void SetTags(TagsT &&value)
void SetStoppingCondition(StoppingConditionT &&value)
const Aws::String & GetJobArn() const
GetJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetJobResult & AddAssociations(AssociationsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
const Aws::Vector< JobEventDetails > & GetEvents() const
void SetAssociations(AssociationsT &&value)
void SetInstanceConfig(InstanceConfigT &&value)
GetJobResult & AddEvents(EventsT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
GetJobResult & WithRoleArn(RoleArnT &&value)
const Aws::Vector< InputFileConfig > & GetInputDataConfig() const
int GetBillableDuration() const
GetJobResult & WithBillableDuration(int value)
GetJobResult & WithJobName(JobNameT &&value)
GetJobResult & WithCheckpointConfig(CheckpointConfigT &&value)
const InstanceConfig & GetInstanceConfig() const
GetJobResult & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetRoleArn() const
void SetCheckpointConfig(CheckpointConfigT &&value)
AWS_BRAKET_API GetJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeviceConfig(DeviceConfigT &&value)
GetJobResult & WithRequestId(RequestIdT &&value)
GetJobResult & WithInputDataConfig(InputDataConfigT &&value)
GetJobResult & WithCreatedAt(CreatedAtT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
void SetEndedAt(EndedAtT &&value)
GetJobResult & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
const AlgorithmSpecification & GetAlgorithmSpecification() const
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::String & GetRequestId() const
void SetJobArn(JobArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetJobResult & WithStoppingCondition(StoppingConditionT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetJobResult & WithInstanceConfig(InstanceConfigT &&value)
GetJobResult & WithHyperParameters(HyperParametersT &&value)
const DeviceConfig & GetDeviceConfig() const
const HybridJobQueueInfo & GetQueueInfo() const
GetJobResult & WithDeviceConfig(DeviceConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetEvents(EventsT &&value)
const JobCheckpointConfig & GetCheckpointConfig() const
GetJobResult & WithEvents(EventsT &&value)
const Aws::String & GetFailureReason() const
void SetBillableDuration(int value)
GetJobResult & WithAlgorithmSpecification(AlgorithmSpecificationT &&value)
const Aws::Vector< Association > & GetAssociations() const
GetJobResult & WithStatus(JobPrimaryStatus value)
void SetQueueInfo(QueueInfoT &&value)
GetJobResult & WithQueueInfo(QueueInfoT &&value)
const JobOutputDataConfig & GetOutputDataConfig() const
AWS_BRAKET_API GetJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobResult & WithTags(TagsT &&value)
const Aws::String & GetJobName() const
void SetRequestId(RequestIdT &&value)
JobPrimaryStatus GetStatus() const
GetJobResult & WithStartedAt(StartedAtT &&value)
void SetInputDataConfig(InputDataConfigT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue