7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/fsx/model/DataRepositoryTaskType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/fsx/model/CompletionReport.h>
13#include <aws/fsx/model/ReleaseConfiguration.h>
14#include <aws/fsx/model/Tag.h>
16#include <aws/core/utils/UUID.h>
89 template<
typename PathsT = Aws::Vector<Aws::String>>
90 void SetPaths(PathsT&& value) { m_pathsHasBeenSet =
true; m_paths = std::forward<PathsT>(value); }
91 template<
typename PathsT = Aws::Vector<Aws::String>>
93 template<
typename PathsT = Aws::String>
101 template<
typename FileSystemIdT = Aws::String>
102 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet =
true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
103 template<
typename FileSystemIdT = Aws::String>
118 template<
typename ReportT = CompletionReport>
119 void SetReport(ReportT&& value) { m_reportHasBeenSet =
true; m_report = std::forward<ReportT>(value); }
120 template<
typename ReportT = CompletionReport>
128 template<
typename ClientRequestTokenT = Aws::String>
129 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
130 template<
typename ClientRequestTokenT = Aws::String>
138 template<
typename TagsT = Aws::Vector<Tag>>
139 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
140 template<
typename TagsT = Aws::Vector<Tag>>
142 template<
typename TagsT = Tag>
154 inline void SetCapacityToRelease(
long long value) { m_capacityToReleaseHasBeenSet =
true; m_capacityToRelease = value; }
165 template<
typename ReleaseConfigurationT = ReleaseConfiguration>
166 void SetReleaseConfiguration(ReleaseConfigurationT&& value) { m_releaseConfigurationHasBeenSet =
true; m_releaseConfiguration = std::forward<ReleaseConfigurationT>(value); }
167 template<
typename ReleaseConfigurationT = ReleaseConfiguration>
173 bool m_typeHasBeenSet =
false;
176 bool m_pathsHasBeenSet =
false;
179 bool m_fileSystemIdHasBeenSet =
false;
181 CompletionReport m_report;
182 bool m_reportHasBeenSet =
false;
185 bool m_clientRequestTokenHasBeenSet =
true;
188 bool m_tagsHasBeenSet =
false;
190 long long m_capacityToRelease{0};
191 bool m_capacityToReleaseHasBeenSet =
false;
193 ReleaseConfiguration m_releaseConfiguration;
194 bool m_releaseConfigurationHasBeenSet =
false;
DataRepositoryTaskType GetType() const
CreateDataRepositoryTaskRequest & WithPaths(PathsT &&value)
AWS_FSX_API CreateDataRepositoryTaskRequest()=default
void SetPaths(PathsT &&value)
CreateDataRepositoryTaskRequest & WithReport(ReportT &&value)
CreateDataRepositoryTaskRequest & WithReleaseConfiguration(ReleaseConfigurationT &&value)
bool CapacityToReleaseHasBeenSet() const
long long GetCapacityToRelease() const
bool FileSystemIdHasBeenSet() const
void SetFileSystemId(FileSystemIdT &&value)
const Aws::String & GetFileSystemId() const
CreateDataRepositoryTaskRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
void SetType(DataRepositoryTaskType value)
bool TypeHasBeenSet() const
CreateDataRepositoryTaskRequest & AddPaths(PathsT &&value)
CreateDataRepositoryTaskRequest & WithClientRequestToken(ClientRequestTokenT &&value)
bool PathsHasBeenSet() const
CreateDataRepositoryTaskRequest & WithType(DataRepositoryTaskType value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientRequestTokenHasBeenSet() const
bool ReportHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetCapacityToRelease(long long value)
const Aws::Vector< Aws::String > & GetPaths() const
void SetReport(ReportT &&value)
CreateDataRepositoryTaskRequest & WithFileSystemId(FileSystemIdT &&value)
const Aws::String & GetClientRequestToken() const
bool ReleaseConfigurationHasBeenSet() const
CreateDataRepositoryTaskRequest & WithCapacityToRelease(long long value)
const Aws::Vector< Tag > & GetTags() const
const CompletionReport & GetReport() const
void SetReleaseConfiguration(ReleaseConfigurationT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
CreateDataRepositoryTaskRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const ReleaseConfiguration & GetReleaseConfiguration() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector