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>
15#include <aws/fsx/model/Tag.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;
157 template <
typename FailureDetailsT = FileCacheFailureDetails>
159 m_failureDetailsHasBeenSet =
true;
160 m_failureDetails = std::forward<FailureDetailsT>(value);
162 template <
typename FailureDetailsT = FileCacheFailureDetails>
176 m_storageCapacityHasBeenSet =
true;
177 m_storageCapacity = value;
189 template <
typename VpcIdT = Aws::String>
191 m_vpcIdHasBeenSet =
true;
192 m_vpcId = std::forward<VpcIdT>(value);
194 template <
typename VpcIdT = Aws::String>
196 SetVpcId(std::forward<VpcIdT>(value));
205 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
207 m_subnetIdsHasBeenSet =
true;
208 m_subnetIds = std::forward<SubnetIdsT>(value);
210 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
215 template <
typename SubnetIdsT = Aws::String>
217 m_subnetIdsHasBeenSet =
true;
218 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
227 template <
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
229 m_networkInterfaceIdsHasBeenSet =
true;
230 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
232 template <
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
237 template <
typename NetworkInterfaceIdsT = Aws::String>
239 m_networkInterfaceIdsHasBeenSet =
true;
240 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
251 template <
typename DNSNameT = Aws::String>
253 m_dNSNameHasBeenSet =
true;
254 m_dNSName = std::forward<DNSNameT>(value);
256 template <
typename DNSNameT = Aws::String>
274 template <
typename KmsKeyIdT = Aws::String>
276 m_kmsKeyIdHasBeenSet =
true;
277 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
279 template <
typename KmsKeyIdT = Aws::String>
290 template <
typename ResourceARNT = Aws::String>
292 m_resourceARNHasBeenSet =
true;
293 m_resourceARN = std::forward<ResourceARNT>(value);
295 template <
typename ResourceARNT = Aws::String>
306 template <
typename TagsT = Aws::Vector<Tag>>
308 m_tagsHasBeenSet =
true;
309 m_tags = std::forward<TagsT>(value);
311 template <
typename TagsT = Aws::Vector<Tag>>
313 SetTags(std::forward<TagsT>(value));
316 template <
typename TagsT = Tag>
318 m_tagsHasBeenSet =
true;
319 m_tags.emplace_back(std::forward<TagsT>(value));
332 m_copyTagsToDataRepositoryAssociationsHasBeenSet =
true;
333 m_copyTagsToDataRepositoryAssociations = value;
347 template <
typename LustreConfigurationT = FileCacheLustreConfiguration>
349 m_lustreConfigurationHasBeenSet =
true;
350 m_lustreConfiguration = std::forward<LustreConfigurationT>(value);
352 template <
typename LustreConfigurationT = FileCacheLustreConfiguration>
366 template <
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
368 m_dataRepositoryAssociationIdsHasBeenSet =
true;
369 m_dataRepositoryAssociationIds = std::forward<DataRepositoryAssociationIdsT>(value);
371 template <
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
376 template <
typename DataRepositoryAssociationIdsT = Aws::String>
378 m_dataRepositoryAssociationIdsHasBeenSet =
true;
379 m_dataRepositoryAssociationIds.emplace_back(std::forward<DataRepositoryAssociationIdsT>(value));
396 FileCacheFailureDetails m_failureDetails;
398 int m_storageCapacity{0};
414 bool m_copyTagsToDataRepositoryAssociations{
false};
416 FileCacheLustreConfiguration m_lustreConfiguration;
419 bool m_ownerIdHasBeenSet =
false;
420 bool m_creationTimeHasBeenSet =
false;
421 bool m_fileCacheIdHasBeenSet =
false;
422 bool m_fileCacheTypeHasBeenSet =
false;
423 bool m_fileCacheTypeVersionHasBeenSet =
false;
424 bool m_lifecycleHasBeenSet =
false;
425 bool m_failureDetailsHasBeenSet =
false;
426 bool m_storageCapacityHasBeenSet =
false;
427 bool m_vpcIdHasBeenSet =
false;
428 bool m_subnetIdsHasBeenSet =
false;
429 bool m_networkInterfaceIdsHasBeenSet =
false;
430 bool m_dNSNameHasBeenSet =
false;
431 bool m_kmsKeyIdHasBeenSet =
false;
432 bool m_resourceARNHasBeenSet =
false;
433 bool m_tagsHasBeenSet =
false;
434 bool m_copyTagsToDataRepositoryAssociationsHasBeenSet =
false;
435 bool m_lustreConfigurationHasBeenSet =
false;
436 bool m_dataRepositoryAssociationIdsHasBeenSet =
false;
void SetFileCacheTypeVersion(FileCacheTypeVersionT &&value)
const Aws::Vector< Aws::String > & GetDataRepositoryAssociationIds() const
bool CopyTagsToDataRepositoryAssociationsHasBeenSet() const
bool StorageCapacityHasBeenSet() const
void SetStorageCapacity(int value)
const Aws::String & GetFileCacheId() const
FileCacheCreating & WithLifecycle(FileCacheLifecycle value)
FileCacheCreating & WithStorageCapacity(int value)
bool FileCacheIdHasBeenSet() const
FileCacheCreating & WithFileCacheType(FileCacheType value)
bool LifecycleHasBeenSet() const
bool DataRepositoryAssociationIdsHasBeenSet() const
bool NetworkInterfaceIdsHasBeenSet() const
void SetFileCacheId(FileCacheIdT &&value)
void SetFileCacheType(FileCacheType value)
FileCacheCreating & AddTags(TagsT &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDNSName() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetLustreConfiguration(LustreConfigurationT &&value)
void SetNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
FileCacheCreating & WithNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
FileCacheCreating & WithDataRepositoryAssociationIds(DataRepositoryAssociationIdsT &&value)
void SetTags(TagsT &&value)
FileCacheCreating & WithFileCacheTypeVersion(FileCacheTypeVersionT &&value)
FileCacheCreating & WithSubnetIds(SubnetIdsT &&value)
FileCacheCreating & AddNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
void SetLifecycle(FileCacheLifecycle value)
FileCacheCreating & WithCreationTime(CreationTimeT &&value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
bool DNSNameHasBeenSet() const
const Aws::String & GetFileCacheTypeVersion() const
bool LustreConfigurationHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
const FileCacheFailureDetails & GetFailureDetails() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetCopyTagsToDataRepositoryAssociations(bool value)
int GetStorageCapacity() const
FileCacheCreating & WithVpcId(VpcIdT &&value)
FileCacheCreating & AddSubnetIds(SubnetIdsT &&value)
AWS_FSX_API FileCacheCreating()=default
bool TagsHasBeenSet() const
FileCacheCreating & AddDataRepositoryAssociationIds(DataRepositoryAssociationIdsT &&value)
const Aws::String & GetOwnerId() const
FileCacheCreating & WithLustreConfiguration(LustreConfigurationT &&value)
const Aws::String & GetVpcId() const
FileCacheLifecycle GetLifecycle() const
FileCacheCreating & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< Tag > & GetTags() const
bool OwnerIdHasBeenSet() const
FileCacheCreating & WithCopyTagsToDataRepositoryAssociations(bool value)
bool FileCacheTypeHasBeenSet() const
void SetFailureDetails(FailureDetailsT &&value)
bool GetCopyTagsToDataRepositoryAssociations() const
void SetCreationTime(CreationTimeT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
FileCacheCreating & WithTags(TagsT &&value)
void SetDNSName(DNSNameT &&value)
FileCacheCreating & WithOwnerId(OwnerIdT &&value)
void SetOwnerId(OwnerIdT &&value)
void SetDataRepositoryAssociationIds(DataRepositoryAssociationIdsT &&value)
AWS_FSX_API FileCacheCreating(Aws::Utils::Json::JsonView jsonValue)
FileCacheCreating & WithFileCacheId(FileCacheIdT &&value)
FileCacheType GetFileCacheType() const
FileCacheCreating & WithDNSName(DNSNameT &&value)
FileCacheCreating & WithResourceARN(ResourceARNT &&value)
bool FailureDetailsHasBeenSet() const
AWS_FSX_API FileCacheCreating & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VpcIdHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetResourceARN(ResourceARNT &&value)
void SetSubnetIds(SubnetIdsT &&value)
bool ResourceARNHasBeenSet() const
void SetVpcId(VpcIdT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetResourceARN() const
FileCacheCreating & WithFailureDetails(FailureDetailsT &&value)
bool FileCacheTypeVersionHasBeenSet() const
bool SubnetIdsHasBeenSet() const
const FileCacheLustreConfiguration & GetLustreConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue