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>
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>
127 template<
typename FailureDetailsT = FileCacheFailureDetails>
128 void SetFailureDetails(FailureDetailsT&& value) { m_failureDetailsHasBeenSet =
true; m_failureDetails = std::forward<FailureDetailsT>(value); }
129 template<
typename FailureDetailsT = FileCacheFailureDetails>
139 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
147 template<
typename VpcIdT = Aws::String>
148 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
149 template<
typename VpcIdT = Aws::String>
157 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
158 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
159 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
161 template<
typename SubnetIdsT = Aws::String>
162 FileCacheCreating&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
169 template<
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
170 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet =
true; m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value); }
171 template<
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
173 template<
typename NetworkInterfaceIdsT = Aws::String>
174 FileCacheCreating&
AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet =
true; m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
return *
this; }
183 template<
typename DNSNameT = Aws::String>
184 void SetDNSName(DNSNameT&& value) { m_dNSNameHasBeenSet =
true; m_dNSName = std::forward<DNSNameT>(value); }
185 template<
typename DNSNameT = Aws::String>
200 template<
typename KmsKeyIdT = Aws::String>
201 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
202 template<
typename KmsKeyIdT = Aws::String>
210 template<
typename ResourceARNT = Aws::String>
211 void SetResourceARN(ResourceARNT&& value) { m_resourceARNHasBeenSet =
true; m_resourceARN = std::forward<ResourceARNT>(value); }
212 template<
typename ResourceARNT = Aws::String>
220 template<
typename TagsT = Aws::Vector<Tag>>
221 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
222 template<
typename TagsT = Aws::Vector<Tag>>
224 template<
typename TagsT = Tag>
225 FileCacheCreating&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
245 template<
typename LustreConfigurationT = FileCacheLustreConfiguration>
246 void SetLustreConfiguration(LustreConfigurationT&& value) { m_lustreConfigurationHasBeenSet =
true; m_lustreConfiguration = std::forward<LustreConfigurationT>(value); }
247 template<
typename LustreConfigurationT = FileCacheLustreConfiguration>
258 template<
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
259 void SetDataRepositoryAssociationIds(DataRepositoryAssociationIdsT&& value) { m_dataRepositoryAssociationIdsHasBeenSet =
true; m_dataRepositoryAssociationIds = std::forward<DataRepositoryAssociationIdsT>(value); }
260 template<
typename DataRepositoryAssociationIdsT = Aws::Vector<Aws::String>>
262 template<
typename DataRepositoryAssociationIdsT = Aws::String>
263 FileCacheCreating&
AddDataRepositoryAssociationIds(DataRepositoryAssociationIdsT&& value) { m_dataRepositoryAssociationIdsHasBeenSet =
true; m_dataRepositoryAssociationIds.emplace_back(std::forward<DataRepositoryAssociationIdsT>(value));
return *
this; }
268 bool m_ownerIdHasBeenSet =
false;
271 bool m_creationTimeHasBeenSet =
false;
274 bool m_fileCacheIdHasBeenSet =
false;
277 bool m_fileCacheTypeHasBeenSet =
false;
280 bool m_fileCacheTypeVersionHasBeenSet =
false;
283 bool m_lifecycleHasBeenSet =
false;
285 FileCacheFailureDetails m_failureDetails;
286 bool m_failureDetailsHasBeenSet =
false;
288 int m_storageCapacity{0};
289 bool m_storageCapacityHasBeenSet =
false;
292 bool m_vpcIdHasBeenSet =
false;
295 bool m_subnetIdsHasBeenSet =
false;
298 bool m_networkInterfaceIdsHasBeenSet =
false;
301 bool m_dNSNameHasBeenSet =
false;
304 bool m_kmsKeyIdHasBeenSet =
false;
307 bool m_resourceARNHasBeenSet =
false;
310 bool m_tagsHasBeenSet =
false;
312 bool m_copyTagsToDataRepositoryAssociations{
false};
313 bool m_copyTagsToDataRepositoryAssociationsHasBeenSet =
false;
315 FileCacheLustreConfiguration m_lustreConfiguration;
316 bool m_lustreConfigurationHasBeenSet =
false;
319 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