7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/fsx/model/FileCacheType.h>
11#include <aws/fsx/model/FileCacheLifecycle.h>
12#include <aws/fsx/model/FileCacheFailureDetails.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/fsx/model/FileCacheLustreConfiguration.h>
15#include <aws/fsx/model/Tag.h>
54 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
78 inline void SetFileCacheId(
const char* value) { m_fileCacheIdHasBeenSet =
true; m_fileCacheId.assign(value); }
104 inline void SetFileCacheTypeVersion(
const char* value) { m_fileCacheTypeVersionHasBeenSet =
true; m_fileCacheTypeVersion.assign(value); }
149 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
159 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
199 inline void SetDNSName(
const char* value) { m_dNSNameHasBeenSet =
true; m_dNSName.assign(value); }
218 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
230 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
289 bool m_ownerIdHasBeenSet =
false;
292 bool m_creationTimeHasBeenSet =
false;
295 bool m_fileCacheIdHasBeenSet =
false;
298 bool m_fileCacheTypeHasBeenSet =
false;
301 bool m_fileCacheTypeVersionHasBeenSet =
false;
304 bool m_lifecycleHasBeenSet =
false;
307 bool m_failureDetailsHasBeenSet =
false;
309 int m_storageCapacity;
310 bool m_storageCapacityHasBeenSet =
false;
313 bool m_vpcIdHasBeenSet =
false;
316 bool m_subnetIdsHasBeenSet =
false;
319 bool m_networkInterfaceIdsHasBeenSet =
false;
322 bool m_dNSNameHasBeenSet =
false;
325 bool m_kmsKeyIdHasBeenSet =
false;
328 bool m_resourceARNHasBeenSet =
false;
331 bool m_tagsHasBeenSet =
false;
333 bool m_copyTagsToDataRepositoryAssociations;
334 bool m_copyTagsToDataRepositoryAssociationsHasBeenSet =
false;
337 bool m_lustreConfigurationHasBeenSet =
false;
340 bool m_dataRepositoryAssociationIdsHasBeenSet =
false;
AWS_FSX_API FileCacheCreating()
const Aws::Vector< Aws::String > & GetDataRepositoryAssociationIds() const
FileCacheCreating & WithDataRepositoryAssociationIds(Aws::Vector< Aws::String > &&value)
bool CopyTagsToDataRepositoryAssociationsHasBeenSet() const
FileCacheCreating & AddSubnetIds(Aws::String &&value)
bool StorageCapacityHasBeenSet() const
void SetStorageCapacity(int value)
const FileCacheType & GetFileCacheType() const
FileCacheCreating & AddDataRepositoryAssociationIds(Aws::String &&value)
FileCacheCreating & WithFileCacheId(Aws::String &&value)
void SetLustreConfiguration(FileCacheLustreConfiguration &&value)
FileCacheCreating & WithFailureDetails(FileCacheFailureDetails &&value)
FileCacheCreating & WithOwnerId(Aws::String &&value)
const Aws::String & GetFileCacheId() const
FileCacheCreating & WithStorageCapacity(int value)
bool FileCacheIdHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
FileCacheCreating & WithFileCacheId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool LifecycleHasBeenSet() const
const FileCacheLifecycle & GetLifecycle() const
bool DataRepositoryAssociationIdsHasBeenSet() const
bool NetworkInterfaceIdsHasBeenSet() const
void SetFileCacheId(const char *value)
FileCacheCreating & WithOwnerId(const char *value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDNSName() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
FileCacheCreating & WithLustreConfiguration(FileCacheLustreConfiguration &&value)
FileCacheCreating & WithResourceARN(const Aws::String &value)
void SetOwnerId(const Aws::String &value)
void SetFileCacheTypeVersion(Aws::String &&value)
FileCacheCreating & WithLifecycle(const FileCacheLifecycle &value)
FileCacheCreating & AddNetworkInterfaceIds(const char *value)
void SetLustreConfiguration(const FileCacheLustreConfiguration &value)
FileCacheCreating & WithCreationTime(Aws::Utils::DateTime &&value)
void SetResourceARN(const Aws::String &value)
FileCacheCreating & WithDNSName(Aws::String &&value)
FileCacheCreating & WithTags(Aws::Vector< Tag > &&value)
void SetDataRepositoryAssociationIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
void SetKmsKeyId(Aws::String &&value)
FileCacheCreating & WithKmsKeyId(const Aws::String &value)
bool DNSNameHasBeenSet() const
FileCacheCreating & AddTags(Tag &&value)
void SetDataRepositoryAssociationIds(Aws::Vector< Aws::String > &&value)
FileCacheCreating & WithSubnetIds(Aws::Vector< Aws::String > &&value)
FileCacheCreating & WithFailureDetails(const FileCacheFailureDetails &value)
const Aws::String & GetFileCacheTypeVersion() const
FileCacheCreating & WithLustreConfiguration(const FileCacheLustreConfiguration &value)
FileCacheCreating & WithTags(const Aws::Vector< Tag > &value)
bool LustreConfigurationHasBeenSet() const
FileCacheCreating & WithFileCacheType(FileCacheType &&value)
const FileCacheFailureDetails & GetFailureDetails() const
void SetDNSName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCopyTagsToDataRepositoryAssociations(bool value)
int GetStorageCapacity() const
FileCacheCreating & WithKmsKeyId(const char *value)
FileCacheCreating & AddNetworkInterfaceIds(Aws::String &&value)
bool TagsHasBeenSet() const
void SetVpcId(Aws::String &&value)
FileCacheCreating & WithCreationTime(const Aws::Utils::DateTime &value)
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
void SetResourceARN(Aws::String &&value)
const Aws::String & GetOwnerId() const
FileCacheCreating & WithDNSName(const char *value)
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcId() const
FileCacheCreating & WithKmsKeyId(Aws::String &&value)
FileCacheCreating & AddDataRepositoryAssociationIds(const char *value)
const Aws::Vector< Tag > & GetTags() const
FileCacheCreating & AddSubnetIds(const Aws::String &value)
bool OwnerIdHasBeenSet() const
void SetFailureDetails(FileCacheFailureDetails &&value)
FileCacheCreating & WithOwnerId(const Aws::String &value)
void SetFileCacheTypeVersion(const char *value)
FileCacheCreating & WithCopyTagsToDataRepositoryAssociations(bool value)
bool FileCacheTypeHasBeenSet() const
void SetFileCacheType(FileCacheType &&value)
FileCacheCreating & WithFileCacheType(const FileCacheType &value)
FileCacheCreating & WithSubnetIds(const Aws::Vector< Aws::String > &value)
FileCacheCreating & WithFileCacheTypeVersion(const char *value)
FileCacheCreating & WithDNSName(const Aws::String &value)
FileCacheCreating & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
void SetVpcId(const char *value)
bool GetCopyTagsToDataRepositoryAssociations() const
void SetOwnerId(const char *value)
void SetFailureDetails(const FileCacheFailureDetails &value)
FileCacheCreating & WithLifecycle(FileCacheLifecycle &&value)
void SetKmsKeyId(const char *value)
FileCacheCreating & WithFileCacheTypeVersion(const Aws::String &value)
FileCacheCreating & AddDataRepositoryAssociationIds(const Aws::String &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLifecycle(FileCacheLifecycle &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetDNSName(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetVpcId(const Aws::String &value)
AWS_FSX_API FileCacheCreating(Aws::Utils::Json::JsonView jsonValue)
void SetFileCacheType(const FileCacheType &value)
void SetLifecycle(const FileCacheLifecycle &value)
void SetResourceARN(const char *value)
bool FailureDetailsHasBeenSet() const
FileCacheCreating & WithVpcId(Aws::String &&value)
void SetFileCacheId(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
void SetFileCacheTypeVersion(const Aws::String &value)
AWS_FSX_API FileCacheCreating & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VpcIdHasBeenSet() const
FileCacheCreating & AddSubnetIds(const char *value)
FileCacheCreating & WithDataRepositoryAssociationIds(const Aws::Vector< Aws::String > &value)
void SetOwnerId(Aws::String &&value)
FileCacheCreating & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
bool CreationTimeHasBeenSet() const
FileCacheCreating & WithVpcId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
FileCacheCreating & WithFileCacheId(const Aws::String &value)
FileCacheCreating & WithFileCacheTypeVersion(Aws::String &&value)
bool ResourceARNHasBeenSet() const
FileCacheCreating & WithVpcId(const char *value)
bool KmsKeyIdHasBeenSet() const
FileCacheCreating & AddTags(const Tag &value)
void SetFileCacheId(Aws::String &&value)
const Aws::String & GetResourceARN() const
bool FileCacheTypeVersionHasBeenSet() const
void SetDNSName(Aws::String &&value)
FileCacheCreating & WithResourceARN(Aws::String &&value)
FileCacheCreating & WithResourceARN(const char *value)
bool SubnetIdsHasBeenSet() const
const FileCacheLustreConfiguration & GetLustreConfiguration() const
FileCacheCreating & AddNetworkInterfaceIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue