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/DataRepositoryFailureDetails.h>
12#include <aws/fsx/model/DataRepositoryLifecycle.h>
13#include <aws/fsx/model/NFSDataRepositoryConfiguration.h>
14#include <aws/fsx/model/S3DataRepositoryConfiguration.h>
15#include <aws/fsx/model/Tag.h>
56 template <
typename AssociationIdT = Aws::String>
58 m_associationIdHasBeenSet =
true;
59 m_associationId = std::forward<AssociationIdT>(value);
61 template <
typename AssociationIdT = Aws::String>
72 template <
typename ResourceARNT = Aws::String>
74 m_resourceARNHasBeenSet =
true;
75 m_resourceARN = std::forward<ResourceARNT>(value);
77 template <
typename ResourceARNT = Aws::String>
88 template <
typename FileSystemIdT = Aws::String>
90 m_fileSystemIdHasBeenSet =
true;
91 m_fileSystemId = std::forward<FileSystemIdT>(value);
93 template <
typename FileSystemIdT = Aws::String>
120 m_lifecycleHasBeenSet =
true;
133 template <
typename FailureDetailsT = DataRepositoryFailureDetails>
135 m_failureDetailsHasBeenSet =
true;
136 m_failureDetails = std::forward<FailureDetailsT>(value);
138 template <
typename FailureDetailsT = DataRepositoryFailureDetails>
164 template <
typename FileSystemPathT = Aws::String>
166 m_fileSystemPathHasBeenSet =
true;
167 m_fileSystemPath = std::forward<FileSystemPathT>(value);
169 template <
typename FileSystemPathT = Aws::String>
199 template <
typename DataRepositoryPathT = Aws::String>
201 m_dataRepositoryPathHasBeenSet =
true;
202 m_dataRepositoryPath = std::forward<DataRepositoryPathT>(value);
204 template <
typename DataRepositoryPathT = Aws::String>
222 m_batchImportMetaDataOnCreateHasBeenSet =
true;
223 m_batchImportMetaDataOnCreate = value;
243 m_importedFileChunkSizeHasBeenSet =
true;
244 m_importedFileChunkSize = value;
259 template <
typename S3T = S3DataRepositoryConfiguration>
261 m_s3HasBeenSet =
true;
262 m_s3 = std::forward<S3T>(value);
264 template <
typename S3T = S3DataRepositoryConfiguration>
266 SetS3(std::forward<S3T>(value));
275 template <
typename TagsT = Aws::Vector<Tag>>
277 m_tagsHasBeenSet =
true;
278 m_tags = std::forward<TagsT>(value);
280 template <
typename TagsT = Aws::Vector<Tag>>
282 SetTags(std::forward<TagsT>(value));
285 template <
typename TagsT = Tag>
287 m_tagsHasBeenSet =
true;
288 m_tags.emplace_back(std::forward<TagsT>(value));
297 template <
typename CreationTimeT = Aws::Utils::DateTime>
299 m_creationTimeHasBeenSet =
true;
300 m_creationTime = std::forward<CreationTimeT>(value);
302 template <
typename CreationTimeT = Aws::Utils::DateTime>
315 template <
typename FileCacheIdT = Aws::String>
317 m_fileCacheIdHasBeenSet =
true;
318 m_fileCacheId = std::forward<FileCacheIdT>(value);
320 template <
typename FileCacheIdT = Aws::String>
346 template <
typename FileCachePathT = Aws::String>
348 m_fileCachePathHasBeenSet =
true;
349 m_fileCachePath = std::forward<FileCachePathT>(value);
351 template <
typename FileCachePathT = Aws::String>
370 template <
typename DataRepositorySubdirectoriesT = Aws::Vector<Aws::String>>
372 m_dataRepositorySubdirectoriesHasBeenSet =
true;
373 m_dataRepositorySubdirectories = std::forward<DataRepositorySubdirectoriesT>(value);
375 template <
typename DataRepositorySubdirectoriesT = Aws::Vector<Aws::String>>
380 template <
typename DataRepositorySubdirectoriesT = Aws::String>
382 m_dataRepositorySubdirectoriesHasBeenSet =
true;
383 m_dataRepositorySubdirectories.emplace_back(std::forward<DataRepositorySubdirectoriesT>(value));
395 template <
typename NFST = NFSDataRepositoryConfiguration>
397 m_nFSHasBeenSet =
true;
398 m_nFS = std::forward<NFST>(value);
400 template <
typename NFST = NFSDataRepositoryConfiguration>
402 SetNFS(std::forward<NFST>(value));
415 DataRepositoryFailureDetails m_failureDetails;
421 bool m_batchImportMetaDataOnCreate{
false};
423 int m_importedFileChunkSize{0};
425 S3DataRepositoryConfiguration m_s3;
437 NFSDataRepositoryConfiguration m_nFS;
438 bool m_associationIdHasBeenSet =
false;
439 bool m_resourceARNHasBeenSet =
false;
440 bool m_fileSystemIdHasBeenSet =
false;
441 bool m_lifecycleHasBeenSet =
false;
442 bool m_failureDetailsHasBeenSet =
false;
443 bool m_fileSystemPathHasBeenSet =
false;
444 bool m_dataRepositoryPathHasBeenSet =
false;
445 bool m_batchImportMetaDataOnCreateHasBeenSet =
false;
446 bool m_importedFileChunkSizeHasBeenSet =
false;
447 bool m_s3HasBeenSet =
false;
448 bool m_tagsHasBeenSet =
false;
449 bool m_creationTimeHasBeenSet =
false;
450 bool m_fileCacheIdHasBeenSet =
false;
451 bool m_fileCachePathHasBeenSet =
false;
452 bool m_dataRepositorySubdirectoriesHasBeenSet =
false;
453 bool m_nFSHasBeenSet =
false;
const Aws::String & GetResourceARN() const
DataRepositoryAssociation & WithCreationTime(CreationTimeT &&value)
int GetImportedFileChunkSize() const
const Aws::Utils::DateTime & GetCreationTime() const
bool GetBatchImportMetaDataOnCreate() const
DataRepositoryAssociation & AddTags(TagsT &&value)
void SetFileSystemId(FileSystemIdT &&value)
bool FileCacheIdHasBeenSet() const
DataRepositoryAssociation & WithDataRepositorySubdirectories(DataRepositorySubdirectoriesT &&value)
DataRepositoryAssociation & WithFileSystemId(FileSystemIdT &&value)
DataRepositoryAssociation & WithResourceARN(ResourceARNT &&value)
const Aws::String & GetFileSystemId() const
bool FileSystemIdHasBeenSet() const
DataRepositoryAssociation & WithLifecycle(DataRepositoryLifecycle value)
bool ResourceARNHasBeenSet() const
void SetResourceARN(ResourceARNT &&value)
void SetImportedFileChunkSize(int value)
void SetFileCachePath(FileCachePathT &&value)
void SetDataRepositoryPath(DataRepositoryPathT &&value)
bool DataRepositorySubdirectoriesHasBeenSet() const
DataRepositoryAssociation & WithBatchImportMetaDataOnCreate(bool value)
const DataRepositoryFailureDetails & GetFailureDetails() const
void SetNFS(NFST &&value)
void SetCreationTime(CreationTimeT &&value)
bool AssociationIdHasBeenSet() const
const S3DataRepositoryConfiguration & GetS3() const
void SetBatchImportMetaDataOnCreate(bool value)
DataRepositoryAssociation & WithTags(TagsT &&value)
const Aws::String & GetAssociationId() const
bool BatchImportMetaDataOnCreateHasBeenSet() const
bool S3HasBeenSet() const
const Aws::String & GetFileCacheId() const
bool TagsHasBeenSet() const
const NFSDataRepositoryConfiguration & GetNFS() const
const Aws::Vector< Aws::String > & GetDataRepositorySubdirectories() const
DataRepositoryAssociation & WithDataRepositoryPath(DataRepositoryPathT &&value)
DataRepositoryAssociation & WithS3(S3T &&value)
AWS_FSX_API DataRepositoryAssociation()=default
bool NFSHasBeenSet() const
bool FileSystemPathHasBeenSet() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
DataRepositoryAssociation & WithAssociationId(AssociationIdT &&value)
DataRepositoryAssociation & WithImportedFileChunkSize(int value)
bool FileCachePathHasBeenSet() const
bool CreationTimeHasBeenSet() const
const Aws::String & GetFileCachePath() const
const Aws::Vector< Tag > & GetTags() const
bool DataRepositoryPathHasBeenSet() const
DataRepositoryAssociation & WithFailureDetails(FailureDetailsT &&value)
void SetAssociationId(AssociationIdT &&value)
bool ImportedFileChunkSizeHasBeenSet() const
AWS_FSX_API DataRepositoryAssociation(Aws::Utils::Json::JsonView jsonValue)
DataRepositoryAssociation & AddDataRepositorySubdirectories(DataRepositorySubdirectoriesT &&value)
DataRepositoryAssociation & WithFileSystemPath(FileSystemPathT &&value)
void SetFailureDetails(FailureDetailsT &&value)
const Aws::String & GetDataRepositoryPath() const
DataRepositoryLifecycle GetLifecycle() const
DataRepositoryAssociation & WithFileCacheId(FileCacheIdT &&value)
DataRepositoryAssociation & WithNFS(NFST &&value)
bool LifecycleHasBeenSet() const
bool FailureDetailsHasBeenSet() const
DataRepositoryAssociation & WithFileCachePath(FileCachePathT &&value)
void SetTags(TagsT &&value)
void SetFileSystemPath(FileSystemPathT &&value)
const Aws::String & GetFileSystemPath() const
AWS_FSX_API DataRepositoryAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileCacheId(FileCacheIdT &&value)
void SetDataRepositorySubdirectories(DataRepositorySubdirectoriesT &&value)
void SetLifecycle(DataRepositoryLifecycle 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