7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/BraketRequest.h>
9#include <aws/braket/model/AlgorithmSpecification.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/braket/model/JobCheckpointConfig.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/braket/model/DeviceConfig.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/JobStoppingCondition.h>
18#include <aws/braket/model/Association.h>
19#include <aws/braket/model/InputFileConfig.h>
21#include <aws/core/utils/UUID.h>
54 template<
typename AlgorithmSpecificationT = AlgorithmSpecification>
55 void SetAlgorithmSpecification(AlgorithmSpecificationT&& value) { m_algorithmSpecificationHasBeenSet =
true; m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value); }
56 template<
typename AlgorithmSpecificationT = AlgorithmSpecification>
66 template<
typename AssociationsT = Aws::Vector<Association>>
67 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
68 template<
typename AssociationsT = Aws::Vector<Association>>
70 template<
typename AssociationsT = Association>
71 CreateJobRequest&
AddAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations.emplace_back(std::forward<AssociationsT>(value));
return *
this; }
80 template<
typename Checkpo
intConfigT = JobCheckpo
intConfig>
81 void SetCheckpointConfig(CheckpointConfigT&& value) { m_checkpointConfigHasBeenSet =
true; m_checkpointConfig = std::forward<CheckpointConfigT>(value); }
82 template<
typename Checkpo
intConfigT = JobCheckpo
intConfig>
92 template<
typename ClientTokenT = Aws::String>
93 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
94 template<
typename ClientTokenT = Aws::String>
105 template<
typename DeviceConfigT = DeviceConfig>
106 void SetDeviceConfig(DeviceConfigT&& value) { m_deviceConfigHasBeenSet =
true; m_deviceConfig = std::forward<DeviceConfigT>(value); }
107 template<
typename DeviceConfigT = DeviceConfig>
120 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
121 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet =
true; m_hyperParameters = std::forward<HyperParametersT>(value); }
122 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
126 m_hyperParametersHasBeenSet =
true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
return *
this;
137 template<
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
138 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
139 template<
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
141 template<
typename InputDataConfigT = InputFileConfig>
142 CreateJobRequest&
AddInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
return *
this; }
152 template<
typename InstanceConfigT = InstanceConfig>
153 void SetInstanceConfig(InstanceConfigT&& value) { m_instanceConfigHasBeenSet =
true; m_instanceConfig = std::forward<InstanceConfigT>(value); }
154 template<
typename InstanceConfigT = InstanceConfig>
164 template<
typename JobNameT = Aws::String>
165 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
166 template<
typename JobNameT = Aws::String>
177 template<
typename OutputDataConfigT = JobOutputDataConfig>
178 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
179 template<
typename OutputDataConfigT = JobOutputDataConfig>
192 template<
typename RoleArnT = Aws::String>
193 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
194 template<
typename RoleArnT = Aws::String>
204 template<
typename StoppingConditionT = JobStoppingCondition>
205 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet =
true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
206 template<
typename StoppingConditionT = JobStoppingCondition>
217 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
218 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
219 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
221 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
223 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
229 bool m_algorithmSpecificationHasBeenSet =
false;
232 bool m_associationsHasBeenSet =
false;
235 bool m_checkpointConfigHasBeenSet =
false;
238 bool m_clientTokenHasBeenSet =
true;
240 DeviceConfig m_deviceConfig;
241 bool m_deviceConfigHasBeenSet =
false;
244 bool m_hyperParametersHasBeenSet =
false;
247 bool m_inputDataConfigHasBeenSet =
false;
249 InstanceConfig m_instanceConfig;
250 bool m_instanceConfigHasBeenSet =
false;
253 bool m_jobNameHasBeenSet =
false;
255 JobOutputDataConfig m_outputDataConfig;
256 bool m_outputDataConfigHasBeenSet =
false;
259 bool m_roleArnHasBeenSet =
false;
261 JobStoppingCondition m_stoppingCondition;
262 bool m_stoppingConditionHasBeenSet =
false;
265 bool m_tagsHasBeenSet =
false;
void SetStoppingCondition(StoppingConditionT &&value)
void SetRoleArn(RoleArnT &&value)
const JobCheckpointConfig & GetCheckpointConfig() const
void SetJobName(JobNameT &&value)
const Aws::String & GetRoleArn() const
void SetTags(TagsT &&value)
void SetInputDataConfig(InputDataConfigT &&value)
AWS_BRAKET_API CreateJobRequest()=default
CreateJobRequest & WithAssociations(AssociationsT &&value)
bool ClientTokenHasBeenSet() const
CreateJobRequest & AddAssociations(AssociationsT &&value)
CreateJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
void SetInstanceConfig(InstanceConfigT &&value)
virtual const char * GetServiceRequestName() const override
const JobOutputDataConfig & GetOutputDataConfig() const
void SetAlgorithmSpecification(AlgorithmSpecificationT &&value)
void SetHyperParameters(HyperParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
bool AlgorithmSpecificationHasBeenSet() const
bool InputDataConfigHasBeenSet() const
const Aws::String & GetJobName() const
bool HyperParametersHasBeenSet() const
const DeviceConfig & GetDeviceConfig() const
bool RoleArnHasBeenSet() const
bool DeviceConfigHasBeenSet() const
CreateJobRequest & WithHyperParameters(HyperParametersT &&value)
void SetAssociations(AssociationsT &&value)
void SetClientToken(ClientTokenT &&value)
CreateJobRequest & WithCheckpointConfig(CheckpointConfigT &&value)
const Aws::Vector< Association > & GetAssociations() const
const JobStoppingCondition & GetStoppingCondition() const
CreateJobRequest & WithClientToken(ClientTokenT &&value)
AWS_BRAKET_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
bool JobNameHasBeenSet() const
CreateJobRequest & WithInputDataConfig(InputDataConfigT &&value)
bool StoppingConditionHasBeenSet() const
CreateJobRequest & WithJobName(JobNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const InstanceConfig & GetInstanceConfig() const
void SetDeviceConfig(DeviceConfigT &&value)
bool AssociationsHasBeenSet() const
const AlgorithmSpecification & GetAlgorithmSpecification() const
bool TagsHasBeenSet() const
CreateJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateJobRequest & WithRoleArn(RoleArnT &&value)
CreateJobRequest & WithInstanceConfig(InstanceConfigT &&value)
CreateJobRequest & WithAlgorithmSpecification(AlgorithmSpecificationT &&value)
void SetCheckpointConfig(CheckpointConfigT &&value)
bool OutputDataConfigHasBeenSet() const
bool CheckpointConfigHasBeenSet() const
bool InstanceConfigHasBeenSet() const
CreateJobRequest & WithTags(TagsT &&value)
CreateJobRequest & WithStoppingCondition(StoppingConditionT &&value)
const Aws::Vector< InputFileConfig > & GetInputDataConfig() const
CreateJobRequest & WithDeviceConfig(DeviceConfigT &&value)
CreateJobRequest & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
CreateJobRequest & AddInputDataConfig(InputDataConfigT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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