7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/FileCacheType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/fsx/model/CreateFileCacheLustreConfiguration.h>
13#include <aws/fsx/model/Tag.h>
14#include <aws/fsx/model/FileCacheDataRepositoryAssociation.h>
16#include <aws/core/utils/UUID.h>
59 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
87 inline void SetFileCacheTypeVersion(
const char* value) { m_fileCacheTypeVersionHasBeenSet =
true; m_fileCacheTypeVersion.assign(value); }
100 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
170 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
212 bool m_clientRequestTokenHasBeenSet =
false;
215 bool m_fileCacheTypeHasBeenSet =
false;
218 bool m_fileCacheTypeVersionHasBeenSet =
false;
220 int m_storageCapacity;
221 bool m_storageCapacityHasBeenSet =
false;
224 bool m_subnetIdsHasBeenSet =
false;
227 bool m_securityGroupIdsHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
232 bool m_copyTagsToDataRepositoryAssociations;
233 bool m_copyTagsToDataRepositoryAssociationsHasBeenSet =
false;
236 bool m_kmsKeyIdHasBeenSet =
false;
239 bool m_lustreConfigurationHasBeenSet =
false;
242 bool m_dataRepositoryAssociationsHasBeenSet =
false;
CreateFileCacheRequest & AddSecurityGroupIds(const Aws::String &value)
CreateFileCacheRequest & WithTags(Aws::Vector< Tag > &&value)
void SetStorageCapacity(int value)
const Aws::String & GetFileCacheTypeVersion() const
CreateFileCacheRequest & WithClientRequestToken(const Aws::String &value)
void SetDataRepositoryAssociations(Aws::Vector< FileCacheDataRepositoryAssociation > &&value)
void SetKmsKeyId(Aws::String &&value)
CreateFileCacheRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateFileCacheRequest & WithCopyTagsToDataRepositoryAssociations(bool value)
CreateFileCacheRequest & AddSubnetIds(Aws::String &&value)
bool SecurityGroupIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetLustreConfiguration(const CreateFileCacheLustreConfiguration &value)
void SetKmsKeyId(const char *value)
const Aws::Vector< FileCacheDataRepositoryAssociation > & GetDataRepositoryAssociations() const
bool DataRepositoryAssociationsHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateFileCacheRequest & WithFileCacheTypeVersion(const char *value)
const Aws::String & GetClientRequestToken() const
CreateFileCacheRequest & WithFileCacheTypeVersion(const Aws::String &value)
AWS_FSX_API Aws::String SerializePayload() const override
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetFileCacheTypeVersion(const Aws::String &value)
CreateFileCacheRequest & AddSubnetIds(const char *value)
CreateFileCacheRequest & WithFileCacheTypeVersion(Aws::String &&value)
bool SubnetIdsHasBeenSet() const
CreateFileCacheRequest & WithFileCacheType(const FileCacheType &value)
bool LustreConfigurationHasBeenSet() const
const CreateFileCacheLustreConfiguration & GetLustreConfiguration() const
CreateFileCacheRequest & AddTags(const Tag &value)
bool GetCopyTagsToDataRepositoryAssociations() const
CreateFileCacheRequest & AddSecurityGroupIds(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
CreateFileCacheRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const FileCacheType & GetFileCacheType() const
CreateFileCacheRequest & WithKmsKeyId(const Aws::String &value)
CreateFileCacheRequest & WithLustreConfiguration(const CreateFileCacheLustreConfiguration &value)
CreateFileCacheRequest & WithDataRepositoryAssociations(const Aws::Vector< FileCacheDataRepositoryAssociation > &value)
bool ClientRequestTokenHasBeenSet() const
bool CopyTagsToDataRepositoryAssociationsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_FSX_API CreateFileCacheRequest()
CreateFileCacheRequest & WithKmsKeyId(const char *value)
bool FileCacheTypeVersionHasBeenSet() const
CreateFileCacheRequest & WithClientRequestToken(Aws::String &&value)
CreateFileCacheRequest & WithKmsKeyId(Aws::String &&value)
void SetClientRequestToken(const Aws::String &value)
CreateFileCacheRequest & AddDataRepositoryAssociations(FileCacheDataRepositoryAssociation &&value)
bool FileCacheTypeHasBeenSet() const
CreateFileCacheRequest & WithFileCacheType(FileCacheType &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetFileCacheTypeVersion(Aws::String &&value)
CreateFileCacheRequest & AddDataRepositoryAssociations(const FileCacheDataRepositoryAssociation &value)
void SetDataRepositoryAssociations(const Aws::Vector< FileCacheDataRepositoryAssociation > &value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Tag > & GetTags() const
void SetFileCacheTypeVersion(const char *value)
CreateFileCacheRequest & WithLustreConfiguration(CreateFileCacheLustreConfiguration &&value)
void SetLustreConfiguration(CreateFileCacheLustreConfiguration &&value)
CreateFileCacheRequest & AddTags(Tag &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool TagsHasBeenSet() const
void SetCopyTagsToDataRepositoryAssociations(bool value)
void SetClientRequestToken(const char *value)
CreateFileCacheRequest & WithDataRepositoryAssociations(Aws::Vector< FileCacheDataRepositoryAssociation > &&value)
CreateFileCacheRequest & WithClientRequestToken(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
CreateFileCacheRequest & AddSecurityGroupIds(const char *value)
bool StorageCapacityHasBeenSet() const
CreateFileCacheRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetFileCacheType(FileCacheType &&value)
CreateFileCacheRequest & WithTags(const Aws::Vector< Tag > &value)
void SetClientRequestToken(Aws::String &&value)
CreateFileCacheRequest & AddSubnetIds(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
CreateFileCacheRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
CreateFileCacheRequest & WithStorageCapacity(int value)
void SetFileCacheType(const FileCacheType &value)
int GetStorageCapacity() const
bool KmsKeyIdHasBeenSet() const
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