7#include <aws/braket/BraketRequest.h>
8#include <aws/braket/Braket_EXPORTS.h>
9#include <aws/braket/model/AlgorithmSpecification.h>
10#include <aws/braket/model/Association.h>
11#include <aws/braket/model/DeviceConfig.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/JobOutputDataConfig.h>
16#include <aws/braket/model/JobStoppingCondition.h>
17#include <aws/core/utils/UUID.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename ClientTokenT = Aws::String>
51 m_clientTokenHasBeenSet =
true;
52 m_clientToken = std::forward<ClientTokenT>(value);
54 template <
typename ClientTokenT = Aws::String>
69 template <
typename AlgorithmSpecificationT = AlgorithmSpecification>
71 m_algorithmSpecificationHasBeenSet =
true;
72 m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value);
74 template <
typename AlgorithmSpecificationT = AlgorithmSpecification>
88 template <
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
90 m_inputDataConfigHasBeenSet =
true;
91 m_inputDataConfig = std::forward<InputDataConfigT>(value);
93 template <
typename InputDataConfigT = Aws::Vector<InputFileConfig>>
98 template <
typename InputDataConfigT = InputFileConfig>
100 m_inputDataConfigHasBeenSet =
true;
101 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
113 template <
typename OutputDataConfigT = JobOutputDataConfig>
115 m_outputDataConfigHasBeenSet =
true;
116 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
118 template <
typename OutputDataConfigT = JobOutputDataConfig>
131 template <
typename Checkpo
intConfigT = JobCheckpo
intConfig>
133 m_checkpointConfigHasBeenSet =
true;
134 m_checkpointConfig = std::forward<CheckpointConfigT>(value);
136 template <
typename Checkpo
intConfigT = JobCheckpo
intConfig>
149 template <
typename JobNameT = Aws::String>
151 m_jobNameHasBeenSet =
true;
152 m_jobName = std::forward<JobNameT>(value);
154 template <
typename JobNameT = Aws::String>
170 template <
typename RoleArnT = Aws::String>
172 m_roleArnHasBeenSet =
true;
173 m_roleArn = std::forward<RoleArnT>(value);
175 template <
typename RoleArnT = Aws::String>
189 template <
typename StoppingConditionT = JobStoppingCondition>
191 m_stoppingConditionHasBeenSet =
true;
192 m_stoppingCondition = std::forward<StoppingConditionT>(value);
194 template <
typename StoppingConditionT = JobStoppingCondition>
208 template <
typename InstanceConfigT = InstanceConfig>
210 m_instanceConfigHasBeenSet =
true;
211 m_instanceConfig = std::forward<InstanceConfigT>(value);
213 template <
typename InstanceConfigT = InstanceConfig>
234 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
236 m_hyperParametersHasBeenSet =
true;
237 m_hyperParameters = std::forward<HyperParametersT>(value);
239 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
244 template <
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
246 m_hyperParametersHasBeenSet =
true;
247 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
259 template <
typename DeviceConfigT = DeviceConfig>
261 m_deviceConfigHasBeenSet =
true;
262 m_deviceConfig = std::forward<DeviceConfigT>(value);
264 template <
typename DeviceConfigT = DeviceConfig>
277 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
279 m_tagsHasBeenSet =
true;
280 m_tags = std::forward<TagsT>(value);
282 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
284 SetTags(std::forward<TagsT>(value));
287 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
289 m_tagsHasBeenSet =
true;
290 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
301 template <
typename AssociationsT = Aws::Vector<Association>>
303 m_associationsHasBeenSet =
true;
304 m_associations = std::forward<AssociationsT>(value);
306 template <
typename AssociationsT = Aws::Vector<Association>>
311 template <
typename AssociationsT = Association>
313 m_associationsHasBeenSet =
true;
314 m_associations.emplace_back(std::forward<AssociationsT>(value));
321 AlgorithmSpecification m_algorithmSpecification;
325 JobOutputDataConfig m_outputDataConfig;
327 JobCheckpointConfig m_checkpointConfig;
333 JobStoppingCondition m_stoppingCondition;
335 InstanceConfig m_instanceConfig;
339 DeviceConfig m_deviceConfig;
344 bool m_clientTokenHasBeenSet =
true;
345 bool m_algorithmSpecificationHasBeenSet =
false;
346 bool m_inputDataConfigHasBeenSet =
false;
347 bool m_outputDataConfigHasBeenSet =
false;
348 bool m_checkpointConfigHasBeenSet =
false;
349 bool m_jobNameHasBeenSet =
false;
350 bool m_roleArnHasBeenSet =
false;
351 bool m_stoppingConditionHasBeenSet =
false;
352 bool m_instanceConfigHasBeenSet =
false;
353 bool m_hyperParametersHasBeenSet =
false;
354 bool m_deviceConfigHasBeenSet =
false;
355 bool m_tagsHasBeenSet =
false;
356 bool m_associationsHasBeenSet =
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