7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11#include <aws/fsx/model/FileCacheFailureDetails.h>
12#include <aws/fsx/model/FileCacheLifecycle.h>
13#include <aws/fsx/model/FileCacheLustreConfiguration.h>
14#include <aws/fsx/model/FileCacheType.h>
46 template <
typename OwnerIdT = Aws::String>
48 m_ownerIdHasBeenSet =
true;
49 m_ownerId = std::forward<OwnerIdT>(value);
51 template <
typename OwnerIdT = Aws::String>
62 template <
typename CreationTimeT = Aws::Utils::DateTime>
64 m_creationTimeHasBeenSet =
true;
65 m_creationTime = std::forward<CreationTimeT>(value);
67 template <
typename CreationTimeT = Aws::Utils::DateTime>
80 template <
typename FileCacheIdT = Aws::String>
82 m_fileCacheIdHasBeenSet =
true;
83 m_fileCacheId = std::forward<FileCacheIdT>(value);
85 template <
typename FileCacheIdT = Aws::String>
99 m_fileCacheTypeHasBeenSet =
true;
100 m_fileCacheType = value;
114 template <
typename FileCacheTypeVersionT = Aws::String>
116 m_fileCacheTypeVersionHasBeenSet =
true;
117 m_fileCacheTypeVersion = std::forward<FileCacheTypeVersionT>(value);
119 template <
typename FileCacheTypeVersionT = Aws::String>
141 m_lifecycleHasBeenSet =
true;
156 template <
typename FailureDetailsT = FileCacheFailureDetails>
158 m_failureDetailsHasBeenSet =
true;
159 m_failureDetails = std::forward<FailureDetailsT>(value);
161 template <
typename FailureDetailsT = FileCacheFailureDetails>
175 m_storageCapacityHasBeenSet =
true;
176 m_storageCapacity = value;
188 template <
typename VpcIdT = Aws::String>
190 m_vpcIdHasBeenSet =
true;
191 m_vpcId = std::forward<VpcIdT>(value);
193 template <
typename VpcIdT = Aws::String>
195 SetVpcId(std::forward<VpcIdT>(value));
204 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
206 m_subnetIdsHasBeenSet =
true;
207 m_subnetIds = std::forward<SubnetIdsT>(value);
209 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
214 template <
typename SubnetIdsT = Aws::String>
216 m_subnetIdsHasBeenSet =
true;
217 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
226 template <
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
228 m_networkInterfaceIdsHasBeenSet =
true;
229 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
231 template <
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
236 template <
typename NetworkInterfaceIdsT = Aws::String>
238 m_networkInterfaceIdsHasBeenSet =
true;
239 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
250 template <
typename DNSNameT = Aws::String>
252 m_dNSNameHasBeenSet =
true;
253 m_dNSName = std::forward<DNSNameT>(value);
255 template <
typename DNSNameT = Aws::String>
273 template <
typename KmsKeyIdT = Aws::String>
275 m_kmsKeyIdHasBeenSet =
true;
276 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
278 template <
typename KmsKeyIdT = Aws::String>
289 template <
typename ResourceARNT = Aws::String>
291 m_resourceARNHasBeenSet =
true;
292 m_resourceARN = std::forward<ResourceARNT>(value);
294 template <
typename ResourceARNT = Aws::String>
307 template <
typename LustreConfigurationT = FileCacheLustreConfiguration>
309 m_lustreConfigurationHasBeenSet =
true;
310 m_lustreConfiguration = std::forward<LustreConfigurationT>(value);
312 template <
typename LustreConfigurationT = FileCacheLustreConfiguration>
326 template <
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
328 m_dataRepositoryAssociationIdsHasBeenSet =
true;
329 m_dataRepositoryAssociationIds = std::forward<DataRepositoryAssociationIdsT>(value);
331 template <
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
336 template <
typename DataRepositoryAssociationIdsT = Aws::String>
338 m_dataRepositoryAssociationIdsHasBeenSet =
true;
339 m_dataRepositoryAssociationIds.emplace_back(std::forward<DataRepositoryAssociationIdsT>(value));
356 FileCacheFailureDetails m_failureDetails;
358 int m_storageCapacity{0};
372 FileCacheLustreConfiguration m_lustreConfiguration;
375 bool m_ownerIdHasBeenSet =
false;
376 bool m_creationTimeHasBeenSet =
false;
377 bool m_fileCacheIdHasBeenSet =
false;
378 bool m_fileCacheTypeHasBeenSet =
false;
379 bool m_fileCacheTypeVersionHasBeenSet =
false;
380 bool m_lifecycleHasBeenSet =
false;
381 bool m_failureDetailsHasBeenSet =
false;
382 bool m_storageCapacityHasBeenSet =
false;
383 bool m_vpcIdHasBeenSet =
false;
384 bool m_subnetIdsHasBeenSet =
false;
385 bool m_networkInterfaceIdsHasBeenSet =
false;
386 bool m_dNSNameHasBeenSet =
false;
387 bool m_kmsKeyIdHasBeenSet =
false;
388 bool m_resourceARNHasBeenSet =
false;
389 bool m_lustreConfigurationHasBeenSet =
false;
390 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