7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/DataRepositoryLifecycle.h>
10#include <aws/fsx/model/DataRepositoryFailureDetails.h>
11#include <aws/fsx/model/S3DataRepositoryConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/fsx/model/NFSDataRepositoryConfiguration.h>
15#include <aws/fsx/model/Tag.h>
62 template<
typename AssociationIdT = Aws::String>
63 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
64 template<
typename AssociationIdT = Aws::String>
72 template<
typename ResourceARNT = Aws::String>
73 void SetResourceARN(ResourceARNT&& value) { m_resourceARNHasBeenSet =
true; m_resourceARN = std::forward<ResourceARNT>(value); }
74 template<
typename ResourceARNT = Aws::String>
82 template<
typename FileSystemIdT = Aws::String>
83 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet =
true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
84 template<
typename FileSystemIdT = Aws::String>
115 template<
typename FailureDetailsT = DataRepositoryFailureDetails>
116 void SetFailureDetails(FailureDetailsT&& value) { m_failureDetailsHasBeenSet =
true; m_failureDetails = std::forward<FailureDetailsT>(value); }
117 template<
typename FailureDetailsT = DataRepositoryFailureDetails>
140 template<
typename FileSystemPathT = Aws::String>
141 void SetFileSystemPath(FileSystemPathT&& value) { m_fileSystemPathHasBeenSet =
true; m_fileSystemPath = std::forward<FileSystemPathT>(value); }
142 template<
typename FileSystemPathT = Aws::String>
169 template<
typename DataRepositoryPathT = Aws::String>
170 void SetDataRepositoryPath(DataRepositoryPathT&& value) { m_dataRepositoryPathHasBeenSet =
true; m_dataRepositoryPath = std::forward<DataRepositoryPathT>(value); }
171 template<
typename DataRepositoryPathT = Aws::String>
211 template<
typename S3T = S3DataRepositoryConfiguration>
212 void SetS3(S3T&& value) { m_s3HasBeenSet =
true; m_s3 = std::forward<S3T>(value); }
213 template<
typename S3T = S3DataRepositoryConfiguration>
221 template<
typename TagsT = Aws::Vector<Tag>>
222 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
223 template<
typename TagsT = Aws::Vector<Tag>>
225 template<
typename TagsT = Tag>
233 template<
typename CreationTimeT = Aws::Utils::DateTime>
234 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
235 template<
typename CreationTimeT = Aws::Utils::DateTime>
245 template<
typename FileCacheIdT = Aws::String>
246 void SetFileCacheId(FileCacheIdT&& value) { m_fileCacheIdHasBeenSet =
true; m_fileCacheId = std::forward<FileCacheIdT>(value); }
247 template<
typename FileCacheIdT = Aws::String>
270 template<
typename FileCachePathT = Aws::String>
271 void SetFileCachePath(FileCachePathT&& value) { m_fileCachePathHasBeenSet =
true; m_fileCachePath = std::forward<FileCachePathT>(value); }
272 template<
typename FileCachePathT = Aws::String>
288 template<
typename DataRepositorySubdirectoriesT = Aws::Vector<Aws::String>>
289 void SetDataRepositorySubdirectories(DataRepositorySubdirectoriesT&& value) { m_dataRepositorySubdirectoriesHasBeenSet =
true; m_dataRepositorySubdirectories = std::forward<DataRepositorySubdirectoriesT>(value); }
290 template<
typename DataRepositorySubdirectoriesT = Aws::Vector<Aws::String>>
292 template<
typename DataRepositorySubdirectoriesT = Aws::String>
303 template<
typename NFST = NFSDataRepositoryConfiguration>
304 void SetNFS(NFST&& value) { m_nFSHasBeenSet =
true; m_nFS = std::forward<NFST>(value); }
305 template<
typename NFST = NFSDataRepositoryConfiguration>
311 bool m_associationIdHasBeenSet =
false;
314 bool m_resourceARNHasBeenSet =
false;
317 bool m_fileSystemIdHasBeenSet =
false;
320 bool m_lifecycleHasBeenSet =
false;
322 DataRepositoryFailureDetails m_failureDetails;
323 bool m_failureDetailsHasBeenSet =
false;
326 bool m_fileSystemPathHasBeenSet =
false;
329 bool m_dataRepositoryPathHasBeenSet =
false;
331 bool m_batchImportMetaDataOnCreate{
false};
332 bool m_batchImportMetaDataOnCreateHasBeenSet =
false;
334 int m_importedFileChunkSize{0};
335 bool m_importedFileChunkSizeHasBeenSet =
false;
337 S3DataRepositoryConfiguration m_s3;
338 bool m_s3HasBeenSet =
false;
341 bool m_tagsHasBeenSet =
false;
344 bool m_creationTimeHasBeenSet =
false;
347 bool m_fileCacheIdHasBeenSet =
false;
350 bool m_fileCachePathHasBeenSet =
false;
353 bool m_dataRepositorySubdirectoriesHasBeenSet =
false;
355 NFSDataRepositoryConfiguration m_nFS;
356 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