7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/Options.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datasync/model/TaskSchedule.h>
13#include <aws/datasync/model/ManifestConfig.h>
14#include <aws/datasync/model/TaskReportConfig.h>
15#include <aws/datasync/model/TaskMode.h>
16#include <aws/datasync/model/FilterRule.h>
17#include <aws/datasync/model/TagListEntry.h>
54 template<
typename SourceLocationArnT = Aws::String>
55 void SetSourceLocationArn(SourceLocationArnT&& value) { m_sourceLocationArnHasBeenSet =
true; m_sourceLocationArn = std::forward<SourceLocationArnT>(value); }
56 template<
typename SourceLocationArnT = Aws::String>
66 template<
typename DestinationLocationArnT = Aws::String>
67 void SetDestinationLocationArn(DestinationLocationArnT&& value) { m_destinationLocationArnHasBeenSet =
true; m_destinationLocationArn = std::forward<DestinationLocationArnT>(value); }
68 template<
typename DestinationLocationArnT = Aws::String>
81 template<
typename CloudWatchLogGroupArnT = Aws::String>
82 void SetCloudWatchLogGroupArn(CloudWatchLogGroupArnT&& value) { m_cloudWatchLogGroupArnHasBeenSet =
true; m_cloudWatchLogGroupArn = std::forward<CloudWatchLogGroupArnT>(value); }
83 template<
typename CloudWatchLogGroupArnT = Aws::String>
93 template<
typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
95 template<
typename NameT = Aws::String>
106 template<
typename OptionsT = Options>
107 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
108 template<
typename OptionsT = Options>
122 template<
typename ExcludesT = Aws::Vector<FilterRule>>
123 void SetExcludes(ExcludesT&& value) { m_excludesHasBeenSet =
true; m_excludes = std::forward<ExcludesT>(value); }
124 template<
typename ExcludesT = Aws::Vector<FilterRule>>
126 template<
typename ExcludesT = FilterRule>
127 CreateTaskRequest&
AddExcludes(ExcludesT&& value) { m_excludesHasBeenSet =
true; m_excludes.emplace_back(std::forward<ExcludesT>(value));
return *
this; }
139 template<
typename ScheduleT = TaskSchedule>
140 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
141 template<
typename ScheduleT = TaskSchedule>
153 template<
typename TagsT = Aws::Vector<TagListEntry>>
154 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
155 template<
typename TagsT = Aws::Vector<TagListEntry>>
157 template<
typename TagsT = TagListEntry>
158 CreateTaskRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
171 template<
typename IncludesT = Aws::Vector<FilterRule>>
172 void SetIncludes(IncludesT&& value) { m_includesHasBeenSet =
true; m_includes = std::forward<IncludesT>(value); }
173 template<
typename IncludesT = Aws::Vector<FilterRule>>
175 template<
typename IncludesT = FilterRule>
176 CreateTaskRequest&
AddIncludes(IncludesT&& value) { m_includesHasBeenSet =
true; m_includes.emplace_back(std::forward<IncludesT>(value));
return *
this; }
192 template<
typename ManifestConfigT = ManifestConfig>
193 void SetManifestConfig(ManifestConfigT&& value) { m_manifestConfigHasBeenSet =
true; m_manifestConfig = std::forward<ManifestConfigT>(value); }
194 template<
typename ManifestConfigT = ManifestConfig>
211 template<
typename TaskReportConfigT = TaskReportConfig>
212 void SetTaskReportConfig(TaskReportConfigT&& value) { m_taskReportConfigHasBeenSet =
true; m_taskReportConfig = std::forward<TaskReportConfigT>(value); }
213 template<
typename TaskReportConfigT = TaskReportConfig>
248 bool m_sourceLocationArnHasBeenSet =
false;
251 bool m_destinationLocationArnHasBeenSet =
false;
254 bool m_cloudWatchLogGroupArnHasBeenSet =
false;
257 bool m_nameHasBeenSet =
false;
260 bool m_optionsHasBeenSet =
false;
263 bool m_excludesHasBeenSet =
false;
266 bool m_scheduleHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
272 bool m_includesHasBeenSet =
false;
275 bool m_manifestConfigHasBeenSet =
false;
278 bool m_taskReportConfigHasBeenSet =
false;
281 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