7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/JobPrimaryStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/braket/model/JobOutputDataConfig.h>
13#include <aws/braket/model/JobStoppingCondition.h>
14#include <aws/braket/model/JobCheckpointConfig.h>
15#include <aws/braket/model/AlgorithmSpecification.h>
16#include <aws/braket/model/InstanceConfig.h>
17#include <aws/core/utils/DateTime.h>
18#include <aws/braket/model/DeviceConfig.h>
19#include <aws/braket/model/HybridJobQueueInfo.h>
20#include <aws/braket/model/InputFileConfig.h>
21#include <aws/braket/model/JobEventDetails.h>
22#include <aws/braket/model/Association.h>
27template<
typename RESULT_TYPE>
28class AmazonWebServiceResult;
63 template<
typename JobArnT = Aws::String>
64 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
65 template<
typename JobArnT = Aws::String>
77 template<
typename RoleArnT = Aws::String>
78 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
79 template<
typename RoleArnT = Aws::String>
89 template<
typename FailureReasonT = Aws::String>
90 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
91 template<
typename FailureReasonT = Aws::String>
100 template<
typename JobNameT = Aws::String>
101 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
102 template<
typename JobNameT = Aws::String>
114 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
115 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet =
true; m_hyperParameters = std::forward<HyperParametersT>(value); }
116 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
118 template<
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
120 m_hyperParametersHasBeenSet =
true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
return *
this;
130 template<
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
131 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
132 template<
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
134 template<
typename InputDataConfigT = InputFileConfig>
135 GetJobResult&
AddInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
return *
this; }
144 template<
typename OutputDataConfigT = JobOutputDataConfig>
145 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
146 template<
typename OutputDataConfigT = JobOutputDataConfig>
156 template<
typename StoppingConditionT = JobStoppingCondition>
157 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet =
true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
158 template<
typename StoppingConditionT = JobStoppingCondition>
167 template<
typename Checkpo
intConfigT = JobCheckpo
intConfig>
168 void SetCheckpointConfig(CheckpointConfigT&& value) { m_checkpointConfigHasBeenSet =
true; m_checkpointConfig = std::forward<CheckpointConfigT>(value); }
169 template<
typename Checkpo
intConfigT = JobCheckpo
intConfig>
179 template<
typename AlgorithmSpecificationT = AlgorithmSpecification>
180 void SetAlgorithmSpecification(AlgorithmSpecificationT&& value) { m_algorithmSpecificationHasBeenSet =
true; m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value); }
181 template<
typename AlgorithmSpecificationT = AlgorithmSpecification>
191 template<
typename InstanceConfigT = InstanceConfig>
192 void SetInstanceConfig(InstanceConfigT&& value) { m_instanceConfigHasBeenSet =
true; m_instanceConfig = std::forward<InstanceConfigT>(value); }
193 template<
typename InstanceConfigT = InstanceConfig>
202 template<
typename CreatedAtT = Aws::Utils::DateTime>
203 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
204 template<
typename CreatedAtT = Aws::Utils::DateTime>
213 template<
typename StartedAtT = Aws::Utils::DateTime>
214 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
215 template<
typename StartedAtT = Aws::Utils::DateTime>
224 template<
typename EndedAtT = Aws::Utils::DateTime>
225 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
226 template<
typename EndedAtT = Aws::Utils::DateTime>
236 inline void SetBillableDuration(
int value) { m_billableDurationHasBeenSet =
true; m_billableDuration = value; }
245 template<
typename DeviceConfigT = DeviceConfig>
246 void SetDeviceConfig(DeviceConfigT&& value) { m_deviceConfigHasBeenSet =
true; m_deviceConfig = std::forward<DeviceConfigT>(value); }
247 template<
typename DeviceConfigT = DeviceConfig>
257 template<
typename EventsT = Aws::Vector<JobEventDetails>>
258 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
259 template<
typename EventsT = Aws::Vector<JobEventDetails>>
261 template<
typename EventsT = JobEventDetails>
262 GetJobResult&
AddEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events.emplace_back(std::forward<EventsT>(value));
return *
this; }
270 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
271 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
272 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
274 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
276 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
288 template<
typename QueueInfoT = Hybr
idJobQueueInfo>
289 void SetQueueInfo(QueueInfoT&& value) { m_queueInfoHasBeenSet =
true; m_queueInfo = std::forward<QueueInfoT>(value); }
290 template<
typename QueueInfoT = Hybr
idJobQueueInfo>
299 template<
typename AssociationsT = Aws::Vector<Association>>
300 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
301 template<
typename AssociationsT = Aws::Vector<Association>>
303 template<
typename AssociationsT = Association>
304 GetJobResult&
AddAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations.emplace_back(std::forward<AssociationsT>(value));
return *
this; }
310 template<
typename RequestIdT = Aws::String>
311 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
312 template<
typename RequestIdT = Aws::String>
318 bool m_statusHasBeenSet =
false;
321 bool m_jobArnHasBeenSet =
false;
324 bool m_roleArnHasBeenSet =
false;
327 bool m_failureReasonHasBeenSet =
false;
330 bool m_jobNameHasBeenSet =
false;
333 bool m_hyperParametersHasBeenSet =
false;
336 bool m_inputDataConfigHasBeenSet =
false;
338 JobOutputDataConfig m_outputDataConfig;
339 bool m_outputDataConfigHasBeenSet =
false;
341 JobStoppingCondition m_stoppingCondition;
342 bool m_stoppingConditionHasBeenSet =
false;
344 JobCheckpointConfig m_checkpointConfig;
345 bool m_checkpointConfigHasBeenSet =
false;
347 AlgorithmSpecification m_algorithmSpecification;
348 bool m_algorithmSpecificationHasBeenSet =
false;
350 InstanceConfig m_instanceConfig;
351 bool m_instanceConfigHasBeenSet =
false;
354 bool m_createdAtHasBeenSet =
false;
357 bool m_startedAtHasBeenSet =
false;
360 bool m_endedAtHasBeenSet =
false;
362 int m_billableDuration{0};
363 bool m_billableDurationHasBeenSet =
false;
365 DeviceConfig m_deviceConfig;
366 bool m_deviceConfigHasBeenSet =
false;
369 bool m_eventsHasBeenSet =
false;
372 bool m_tagsHasBeenSet =
false;
374 HybridJobQueueInfo m_queueInfo;
375 bool m_queueInfoHasBeenSet =
false;
378 bool m_associationsHasBeenSet =
false;
381 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