7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/AlgorithmSpecification.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/braket/model/JobCheckpointConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/braket/model/DeviceConfig.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/braket/model/InstanceConfig.h>
16#include <aws/braket/model/JobOutputDataConfig.h>
17#include <aws/braket/model/HybridJobQueueInfo.h>
18#include <aws/braket/model/JobPrimaryStatus.h>
19#include <aws/braket/model/JobStoppingCondition.h>
20#include <aws/braket/model/Association.h>
21#include <aws/braket/model/JobEventDetails.h>
22#include <aws/braket/model/InputFileConfig.h>
27template<
typename RESULT_TYPE>
28class AmazonWebServiceResult;
56 template<
typename AlgorithmSpecificationT = AlgorithmSpecification>
57 void SetAlgorithmSpecification(AlgorithmSpecificationT&& value) { m_algorithmSpecificationHasBeenSet =
true; m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value); }
58 template<
typename AlgorithmSpecificationT = AlgorithmSpecification>
67 template<
typename AssociationsT = Aws::Vector<Association>>
68 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
69 template<
typename AssociationsT = Aws::Vector<Association>>
71 template<
typename AssociationsT = Association>
72 GetJobResult&
AddAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations.emplace_back(std::forward<AssociationsT>(value));
return *
this; }
80 inline void SetBillableDuration(
int value) { m_billableDurationHasBeenSet =
true; m_billableDuration = value; }
89 template<
typename Checkpo
intConfigT = JobCheckpo
intConfig>
90 void SetCheckpointConfig(CheckpointConfigT&& value) { m_checkpointConfigHasBeenSet =
true; m_checkpointConfig = std::forward<CheckpointConfigT>(value); }
91 template<
typename Checkpo
intConfigT = JobCheckpo
intConfig>
100 template<
typename CreatedAtT = Aws::Utils::DateTime>
101 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
102 template<
typename CreatedAtT = Aws::Utils::DateTime>
112 template<
typename DeviceConfigT = DeviceConfig>
113 void SetDeviceConfig(DeviceConfigT&& value) { m_deviceConfigHasBeenSet =
true; m_deviceConfig = std::forward<DeviceConfigT>(value); }
114 template<
typename DeviceConfigT = DeviceConfig>
123 template<
typename EndedAtT = Aws::Utils::DateTime>
124 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
125 template<
typename EndedAtT = Aws::Utils::DateTime>
135 template<
typename EventsT = Aws::Vector<JobEventDetails>>
136 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
137 template<
typename EventsT = Aws::Vector<JobEventDetails>>
139 template<
typename EventsT = JobEventDetails>
140 GetJobResult&
AddEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events.emplace_back(std::forward<EventsT>(value));
return *
this; }
149 template<
typename FailureReasonT = Aws::String>
150 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
151 template<
typename FailureReasonT = Aws::String>
163 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
164 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet =
true; m_hyperParameters = std::forward<HyperParametersT>(value); }
165 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
167 template<
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
169 m_hyperParametersHasBeenSet =
true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
return *
this;
179 template<
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
180 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
181 template<
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
183 template<
typename InputDataConfigT = InputFileConfig>
184 GetJobResult&
AddInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
return *
this; }
193 template<
typename InstanceConfigT = InstanceConfig>
194 void SetInstanceConfig(InstanceConfigT&& value) { m_instanceConfigHasBeenSet =
true; m_instanceConfig = std::forward<InstanceConfigT>(value); }
195 template<
typename InstanceConfigT = InstanceConfig>
204 template<
typename JobArnT = Aws::String>
205 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
206 template<
typename JobArnT = Aws::String>
215 template<
typename JobNameT = Aws::String>
216 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
217 template<
typename JobNameT = Aws::String>
227 template<
typename OutputDataConfigT = JobOutputDataConfig>
228 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
229 template<
typename OutputDataConfigT = JobOutputDataConfig>
241 template<
typename QueueInfoT = Hybr
idJobQueueInfo>
242 void SetQueueInfo(QueueInfoT&& value) { m_queueInfoHasBeenSet =
true; m_queueInfo = std::forward<QueueInfoT>(value); }
243 template<
typename QueueInfoT = Hybr
idJobQueueInfo>
255 template<
typename RoleArnT = Aws::String>
256 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
257 template<
typename RoleArnT = Aws::String>
266 template<
typename StartedAtT = Aws::Utils::DateTime>
267 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
268 template<
typename StartedAtT = Aws::Utils::DateTime>
286 template<
typename StoppingConditionT = JobStoppingCondition>
287 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet =
true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
288 template<
typename StoppingConditionT = JobStoppingCondition>
298 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
299 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
300 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
302 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
304 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
311 template<
typename RequestIdT = Aws::String>
312 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
313 template<
typename RequestIdT = Aws::String>
319 bool m_algorithmSpecificationHasBeenSet =
false;
322 bool m_associationsHasBeenSet =
false;
324 int m_billableDuration{0};
325 bool m_billableDurationHasBeenSet =
false;
327 JobCheckpointConfig m_checkpointConfig;
328 bool m_checkpointConfigHasBeenSet =
false;
331 bool m_createdAtHasBeenSet =
false;
333 DeviceConfig m_deviceConfig;
334 bool m_deviceConfigHasBeenSet =
false;
337 bool m_endedAtHasBeenSet =
false;
340 bool m_eventsHasBeenSet =
false;
343 bool m_failureReasonHasBeenSet =
false;
346 bool m_hyperParametersHasBeenSet =
false;
349 bool m_inputDataConfigHasBeenSet =
false;
351 InstanceConfig m_instanceConfig;
352 bool m_instanceConfigHasBeenSet =
false;
355 bool m_jobArnHasBeenSet =
false;
358 bool m_jobNameHasBeenSet =
false;
360 JobOutputDataConfig m_outputDataConfig;
361 bool m_outputDataConfigHasBeenSet =
false;
363 HybridJobQueueInfo m_queueInfo;
364 bool m_queueInfoHasBeenSet =
false;
367 bool m_roleArnHasBeenSet =
false;
370 bool m_startedAtHasBeenSet =
false;
373 bool m_statusHasBeenSet =
false;
375 JobStoppingCondition m_stoppingCondition;
376 bool m_stoppingConditionHasBeenSet =
false;
379 bool m_tagsHasBeenSet =
false;
382 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