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/CompletionReport.h>
12#include <aws/fsx/model/DataRepositoryTaskFailureDetails.h>
13#include <aws/fsx/model/DataRepositoryTaskLifecycle.h>
14#include <aws/fsx/model/DataRepositoryTaskStatus.h>
15#include <aws/fsx/model/DataRepositoryTaskType.h>
16#include <aws/fsx/model/ReleaseConfiguration.h>
17#include <aws/fsx/model/Tag.h>
58 template <
typename TaskIdT = Aws::String>
60 m_taskIdHasBeenSet =
true;
61 m_taskId = std::forward<TaskIdT>(value);
63 template <
typename TaskIdT = Aws::String>
92 m_lifecycleHasBeenSet =
true;
117 m_typeHasBeenSet =
true;
130 template <
typename CreationTimeT = Aws::Utils::DateTime>
132 m_creationTimeHasBeenSet =
true;
133 m_creationTime = std::forward<CreationTimeT>(value);
135 template <
typename CreationTimeT = Aws::Utils::DateTime>
148 template <
typename StartTimeT = Aws::Utils::DateTime>
150 m_startTimeHasBeenSet =
true;
151 m_startTime = std::forward<StartTimeT>(value);
153 template <
typename StartTimeT = Aws::Utils::DateTime>
167 template <
typename EndTimeT = Aws::Utils::DateTime>
169 m_endTimeHasBeenSet =
true;
170 m_endTime = std::forward<EndTimeT>(value);
172 template <
typename EndTimeT = Aws::Utils::DateTime>
183 template <
typename ResourceARNT = Aws::String>
185 m_resourceARNHasBeenSet =
true;
186 m_resourceARN = std::forward<ResourceARNT>(value);
188 template <
typename ResourceARNT = Aws::String>
199 template <
typename TagsT = Aws::Vector<Tag>>
201 m_tagsHasBeenSet =
true;
202 m_tags = std::forward<TagsT>(value);
204 template <
typename TagsT = Aws::Vector<Tag>>
206 SetTags(std::forward<TagsT>(value));
209 template <
typename TagsT = Tag>
211 m_tagsHasBeenSet =
true;
212 m_tags.emplace_back(std::forward<TagsT>(value));
223 template <
typename FileSystemIdT = Aws::String>
225 m_fileSystemIdHasBeenSet =
true;
226 m_fileSystemId = std::forward<FileSystemIdT>(value);
228 template <
typename FileSystemIdT = Aws::String>
245 template <
typename PathsT = Aws::Vector<Aws::String>>
247 m_pathsHasBeenSet =
true;
248 m_paths = std::forward<PathsT>(value);
250 template <
typename PathsT = Aws::Vector<Aws::String>>
252 SetPaths(std::forward<PathsT>(value));
255 template <
typename PathsT = Aws::String>
257 m_pathsHasBeenSet =
true;
258 m_paths.emplace_back(std::forward<PathsT>(value));
270 template <
typename FailureDetailsT = DataRepositoryTaskFailureDetails>
272 m_failureDetailsHasBeenSet =
true;
273 m_failureDetails = std::forward<FailureDetailsT>(value);
275 template <
typename FailureDetailsT = DataRepositoryTaskFailureDetails>
289 template <
typename StatusT = DataRepositoryTaskStatus>
291 m_statusHasBeenSet =
true;
292 m_status = std::forward<StatusT>(value);
294 template <
typename StatusT = DataRepositoryTaskStatus>
305 template <
typename ReportT = CompletionReport>
307 m_reportHasBeenSet =
true;
308 m_report = std::forward<ReportT>(value);
310 template <
typename ReportT = CompletionReport>
325 m_capacityToReleaseHasBeenSet =
true;
326 m_capacityToRelease = value;
340 template <
typename FileCacheIdT = Aws::String>
342 m_fileCacheIdHasBeenSet =
true;
343 m_fileCacheId = std::forward<FileCacheIdT>(value);
345 template <
typename FileCacheIdT = Aws::String>
359 template <
typename ReleaseConfigurationT = ReleaseConfiguration>
361 m_releaseConfigurationHasBeenSet =
true;
362 m_releaseConfiguration = std::forward<ReleaseConfigurationT>(value);
364 template <
typename ReleaseConfigurationT = ReleaseConfiguration>
391 DataRepositoryTaskFailureDetails m_failureDetails;
393 DataRepositoryTaskStatus m_status;
395 CompletionReport m_report;
397 long long m_capacityToRelease{0};
401 ReleaseConfiguration m_releaseConfiguration;
402 bool m_taskIdHasBeenSet =
false;
403 bool m_lifecycleHasBeenSet =
false;
404 bool m_typeHasBeenSet =
false;
405 bool m_creationTimeHasBeenSet =
false;
406 bool m_startTimeHasBeenSet =
false;
407 bool m_endTimeHasBeenSet =
false;
408 bool m_resourceARNHasBeenSet =
false;
409 bool m_tagsHasBeenSet =
false;
410 bool m_fileSystemIdHasBeenSet =
false;
411 bool m_pathsHasBeenSet =
false;
412 bool m_failureDetailsHasBeenSet =
false;
413 bool m_statusHasBeenSet =
false;
414 bool m_reportHasBeenSet =
false;
415 bool m_capacityToReleaseHasBeenSet =
false;
416 bool m_fileCacheIdHasBeenSet =
false;
417 bool m_releaseConfigurationHasBeenSet =
false;
DataRepositoryTask & WithFileSystemId(FileSystemIdT &&value)
void SetStartTime(StartTimeT &&value)
bool TypeHasBeenSet() const
bool FailureDetailsHasBeenSet() const
void SetStatus(StatusT &&value)
const Aws::Vector< Aws::String > & GetPaths() const
bool TagsHasBeenSet() const
bool LifecycleHasBeenSet() const
long long GetCapacityToRelease() const
DataRepositoryTask & WithCapacityToRelease(long long value)
DataRepositoryTask & WithCreationTime(CreationTimeT &&value)
const DataRepositoryTaskFailureDetails & GetFailureDetails() const
bool StartTimeHasBeenSet() const
bool FileSystemIdHasBeenSet() const
void SetReleaseConfiguration(ReleaseConfigurationT &&value)
DataRepositoryTask & WithPaths(PathsT &&value)
const Aws::String & GetResourceARN() const
const ReleaseConfiguration & GetReleaseConfiguration() const
void SetFailureDetails(FailureDetailsT &&value)
bool TaskIdHasBeenSet() const
void SetTags(TagsT &&value)
void SetFileCacheId(FileCacheIdT &&value)
DataRepositoryTask & WithStatus(StatusT &&value)
bool EndTimeHasBeenSet() const
DataRepositoryTask & WithTags(TagsT &&value)
bool CapacityToReleaseHasBeenSet() const
DataRepositoryTask & AddTags(TagsT &&value)
void SetLifecycle(DataRepositoryTaskLifecycle value)
DataRepositoryTask & WithLifecycle(DataRepositoryTaskLifecycle value)
void SetEndTime(EndTimeT &&value)
DataRepositoryTask & WithFileCacheId(FileCacheIdT &&value)
DataRepositoryTask & WithReleaseConfiguration(ReleaseConfigurationT &&value)
bool ReleaseConfigurationHasBeenSet() const
DataRepositoryTaskLifecycle GetLifecycle() const
bool StatusHasBeenSet() const
void SetCapacityToRelease(long long value)
void SetCreationTime(CreationTimeT &&value)
bool ReportHasBeenSet() const
const Aws::String & GetFileSystemId() const
const Aws::Utils::DateTime & GetEndTime() const
void SetTaskId(TaskIdT &&value)
AWS_FSX_API DataRepositoryTask(Aws::Utils::Json::JsonView jsonValue)
DataRepositoryTask & WithReport(ReportT &&value)
DataRepositoryTask & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool PathsHasBeenSet() const
bool ResourceARNHasBeenSet() const
bool FileCacheIdHasBeenSet() const
void SetFileSystemId(FileSystemIdT &&value)
void SetPaths(PathsT &&value)
AWS_FSX_API DataRepositoryTask()=default
const CompletionReport & GetReport() const
DataRepositoryTask & WithFailureDetails(FailureDetailsT &&value)
const Aws::Vector< Tag > & GetTags() const
DataRepositoryTask & WithTaskId(TaskIdT &&value)
const Aws::String & GetTaskId() const
void SetReport(ReportT &&value)
bool CreationTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
DataRepositoryTask & WithType(DataRepositoryTaskType value)
const Aws::String & GetFileCacheId() const
AWS_FSX_API DataRepositoryTask & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceARN(ResourceARNT &&value)
const DataRepositoryTaskStatus & GetStatus() const
DataRepositoryTaskType GetType() const
DataRepositoryTask & AddPaths(PathsT &&value)
void SetType(DataRepositoryTaskType value)
DataRepositoryTask & WithEndTime(EndTimeT &&value)
DataRepositoryTask & WithResourceARN(ResourceARNT &&value)
DataRepositoryTaskLifecycle
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue