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/http/HttpResponse.h>
20#include <aws/core/utils/DateTime.h>
21#include <aws/core/utils/memory/stl/AWSMap.h>
22#include <aws/core/utils/memory/stl/AWSString.h>
23#include <aws/core/utils/memory/stl/AWSVector.h>
28template <
typename RESULT_TYPE>
29class AmazonWebServiceResult;
50 m_statusHasBeenSet =
true;
64 template <
typename JobArnT = Aws::String>
66 m_jobArnHasBeenSet =
true;
67 m_jobArn = std::forward<JobArnT>(value);
69 template <
typename JobArnT = Aws::String>
84 template <
typename RoleArnT = Aws::String>
86 m_roleArnHasBeenSet =
true;
87 m_roleArn = std::forward<RoleArnT>(value);
89 template <
typename RoleArnT = Aws::String>
102 template <
typename FailureReasonT = Aws::String>
104 m_failureReasonHasBeenSet =
true;
105 m_failureReason = std::forward<FailureReasonT>(value);
107 template <
typename FailureReasonT = Aws::String>
119 template <
typename JobNameT = Aws::String>
121 m_jobNameHasBeenSet =
true;
122 m_jobName = std::forward<JobNameT>(value);
124 template <
typename JobNameT = Aws::String>
139 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
141 m_hyperParametersHasBeenSet =
true;
142 m_hyperParameters = std::forward<HyperParametersT>(value);
144 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
149 template <
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
151 m_hyperParametersHasBeenSet =
true;
152 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
163 template <
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
165 m_inputDataConfigHasBeenSet =
true;
166 m_inputDataConfig = std::forward<InputDataConfigT>(value);
168 template <
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
173 template <
typename InputDataConfigT = InputFileConfig>
175 m_inputDataConfigHasBeenSet =
true;
176 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
187 template <
typename OutputDataConfigT = JobOutputDataConfig>
189 m_outputDataConfigHasBeenSet =
true;
190 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
192 template <
typename OutputDataConfigT = JobOutputDataConfig>
205 template <
typename StoppingConditionT = JobStoppingCondition>
207 m_stoppingConditionHasBeenSet =
true;
208 m_stoppingCondition = std::forward<StoppingConditionT>(value);
210 template <
typename StoppingConditionT = JobStoppingCondition>
222 template <
typename Checkpo
intConfigT = JobCheckpo
intConfig>
224 m_checkpointConfigHasBeenSet =
true;
225 m_checkpointConfig = std::forward<CheckpointConfigT>(value);
227 template <
typename Checkpo
intConfigT = JobCheckpo
intConfig>
240 template <
typename AlgorithmSpecificationT = AlgorithmSpecification>
242 m_algorithmSpecificationHasBeenSet =
true;
243 m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value);
245 template <
typename AlgorithmSpecificationT = AlgorithmSpecification>
258 template <
typename InstanceConfigT = InstanceConfig>
260 m_instanceConfigHasBeenSet =
true;
261 m_instanceConfig = std::forward<InstanceConfigT>(value);
263 template <
typename InstanceConfigT = InstanceConfig>
275 template <
typename CreatedAtT = Aws::Utils::DateTime>
277 m_createdAtHasBeenSet =
true;
278 m_createdAt = std::forward<CreatedAtT>(value);
280 template <
typename CreatedAtT = Aws::Utils::DateTime>
292 template <
typename StartedAtT = Aws::Utils::DateTime>
294 m_startedAtHasBeenSet =
true;
295 m_startedAt = std::forward<StartedAtT>(value);
297 template <
typename StartedAtT = Aws::Utils::DateTime>
309 template <
typename EndedAtT = Aws::Utils::DateTime>
311 m_endedAtHasBeenSet =
true;
312 m_endedAt = std::forward<EndedAtT>(value);
314 template <
typename EndedAtT = Aws::Utils::DateTime>
328 m_billableDurationHasBeenSet =
true;
329 m_billableDuration = value;
342 template <
typename DeviceConfigT = DeviceConfig>
344 m_deviceConfigHasBeenSet =
true;
345 m_deviceConfig = std::forward<DeviceConfigT>(value);
347 template <
typename DeviceConfigT = DeviceConfig>
360 template <
typename EventsT = Aws::Vector<JobEventDetails>>
362 m_eventsHasBeenSet =
true;
363 m_events = std::forward<EventsT>(value);
365 template <
typename EventsT = Aws::Vector<JobEventDetails>>
370 template <
typename EventsT = JobEventDetails>
372 m_eventsHasBeenSet =
true;
373 m_events.emplace_back(std::forward<EventsT>(value));
383 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
385 m_tagsHasBeenSet =
true;
386 m_tags = std::forward<TagsT>(value);
388 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
390 SetTags(std::forward<TagsT>(value));
393 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
395 m_tagsHasBeenSet =
true;
396 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
409 template <
typename QueueInfoT = Hybr
idJobQueueInfo>
411 m_queueInfoHasBeenSet =
true;
412 m_queueInfo = std::forward<QueueInfoT>(value);
414 template <
typename QueueInfoT = Hybr
idJobQueueInfo>
426 template <
typename AssociationsT = Aws::Vector<Association>>
428 m_associationsHasBeenSet =
true;
429 m_associations = std::forward<AssociationsT>(value);
431 template <
typename AssociationsT = Aws::Vector<Association>>
436 template <
typename AssociationsT = Association>
438 m_associationsHasBeenSet =
true;
439 m_associations.emplace_back(std::forward<AssociationsT>(value));
447 template <
typename RequestIdT = Aws::String>
449 m_requestIdHasBeenSet =
true;
450 m_requestId = std::forward<RequestIdT>(value);
452 template <
typename RequestIdT = Aws::String>
475 JobOutputDataConfig m_outputDataConfig;
477 JobStoppingCondition m_stoppingCondition;
479 JobCheckpointConfig m_checkpointConfig;
481 AlgorithmSpecification m_algorithmSpecification;
483 InstanceConfig m_instanceConfig;
491 int m_billableDuration{0};
493 DeviceConfig m_deviceConfig;
499 HybridJobQueueInfo m_queueInfo;
505 bool m_statusHasBeenSet =
false;
506 bool m_jobArnHasBeenSet =
false;
507 bool m_roleArnHasBeenSet =
false;
508 bool m_failureReasonHasBeenSet =
false;
509 bool m_jobNameHasBeenSet =
false;
510 bool m_hyperParametersHasBeenSet =
false;
511 bool m_inputDataConfigHasBeenSet =
false;
512 bool m_outputDataConfigHasBeenSet =
false;
513 bool m_stoppingConditionHasBeenSet =
false;
514 bool m_checkpointConfigHasBeenSet =
false;
515 bool m_algorithmSpecificationHasBeenSet =
false;
516 bool m_instanceConfigHasBeenSet =
false;
517 bool m_createdAtHasBeenSet =
false;
518 bool m_startedAtHasBeenSet =
false;
519 bool m_endedAtHasBeenSet =
false;
520 bool m_billableDurationHasBeenSet =
false;
521 bool m_deviceConfigHasBeenSet =
false;
522 bool m_eventsHasBeenSet =
false;
523 bool m_tagsHasBeenSet =
false;
524 bool m_queueInfoHasBeenSet =
false;
525 bool m_associationsHasBeenSet =
false;
526 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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