7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/KxVolumeType.h>
11#include <aws/finspace/model/KxNAS1Configuration.h>
12#include <aws/finspace/model/KxAzMode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/UUID.h>
47 template<
typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<
typename ClientTokenT = Aws::String>
60 template<
typename EnvironmentIdT = Aws::String>
61 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
62 template<
typename EnvironmentIdT = Aws::String>
84 template<
typename VolumeNameT = Aws::String>
85 void SetVolumeName(VolumeNameT&& value) { m_volumeNameHasBeenSet =
true; m_volumeName = std::forward<VolumeNameT>(value); }
86 template<
typename VolumeNameT = Aws::String>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
110 template<
typename Nas1ConfigurationT = KxNAS1Configuration>
111 void SetNas1Configuration(Nas1ConfigurationT&& value) { m_nas1ConfigurationHasBeenSet =
true; m_nas1Configuration = std::forward<Nas1ConfigurationT>(value); }
112 template<
typename Nas1ConfigurationT = KxNAS1Configuration>
134 template<
typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
135 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet =
true; m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value); }
136 template<
typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
138 template<
typename AvailabilityZoneIdsT = Aws::String>
149 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
151 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
155 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
161 bool m_clientTokenHasBeenSet =
true;
164 bool m_environmentIdHasBeenSet =
false;
167 bool m_volumeTypeHasBeenSet =
false;
170 bool m_volumeNameHasBeenSet =
false;
173 bool m_descriptionHasBeenSet =
false;
175 KxNAS1Configuration m_nas1Configuration;
176 bool m_nas1ConfigurationHasBeenSet =
false;
179 bool m_azModeHasBeenSet =
false;
182 bool m_availabilityZoneIdsHasBeenSet =
false;
185 bool m_tagsHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
bool EnvironmentIdHasBeenSet() const
bool VolumeTypeHasBeenSet() const
CreateKxVolumeRequest & WithTags(TagsT &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
const Aws::String & GetEnvironmentId() const
bool TagsHasBeenSet() const
void SetEnvironmentId(EnvironmentIdT &&value)
void SetDescription(DescriptionT &&value)
CreateKxVolumeRequest & WithClientToken(ClientTokenT &&value)
CreateKxVolumeRequest & WithDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
CreateKxVolumeRequest & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetVolumeName() const
CreateKxVolumeRequest & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
KxAzMode GetAzMode() const
bool ClientTokenHasBeenSet() const
CreateKxVolumeRequest & WithVolumeName(VolumeNameT &&value)
void SetAzMode(KxAzMode value)
CreateKxVolumeRequest & WithAzMode(KxAzMode value)
void SetVolumeName(VolumeNameT &&value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
bool VolumeNameHasBeenSet() const
bool AvailabilityZoneIdsHasBeenSet() const
const Aws::String & GetDescription() const
CreateKxVolumeRequest & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_FINSPACE_API CreateKxVolumeRequest()=default
const KxNAS1Configuration & GetNas1Configuration() const
void SetVolumeType(KxVolumeType value)
CreateKxVolumeRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool Nas1ConfigurationHasBeenSet() const
CreateKxVolumeRequest & WithNas1Configuration(Nas1ConfigurationT &&value)
const Aws::String & GetClientToken() const
KxVolumeType GetVolumeType() const
CreateKxVolumeRequest & WithVolumeType(KxVolumeType value)
void SetNas1Configuration(Nas1ConfigurationT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
bool AzModeHasBeenSet() const
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