7#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
8#include <aws/workspaces-instances/WorkspacesInstancesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workspaces-instances/model/VolumeTypeEnum.h>
12#include <aws/workspaces-instances/model/TagSpecification.h>
14#include <aws/core/utils/UUID.h>
18namespace WorkspacesInstances
50 template<
typename AvailabilityZoneT = Aws::String>
51 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
52 template<
typename AvailabilityZoneT = Aws::String>
62 template<
typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
64 template<
typename ClientTokenT = Aws::String>
74 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
82 inline int GetIops()
const {
return m_iops; }
84 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
94 template<
typename KmsKeyIdT = Aws::String>
95 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
96 template<
typename KmsKeyIdT = Aws::String>
106 inline void SetSizeInGB(
int value) { m_sizeInGBHasBeenSet =
true; m_sizeInGB = value; }
116 template<
typename SnapshotIdT = Aws::String>
117 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
118 template<
typename SnapshotIdT = Aws::String>
128 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
129 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
130 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
132 template<
typename TagSpecificationsT = TagSpecification>
142 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
158 bool m_availabilityZoneHasBeenSet =
false;
161 bool m_clientTokenHasBeenSet =
true;
163 bool m_encrypted{
false};
164 bool m_encryptedHasBeenSet =
false;
167 bool m_iopsHasBeenSet =
false;
170 bool m_kmsKeyIdHasBeenSet =
false;
173 bool m_sizeInGBHasBeenSet =
false;
176 bool m_snapshotIdHasBeenSet =
false;
179 bool m_tagSpecificationsHasBeenSet =
false;
182 bool m_throughputHasBeenSet =
false;
185 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