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>
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); }
148 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
158 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
174 inline FileCache&
AddSubnetIds(
const char* value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.push_back(value);
return *
this; }
198 inline void SetDNSName(
const char* value) { m_dNSNameHasBeenSet =
true; m_dNSName.assign(value); }
217 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
229 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
265 bool m_ownerIdHasBeenSet =
false;
268 bool m_creationTimeHasBeenSet =
false;
271 bool m_fileCacheIdHasBeenSet =
false;
274 bool m_fileCacheTypeHasBeenSet =
false;
277 bool m_fileCacheTypeVersionHasBeenSet =
false;
280 bool m_lifecycleHasBeenSet =
false;
283 bool m_failureDetailsHasBeenSet =
false;
285 int m_storageCapacity;
286 bool m_storageCapacityHasBeenSet =
false;
289 bool m_vpcIdHasBeenSet =
false;
292 bool m_subnetIdsHasBeenSet =
false;
295 bool m_networkInterfaceIdsHasBeenSet =
false;
298 bool m_dNSNameHasBeenSet =
false;
301 bool m_kmsKeyIdHasBeenSet =
false;
304 bool m_resourceARNHasBeenSet =
false;
307 bool m_lustreConfigurationHasBeenSet =
false;
310 bool m_dataRepositoryAssociationIdsHasBeenSet =
false;
void SetFileCacheType(const FileCacheType &value)
FileCache & WithVpcId(Aws::String &&value)
void SetLifecycle(const FileCacheLifecycle &value)
FileCache & AddDataRepositoryAssociationIds(Aws::String &&value)
FileCache & WithVpcId(const Aws::String &value)
bool LifecycleHasBeenSet() const
void SetFileCacheTypeVersion(const char *value)
bool DNSNameHasBeenSet() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
FileCache & WithFailureDetails(const FileCacheFailureDetails &value)
FileCache & WithLustreConfiguration(FileCacheLustreConfiguration &&value)
FileCache & WithVpcId(const char *value)
int GetStorageCapacity() const
void SetDNSName(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
FileCache & WithKmsKeyId(const Aws::String &value)
void SetDataRepositoryAssociationIds(const Aws::Vector< Aws::String > &value)
void SetOwnerId(const char *value)
void SetLustreConfiguration(const FileCacheLustreConfiguration &value)
bool FailureDetailsHasBeenSet() const
const Aws::String & GetFileCacheTypeVersion() const
bool FileCacheIdHasBeenSet() const
bool ResourceARNHasBeenSet() const
bool FileCacheTypeHasBeenSet() const
void SetFileCacheTypeVersion(Aws::String &&value)
bool DataRepositoryAssociationIdsHasBeenSet() const
FileCache & WithDNSName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
FileCache & WithLifecycle(const FileCacheLifecycle &value)
FileCache & WithCreationTime(Aws::Utils::DateTime &&value)
bool StorageCapacityHasBeenSet() const
FileCache & WithDataRepositoryAssociationIds(const Aws::Vector< Aws::String > &value)
FileCache & WithFileCacheType(FileCacheType &&value)
void SetFileCacheId(const Aws::String &value)
FileCache & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
FileCache & WithFileCacheId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLustreConfiguration(FileCacheLustreConfiguration &&value)
const FileCacheFailureDetails & GetFailureDetails() const
void SetKmsKeyId(const char *value)
AWS_FSX_API FileCache(Aws::Utils::Json::JsonView jsonValue)
FileCache & WithDNSName(const char *value)
FileCache & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetFileCacheId() const
FileCache & WithOwnerId(const char *value)
const Aws::String & GetOwnerId() const
FileCache & WithKmsKeyId(const char *value)
void SetVpcId(const char *value)
FileCache & WithFileCacheTypeVersion(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
FileCache & WithFileCacheTypeVersion(Aws::String &&value)
bool VpcIdHasBeenSet() const
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
void SetDNSName(const Aws::String &value)
void SetFileCacheId(const char *value)
FileCache & WithResourceARN(const char *value)
FileCache & WithDNSName(const Aws::String &value)
FileCache & AddNetworkInterfaceIds(const Aws::String &value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetResourceARN() const
void SetFileCacheType(FileCacheType &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
FileCache & WithKmsKeyId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
void SetResourceARN(Aws::String &&value)
FileCache & AddSubnetIds(const char *value)
void SetResourceARN(const char *value)
FileCache & AddDataRepositoryAssociationIds(const Aws::String &value)
void SetResourceARN(const Aws::String &value)
FileCache & AddSubnetIds(const Aws::String &value)
void SetFailureDetails(const FileCacheFailureDetails &value)
FileCache & WithResourceARN(Aws::String &&value)
FileCache & WithFileCacheType(const FileCacheType &value)
FileCache & WithStorageCapacity(int value)
bool CreationTimeHasBeenSet() const
FileCache & AddDataRepositoryAssociationIds(const char *value)
void SetLifecycle(FileCacheLifecycle &&value)
FileCache & WithSubnetIds(Aws::Vector< Aws::String > &&value)
FileCache & WithFailureDetails(FileCacheFailureDetails &&value)
const Aws::String & GetKmsKeyId() const
void SetFileCacheId(Aws::String &&value)
void SetVpcId(Aws::String &&value)
FileCache & WithLifecycle(FileCacheLifecycle &&value)
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
FileCache & AddNetworkInterfaceIds(const char *value)
void SetKmsKeyId(Aws::String &&value)
FileCache & WithFileCacheTypeVersion(const char *value)
bool FileCacheTypeVersionHasBeenSet() const
void SetDataRepositoryAssociationIds(Aws::Vector< Aws::String > &&value)
FileCache & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
FileCache & WithDataRepositoryAssociationIds(Aws::Vector< Aws::String > &&value)
FileCache & WithFileCacheId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDataRepositoryAssociationIds() const
void SetDNSName(Aws::String &&value)
void SetVpcId(const Aws::String &value)
void SetFailureDetails(FileCacheFailureDetails &&value)
const Aws::String & GetDNSName() const
const FileCacheLifecycle & GetLifecycle() const
void SetOwnerId(const Aws::String &value)
FileCache & WithLustreConfiguration(const FileCacheLustreConfiguration &value)
void SetOwnerId(Aws::String &&value)
FileCache & WithOwnerId(const Aws::String &value)
FileCache & WithSubnetIds(const Aws::Vector< Aws::String > &value)
FileCache & AddSubnetIds(Aws::String &&value)
bool NetworkInterfaceIdsHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
FileCache & WithFileCacheId(Aws::String &&value)
const Aws::String & GetVpcId() const
bool SubnetIdsHasBeenSet() const
const FileCacheType & GetFileCacheType() const
void SetFileCacheTypeVersion(const Aws::String &value)
AWS_FSX_API FileCache & operator=(Aws::Utils::Json::JsonView jsonValue)
FileCache & AddNetworkInterfaceIds(Aws::String &&value)
const FileCacheLustreConfiguration & GetLustreConfiguration() const
bool LustreConfigurationHasBeenSet() const
FileCache & WithResourceARN(const Aws::String &value)
FileCache & WithOwnerId(Aws::String &&value)
void SetStorageCapacity(int 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