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>
52 template<
typename OwnerIdT = Aws::String>
53 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
54 template<
typename OwnerIdT = Aws::String>
62 template<
typename CreationTimeT = Aws::Utils::DateTime>
63 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
64 template<
typename CreationTimeT = Aws::Utils::DateTime>
74 template<
typename FileCacheIdT = Aws::String>
75 void SetFileCacheId(FileCacheIdT&& value) { m_fileCacheIdHasBeenSet =
true; m_fileCacheId = std::forward<FileCacheIdT>(value); }
76 template<
typename FileCacheIdT = Aws::String>
96 template<
typename FileCacheTypeVersionT = Aws::String>
97 void SetFileCacheTypeVersion(FileCacheTypeVersionT&& value) { m_fileCacheTypeVersionHasBeenSet =
true; m_fileCacheTypeVersion = std::forward<FileCacheTypeVersionT>(value); }
98 template<
typename FileCacheTypeVersionT = Aws::String>
126 template<
typename FailureDetailsT = FileCacheFailureDetails>
127 void SetFailureDetails(FailureDetailsT&& value) { m_failureDetailsHasBeenSet =
true; m_failureDetails = std::forward<FailureDetailsT>(value); }
128 template<
typename FailureDetailsT = FileCacheFailureDetails>
138 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
146 template<
typename VpcIdT = Aws::String>
147 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
148 template<
typename VpcIdT = Aws::String>
156 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
157 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
158 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
160 template<
typename SubnetIdsT = Aws::String>
161 FileCache&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
168 template<
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
169 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet =
true; m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value); }
170 template<
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
172 template<
typename NetworkInterfaceIdsT = Aws::String>
173 FileCache&
AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet =
true; m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
return *
this; }
182 template<
typename DNSNameT = Aws::String>
183 void SetDNSName(DNSNameT&& value) { m_dNSNameHasBeenSet =
true; m_dNSName = std::forward<DNSNameT>(value); }
184 template<
typename DNSNameT = Aws::String>
199 template<
typename KmsKeyIdT = Aws::String>
200 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
201 template<
typename KmsKeyIdT = Aws::String>
209 template<
typename ResourceARNT = Aws::String>
210 void SetResourceARN(ResourceARNT&& value) { m_resourceARNHasBeenSet =
true; m_resourceARN = std::forward<ResourceARNT>(value); }
211 template<
typename ResourceARNT = Aws::String>
221 template<
typename LustreConfigurationT = FileCacheLustreConfiguration>
222 void SetLustreConfiguration(LustreConfigurationT&& value) { m_lustreConfigurationHasBeenSet =
true; m_lustreConfiguration = std::forward<LustreConfigurationT>(value); }
223 template<
typename LustreConfigurationT = FileCacheLustreConfiguration>
234 template<
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
235 void SetDataRepositoryAssociationIds(DataRepositoryAssociationIdsT&& value) { m_dataRepositoryAssociationIdsHasBeenSet =
true; m_dataRepositoryAssociationIds = std::forward<DataRepositoryAssociationIdsT>(value); }
236 template<
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
238 template<
typename DataRepositoryAssociationIdsT = Aws::String>
239 FileCache&
AddDataRepositoryAssociationIds(DataRepositoryAssociationIdsT&& value) { m_dataRepositoryAssociationIdsHasBeenSet =
true; m_dataRepositoryAssociationIds.emplace_back(std::forward<DataRepositoryAssociationIdsT>(value));
return *
this; }
244 bool m_ownerIdHasBeenSet =
false;
247 bool m_creationTimeHasBeenSet =
false;
250 bool m_fileCacheIdHasBeenSet =
false;
253 bool m_fileCacheTypeHasBeenSet =
false;
256 bool m_fileCacheTypeVersionHasBeenSet =
false;
259 bool m_lifecycleHasBeenSet =
false;
261 FileCacheFailureDetails m_failureDetails;
262 bool m_failureDetailsHasBeenSet =
false;
264 int m_storageCapacity{0};
265 bool m_storageCapacityHasBeenSet =
false;
268 bool m_vpcIdHasBeenSet =
false;
271 bool m_subnetIdsHasBeenSet =
false;
274 bool m_networkInterfaceIdsHasBeenSet =
false;
277 bool m_dNSNameHasBeenSet =
false;
280 bool m_kmsKeyIdHasBeenSet =
false;
283 bool m_resourceARNHasBeenSet =
false;
285 FileCacheLustreConfiguration m_lustreConfiguration;
286 bool m_lustreConfigurationHasBeenSet =
false;
289 bool m_dataRepositoryAssociationIdsHasBeenSet =
false;
FileCache & AddNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
void SetFileCacheType(FileCacheType value)
FileCache & WithFailureDetails(FailureDetailsT &&value)
bool LifecycleHasBeenSet() const
void SetVpcId(VpcIdT &&value)
bool DNSNameHasBeenSet() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API FileCache()=default
FileCache & AddDataRepositoryAssociationIds(DataRepositoryAssociationIdsT &&value)
FileCache & WithKmsKeyId(KmsKeyIdT &&value)
int GetStorageCapacity() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
FileCacheType GetFileCacheType() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool FailureDetailsHasBeenSet() const
const Aws::String & GetFileCacheTypeVersion() const
bool FileCacheIdHasBeenSet() const
FileCache & WithDNSName(DNSNameT &&value)
bool ResourceARNHasBeenSet() const
bool FileCacheTypeHasBeenSet() const
bool DataRepositoryAssociationIdsHasBeenSet() const
FileCache & WithFileCacheId(FileCacheIdT &&value)
bool StorageCapacityHasBeenSet() const
FileCache & WithNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
void SetOwnerId(OwnerIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
FileCacheLifecycle GetLifecycle() const
FileCache & WithSubnetIds(SubnetIdsT &&value)
const FileCacheFailureDetails & GetFailureDetails() const
FileCache & WithOwnerId(OwnerIdT &&value)
AWS_FSX_API FileCache(Aws::Utils::Json::JsonView jsonValue)
void SetFileCacheId(FileCacheIdT &&value)
const Aws::String & GetFileCacheId() const
const Aws::String & GetOwnerId() const
void SetFileCacheTypeVersion(FileCacheTypeVersionT &&value)
FileCache & AddSubnetIds(SubnetIdsT &&value)
FileCache & WithLustreConfiguration(LustreConfigurationT &&value)
bool VpcIdHasBeenSet() const
FileCache & WithFileCacheType(FileCacheType value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetResourceARN() const
void SetResourceARN(ResourceARNT &&value)
FileCache & WithFileCacheTypeVersion(FileCacheTypeVersionT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
FileCache & WithDataRepositoryAssociationIds(DataRepositoryAssociationIdsT &&value)
FileCache & WithStorageCapacity(int value)
bool CreationTimeHasBeenSet() const
void SetNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
void SetDataRepositoryAssociationIds(DataRepositoryAssociationIdsT &&value)
void SetDNSName(DNSNameT &&value)
void SetSubnetIds(SubnetIdsT &&value)
const Aws::String & GetKmsKeyId() const
bool FileCacheTypeVersionHasBeenSet() const
void SetLifecycle(FileCacheLifecycle value)
const Aws::Vector< Aws::String > & GetDataRepositoryAssociationIds() const
FileCache & WithResourceARN(ResourceARNT &&value)
const Aws::String & GetDNSName() const
void SetFailureDetails(FailureDetailsT &&value)
FileCache & WithVpcId(VpcIdT &&value)
FileCache & WithCreationTime(CreationTimeT &&value)
bool NetworkInterfaceIdsHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetVpcId() const
bool SubnetIdsHasBeenSet() const
AWS_FSX_API FileCache & operator=(Aws::Utils::Json::JsonView jsonValue)
const FileCacheLustreConfiguration & GetLustreConfiguration() const
bool LustreConfigurationHasBeenSet() const
void SetStorageCapacity(int value)
FileCache & WithLifecycle(FileCacheLifecycle value)
void SetLustreConfiguration(LustreConfigurationT &&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