7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workspaces-instances/WorkspacesInstancesRequest.h>
11#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
12#include <aws/workspaces-instances/model/TagSpecification.h>
13#include <aws/workspaces-instances/model/VolumeTypeEnum.h>
18namespace WorkspacesInstances {
46 template <
typename AvailabilityZoneT = Aws::String>
48 m_availabilityZoneHasBeenSet =
true;
49 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
51 template <
typename AvailabilityZoneT = Aws::String>
64 template <
typename ClientTokenT = Aws::String>
66 m_clientTokenHasBeenSet =
true;
67 m_clientToken = std::forward<ClientTokenT>(value);
69 template <
typename ClientTokenT = Aws::String>
83 m_encryptedHasBeenSet =
true;
96 inline int GetIops()
const {
return m_iops; }
99 m_iopsHasBeenSet =
true;
114 template <
typename KmsKeyIdT = Aws::String>
116 m_kmsKeyIdHasBeenSet =
true;
117 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
119 template <
typename KmsKeyIdT = Aws::String>
133 m_sizeInGBHasBeenSet =
true;
148 template <
typename SnapshotIdT = Aws::String>
150 m_snapshotIdHasBeenSet =
true;
151 m_snapshotId = std::forward<SnapshotIdT>(value);
153 template <
typename SnapshotIdT = Aws::String>
166 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
168 m_tagSpecificationsHasBeenSet =
true;
169 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
171 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
176 template <
typename TagSpecificationsT = TagSpecification>
178 m_tagSpecificationsHasBeenSet =
true;
179 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
191 m_throughputHasBeenSet =
true;
192 m_throughput = value;
207 m_volumeTypeHasBeenSet =
true;
208 m_volumeType = value;
220 bool m_encrypted{
false};
235 bool m_availabilityZoneHasBeenSet =
false;
236 bool m_clientTokenHasBeenSet =
true;
237 bool m_encryptedHasBeenSet =
false;
238 bool m_iopsHasBeenSet =
false;
239 bool m_kmsKeyIdHasBeenSet =
false;
240 bool m_sizeInGBHasBeenSet =
false;
241 bool m_snapshotIdHasBeenSet =
false;
242 bool m_tagSpecificationsHasBeenSet =
false;
243 bool m_throughputHasBeenSet =
false;
244 bool m_volumeTypeHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::String & GetKmsKeyId() const
virtual const char * GetServiceRequestName() const override
CreateVolumeRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool TagSpecificationsHasBeenSet() const
bool SnapshotIdHasBeenSet() const
VolumeTypeEnum GetVolumeType() const
bool VolumeTypeHasBeenSet() const
CreateVolumeRequest & WithEncrypted(bool value)
CreateVolumeRequest & WithThroughput(int value)
AWS_WORKSPACESINSTANCES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKSPACESINSTANCES_API CreateVolumeRequest()=default
void SetClientToken(ClientTokenT &&value)
bool AvailabilityZoneHasBeenSet() const
int GetThroughput() const
void SetSizeInGB(int value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetClientToken() const
CreateVolumeRequest & WithClientToken(ClientTokenT &&value)
CreateVolumeRequest & WithSnapshotId(SnapshotIdT &&value)
CreateVolumeRequest & WithSizeInGB(int value)
const Aws::String & GetSnapshotId() const
AWS_WORKSPACESINSTANCES_API Aws::String SerializePayload() const override
const Aws::String & GetAvailabilityZone() const
void SetEncrypted(bool value)
bool ThroughputHasBeenSet() const
CreateVolumeRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
bool ClientTokenHasBeenSet() const
CreateVolumeRequest & WithIops(int value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetThroughput(int value)
CreateVolumeRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool KmsKeyIdHasBeenSet() const
bool EncryptedHasBeenSet() const
bool GetEncrypted() const
bool SizeInGBHasBeenSet() const
void SetVolumeType(VolumeTypeEnum value)
void SetTagSpecifications(TagSpecificationsT &&value)
CreateVolumeRequest & WithVolumeType(VolumeTypeEnum value)
CreateVolumeRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool IopsHasBeenSet() const
void SetSnapshotId(SnapshotIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector