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/fsx/FSxRequest.h>
11#include <aws/fsx/FSx_EXPORTS.h>
12#include <aws/fsx/model/CreateFileCacheLustreConfiguration.h>
13#include <aws/fsx/model/FileCacheDataRepositoryAssociation.h>
14#include <aws/fsx/model/FileCacheType.h>
15#include <aws/fsx/model/Tag.h>
53 template <
typename ClientRequestTokenT = Aws::String>
55 m_clientRequestTokenHasBeenSet =
true;
56 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
58 template <
typename ClientRequestTokenT = Aws::String>
73 m_fileCacheTypeHasBeenSet =
true;
74 m_fileCacheType = value;
89 template <
typename FileCacheTypeVersionT = Aws::String>
91 m_fileCacheTypeVersionHasBeenSet =
true;
92 m_fileCacheTypeVersion = std::forward<FileCacheTypeVersionT>(value);
94 template <
typename FileCacheTypeVersionT = Aws::String>
109 m_storageCapacityHasBeenSet =
true;
110 m_storageCapacity = value;
122 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
124 m_subnetIdsHasBeenSet =
true;
125 m_subnetIds = std::forward<SubnetIdsT>(value);
127 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
132 template <
typename SubnetIdsT = Aws::String>
134 m_subnetIdsHasBeenSet =
true;
135 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
148 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
150 m_securityGroupIdsHasBeenSet =
true;
151 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
153 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
158 template <
typename SecurityGroupIdsT = Aws::String>
160 m_securityGroupIdsHasBeenSet =
true;
161 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
170 template <
typename TagsT = Aws::Vector<Tag>>
172 m_tagsHasBeenSet =
true;
173 m_tags = std::forward<TagsT>(value);
175 template <
typename TagsT = Aws::Vector<Tag>>
177 SetTags(std::forward<TagsT>(value));
180 template <
typename TagsT = Tag>
182 m_tagsHasBeenSet =
true;
183 m_tags.emplace_back(std::forward<TagsT>(value));
196 m_copyTagsToDataRepositoryAssociationsHasBeenSet =
true;
197 m_copyTagsToDataRepositoryAssociations = value;
216 template <
typename KmsKeyIdT = Aws::String>
218 m_kmsKeyIdHasBeenSet =
true;
219 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
221 template <
typename KmsKeyIdT = Aws::String>
234 template <
typename LustreConfigurationT = CreateFileCacheLustreConfiguration>
236 m_lustreConfigurationHasBeenSet =
true;
237 m_lustreConfiguration = std::forward<LustreConfigurationT>(value);
239 template <
typename LustreConfigurationT = CreateFileCacheLustreConfiguration>
259 return m_dataRepositoryAssociations;
262 template <
typename DataRepositoryAssociationsT = Aws::Vector<FileCacheDataRepositoryAssociation>>
264 m_dataRepositoryAssociationsHasBeenSet =
true;
265 m_dataRepositoryAssociations = std::forward<DataRepositoryAssociationsT>(value);
267 template <
typename DataRepositoryAssociationsT = Aws::Vector<FileCacheDataRepositoryAssociation>>
272 template <
typename DataRepositoryAssociationsT = FileCacheDataRepositoryAssociation>
274 m_dataRepositoryAssociationsHasBeenSet =
true;
275 m_dataRepositoryAssociations.emplace_back(std::forward<DataRepositoryAssociationsT>(value));
286 int m_storageCapacity{0};
294 bool m_copyTagsToDataRepositoryAssociations{
false};
298 CreateFileCacheLustreConfiguration m_lustreConfiguration;
301 bool m_clientRequestTokenHasBeenSet =
true;
302 bool m_fileCacheTypeHasBeenSet =
false;
303 bool m_fileCacheTypeVersionHasBeenSet =
false;
304 bool m_storageCapacityHasBeenSet =
false;
305 bool m_subnetIdsHasBeenSet =
false;
306 bool m_securityGroupIdsHasBeenSet =
false;
307 bool m_tagsHasBeenSet =
false;
308 bool m_copyTagsToDataRepositoryAssociationsHasBeenSet =
false;
309 bool m_kmsKeyIdHasBeenSet =
false;
310 bool m_lustreConfigurationHasBeenSet =
false;
311 bool m_dataRepositoryAssociationsHasBeenSet =
false;
void SetKmsKeyId(KmsKeyIdT &&value)
void SetStorageCapacity(int value)
const Aws::String & GetFileCacheTypeVersion() const
AWS_FSX_API CreateFileCacheRequest()=default
CreateFileCacheRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetLustreConfiguration(LustreConfigurationT &&value)
CreateFileCacheRequest & AddDataRepositoryAssociations(DataRepositoryAssociationsT &&value)
CreateFileCacheRequest & WithCopyTagsToDataRepositoryAssociations(bool value)
CreateFileCacheRequest & AddSubnetIds(SubnetIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< FileCacheDataRepositoryAssociation > & GetDataRepositoryAssociations() const
CreateFileCacheRequest & WithTags(TagsT &&value)
void SetDataRepositoryAssociations(DataRepositoryAssociationsT &&value)
bool DataRepositoryAssociationsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientRequestToken() const
AWS_FSX_API Aws::String SerializePayload() const override
bool SubnetIdsHasBeenSet() const
bool LustreConfigurationHasBeenSet() const
const CreateFileCacheLustreConfiguration & GetLustreConfiguration() const
CreateFileCacheRequest & AddTags(TagsT &&value)
CreateFileCacheRequest & WithLustreConfiguration(LustreConfigurationT &&value)
bool GetCopyTagsToDataRepositoryAssociations() const
const Aws::String & GetKmsKeyId() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool ClientRequestTokenHasBeenSet() const
bool CopyTagsToDataRepositoryAssociationsHasBeenSet() const
bool FileCacheTypeVersionHasBeenSet() const
CreateFileCacheRequest & WithDataRepositoryAssociations(DataRepositoryAssociationsT &&value)
bool FileCacheTypeHasBeenSet() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Tag > & GetTags() const
void SetFileCacheTypeVersion(FileCacheTypeVersionT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
FileCacheType GetFileCacheType() const
bool TagsHasBeenSet() const
void SetCopyTagsToDataRepositoryAssociations(bool value)
CreateFileCacheRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateFileCacheRequest & WithFileCacheType(FileCacheType value)
void SetSubnetIds(SubnetIdsT &&value)
bool StorageCapacityHasBeenSet() const
CreateFileCacheRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateFileCacheRequest & WithFileCacheTypeVersion(FileCacheTypeVersionT &&value)
CreateFileCacheRequest & WithSubnetIds(SubnetIdsT &&value)
CreateFileCacheRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
void SetFileCacheType(FileCacheType value)
CreateFileCacheRequest & WithStorageCapacity(int value)
int GetStorageCapacity() const
bool KmsKeyIdHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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