7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSyncRequest.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/FilterRule.h>
12#include <aws/datasync/model/ManifestConfig.h>
13#include <aws/datasync/model/Options.h>
14#include <aws/datasync/model/TagListEntry.h>
15#include <aws/datasync/model/TaskMode.h>
16#include <aws/datasync/model/TaskReportConfig.h>
17#include <aws/datasync/model/TaskSchedule.h>
50 template <
typename SourceLocationArnT = Aws::String>
52 m_sourceLocationArnHasBeenSet =
true;
53 m_sourceLocationArn = std::forward<SourceLocationArnT>(value);
55 template <
typename SourceLocationArnT = Aws::String>
68 template <
typename DestinationLocationArnT = Aws::String>
70 m_destinationLocationArnHasBeenSet =
true;
71 m_destinationLocationArn = std::forward<DestinationLocationArnT>(value);
73 template <
typename DestinationLocationArnT = Aws::String>
89 template <
typename CloudWatchLogGroupArnT = Aws::String>
91 m_cloudWatchLogGroupArnHasBeenSet =
true;
92 m_cloudWatchLogGroupArn = std::forward<CloudWatchLogGroupArnT>(value);
94 template <
typename CloudWatchLogGroupArnT = Aws::String>
107 template <
typename NameT = Aws::String>
109 m_nameHasBeenSet =
true;
110 m_name = std::forward<NameT>(value);
112 template <
typename NameT = Aws::String>
114 SetName(std::forward<NameT>(value));
126 template <
typename OptionsT = Options>
128 m_optionsHasBeenSet =
true;
129 m_options = std::forward<OptionsT>(value);
131 template <
typename OptionsT = Options>
148 template <
typename ExcludesT = Aws::Vector<FilterRule>>
150 m_excludesHasBeenSet =
true;
151 m_excludes = std::forward<ExcludesT>(value);
153 template <
typename ExcludesT = Aws::Vector<FilterRule>>
158 template <
typename ExcludesT = FilterRule>
160 m_excludesHasBeenSet =
true;
161 m_excludes.emplace_back(std::forward<ExcludesT>(value));
175 template <
typename ScheduleT = TaskSchedule>
177 m_scheduleHasBeenSet =
true;
178 m_schedule = std::forward<ScheduleT>(value);
180 template <
typename ScheduleT = TaskSchedule>
195 template <
typename TagsT = Aws::Vector<TagListEntry>>
197 m_tagsHasBeenSet =
true;
198 m_tags = std::forward<TagsT>(value);
200 template <
typename TagsT = Aws::Vector<TagListEntry>>
202 SetTags(std::forward<TagsT>(value));
205 template <
typename TagsT = TagListEntry>
207 m_tagsHasBeenSet =
true;
208 m_tags.emplace_back(std::forward<TagsT>(value));
223 template <
typename IncludesT = Aws::Vector<FilterRule>>
225 m_includesHasBeenSet =
true;
226 m_includes = std::forward<IncludesT>(value);
228 template <
typename IncludesT = Aws::Vector<FilterRule>>
233 template <
typename IncludesT = FilterRule>
235 m_includesHasBeenSet =
true;
236 m_includes.emplace_back(std::forward<IncludesT>(value));
254 template <
typename ManifestConfigT = ManifestConfig>
256 m_manifestConfigHasBeenSet =
true;
257 m_manifestConfig = std::forward<ManifestConfigT>(value);
259 template <
typename ManifestConfigT = ManifestConfig>
279 template <
typename TaskReportConfigT = TaskReportConfig>
281 m_taskReportConfigHasBeenSet =
true;
282 m_taskReportConfig = std::forward<TaskReportConfigT>(value);
284 template <
typename TaskReportConfigT = TaskReportConfig>
317 m_taskModeHasBeenSet =
true;
349 bool m_sourceLocationArnHasBeenSet =
false;
350 bool m_destinationLocationArnHasBeenSet =
false;
351 bool m_cloudWatchLogGroupArnHasBeenSet =
false;
352 bool m_nameHasBeenSet =
false;
353 bool m_optionsHasBeenSet =
false;
354 bool m_excludesHasBeenSet =
false;
355 bool m_scheduleHasBeenSet =
false;
356 bool m_tagsHasBeenSet =
false;
357 bool m_includesHasBeenSet =
false;
358 bool m_manifestConfigHasBeenSet =
false;
359 bool m_taskReportConfigHasBeenSet =
false;
360 bool m_taskModeHasBeenSet =
false;
CreateTaskRequest & WithOptions(OptionsT &&value)
CreateTaskRequest & WithDestinationLocationArn(DestinationLocationArnT &&value)
CreateTaskRequest & WithTags(TagsT &&value)
const Aws::String & GetName() const
bool ExcludesHasBeenSet() const
CreateTaskRequest & WithExcludes(ExcludesT &&value)
const TaskSchedule & GetSchedule() const
CreateTaskRequest & WithTaskMode(TaskMode value)
const TaskReportConfig & GetTaskReportConfig() const
CreateTaskRequest & WithCloudWatchLogGroupArn(CloudWatchLogGroupArnT &&value)
bool ManifestConfigHasBeenSet() const
void SetTaskReportConfig(TaskReportConfigT &&value)
bool IncludesHasBeenSet() const
void SetCloudWatchLogGroupArn(CloudWatchLogGroupArnT &&value)
AWS_DATASYNC_API CreateTaskRequest()=default
void SetExcludes(ExcludesT &&value)
CreateTaskRequest & WithSourceLocationArn(SourceLocationArnT &&value)
CreateTaskRequest & AddTags(TagsT &&value)
void SetOptions(OptionsT &&value)
const Aws::String & GetSourceLocationArn() const
bool TaskReportConfigHasBeenSet() const
bool TagsHasBeenSet() const
void SetDestinationLocationArn(DestinationLocationArnT &&value)
void SetTaskMode(TaskMode value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateTaskRequest & WithTaskReportConfig(TaskReportConfigT &&value)
CreateTaskRequest & AddExcludes(ExcludesT &&value)
const ManifestConfig & GetManifestConfig() const
TaskMode GetTaskMode() const
bool OptionsHasBeenSet() const
const Aws::Vector< FilterRule > & GetIncludes() const
const Aws::Vector< FilterRule > & GetExcludes() const
void SetManifestConfig(ManifestConfigT &&value)
const Aws::Vector< TagListEntry > & GetTags() const
const Aws::String & GetDestinationLocationArn() const
CreateTaskRequest & WithName(NameT &&value)
void SetIncludes(IncludesT &&value)
void SetName(NameT &&value)
bool SourceLocationArnHasBeenSet() const
CreateTaskRequest & WithSchedule(ScheduleT &&value)
const Options & GetOptions() const
bool NameHasBeenSet() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTaskRequest & WithManifestConfig(ManifestConfigT &&value)
bool DestinationLocationArnHasBeenSet() const
void SetSchedule(ScheduleT &&value)
virtual const char * GetServiceRequestName() const override
void SetSourceLocationArn(SourceLocationArnT &&value)
bool CloudWatchLogGroupArnHasBeenSet() const
CreateTaskRequest & AddIncludes(IncludesT &&value)
const Aws::String & GetCloudWatchLogGroupArn() const
bool TaskModeHasBeenSet() const
void SetTags(TagsT &&value)
bool ScheduleHasBeenSet() const
CreateTaskRequest & WithIncludes(IncludesT &&value)
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