7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/BraketRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/braket/model/Association.h>
14#include <aws/core/utils/UUID.h>
45 template<
typename ActionT = Aws::String>
46 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
47 template<
typename ActionT = Aws::String>
57 template<
typename AssociationsT = Aws::Vector<Association>>
58 void SetAssociations(AssociationsT&& value) { m_associationsHasBeenSet =
true; m_associations = std::forward<AssociationsT>(value); }
59 template<
typename AssociationsT = Aws::Vector<Association>>
61 template<
typename AssociationsT = Association>
71 template<
typename ClientTokenT = Aws::String>
72 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
73 template<
typename ClientTokenT = Aws::String>
83 template<
typename DeviceArnT = Aws::String>
84 void SetDeviceArn(DeviceArnT&& value) { m_deviceArnHasBeenSet =
true; m_deviceArn = std::forward<DeviceArnT>(value); }
85 template<
typename DeviceArnT = Aws::String>
95 template<
typename DeviceParametersT = Aws::String>
96 void SetDeviceParameters(DeviceParametersT&& value) { m_deviceParametersHasBeenSet =
true; m_deviceParameters = std::forward<DeviceParametersT>(value); }
97 template<
typename DeviceParametersT = Aws::String>
108 template<
typename JobTokenT = Aws::String>
109 void SetJobToken(JobTokenT&& value) { m_jobTokenHasBeenSet =
true; m_jobToken = std::forward<JobTokenT>(value); }
110 template<
typename JobTokenT = Aws::String>
120 template<
typename OutputS3BucketT = Aws::String>
121 void SetOutputS3Bucket(OutputS3BucketT&& value) { m_outputS3BucketHasBeenSet =
true; m_outputS3Bucket = std::forward<OutputS3BucketT>(value); }
122 template<
typename OutputS3BucketT = Aws::String>
133 template<
typename OutputS3KeyPrefixT = Aws::String>
134 void SetOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) { m_outputS3KeyPrefixHasBeenSet =
true; m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value); }
135 template<
typename OutputS3KeyPrefixT = Aws::String>
143 inline long long GetShots()
const {
return m_shots; }
145 inline void SetShots(
long long value) { m_shotsHasBeenSet =
true; m_shots = value; }
155 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
157 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
161 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
167 bool m_actionHasBeenSet =
false;
170 bool m_associationsHasBeenSet =
false;
173 bool m_clientTokenHasBeenSet =
true;
176 bool m_deviceArnHasBeenSet =
false;
179 bool m_deviceParametersHasBeenSet =
false;
182 bool m_jobTokenHasBeenSet =
false;
185 bool m_outputS3BucketHasBeenSet =
false;
188 bool m_outputS3KeyPrefixHasBeenSet =
false;
190 long long m_shots{0};
191 bool m_shotsHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
void SetOutputS3Bucket(OutputS3BucketT &&value)
CreateQuantumTaskRequest & WithAction(ActionT &&value)
bool TagsHasBeenSet() const
void SetAssociations(AssociationsT &&value)
AWS_BRAKET_API CreateQuantumTaskRequest()=default
const Aws::String & GetJobToken() const
void SetJobToken(JobTokenT &&value)
void SetDeviceParameters(DeviceParametersT &&value)
bool OutputS3KeyPrefixHasBeenSet() const
const Aws::String & GetOutputS3KeyPrefix() const
void SetAction(ActionT &&value)
virtual const char * GetServiceRequestName() const override
CreateQuantumTaskRequest & AddAssociations(AssociationsT &&value)
const Aws::Vector< Association > & GetAssociations() const
bool OutputS3BucketHasBeenSet() const
bool JobTokenHasBeenSet() const
bool ShotsHasBeenSet() const
bool AssociationsHasBeenSet() const
void SetDeviceArn(DeviceArnT &&value)
void SetClientToken(ClientTokenT &&value)
CreateQuantumTaskRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool DeviceArnHasBeenSet() const
CreateQuantumTaskRequest & WithJobToken(JobTokenT &&value)
CreateQuantumTaskRequest & WithDeviceParameters(DeviceParametersT &&value)
const Aws::String & GetDeviceArn() const
CreateQuantumTaskRequest & WithOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
const Aws::String & GetAction() const
CreateQuantumTaskRequest & WithTags(TagsT &&value)
CreateQuantumTaskRequest & WithShots(long long value)
bool ClientTokenHasBeenSet() const
void SetOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
AWS_BRAKET_API Aws::String SerializePayload() const override
long long GetShots() const
const Aws::String & GetOutputS3Bucket() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ActionHasBeenSet() const
const Aws::String & GetDeviceParameters() const
void SetShots(long long value)
CreateQuantumTaskRequest & WithOutputS3Bucket(OutputS3BucketT &&value)
CreateQuantumTaskRequest & WithAssociations(AssociationsT &&value)
bool DeviceParametersHasBeenSet() const
CreateQuantumTaskRequest & WithClientToken(ClientTokenT &&value)
CreateQuantumTaskRequest & WithDeviceArn(DeviceArnT &&value)
const Aws::String & GetClientToken() const
void SetTags(TagsT &&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