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>
56 inline void SetSourceLocationArn(
const char* value) { m_sourceLocationArnHasBeenSet =
true; m_sourceLocationArn.assign(value); }
70 inline void SetDestinationLocationArn(
const char* value) { m_destinationLocationArnHasBeenSet =
true; m_destinationLocationArn.assign(value); }
87 inline void SetCloudWatchLogGroupArn(
const char* value) { m_cloudWatchLogGroupArnHasBeenSet =
true; m_cloudWatchLogGroupArn.assign(value); }
101 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
115 inline void SetOptions(
Options&& value) { m_optionsHasBeenSet =
true; m_options = std::move(value); }
251 bool m_sourceLocationArnHasBeenSet =
false;
254 bool m_destinationLocationArnHasBeenSet =
false;
257 bool m_cloudWatchLogGroupArnHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
263 bool m_optionsHasBeenSet =
false;
266 bool m_excludesHasBeenSet =
false;
269 bool m_scheduleHasBeenSet =
false;
272 bool m_tagsHasBeenSet =
false;
275 bool m_includesHasBeenSet =
false;
278 bool m_manifestConfigHasBeenSet =
false;
281 bool m_taskReportConfigHasBeenSet =
false;
284 bool m_taskModeHasBeenSet =
false;
const TaskMode & GetTaskMode() const
void SetSourceLocationArn(const Aws::String &value)
const Aws::String & GetName() const
bool ExcludesHasBeenSet() const
CreateTaskRequest & WithName(const char *value)
CreateTaskRequest & WithTags(Aws::Vector< TagListEntry > &&value)
void SetTaskReportConfig(const TaskReportConfig &value)
void SetSchedule(TaskSchedule &&value)
CreateTaskRequest & WithDestinationLocationArn(Aws::String &&value)
void SetTags(Aws::Vector< TagListEntry > &&value)
CreateTaskRequest & WithOptions(const Options &value)
CreateTaskRequest & AddIncludes(const FilterRule &value)
void SetCloudWatchLogGroupArn(Aws::String &&value)
const TaskSchedule & GetSchedule() const
void SetSourceLocationArn(const char *value)
const TaskReportConfig & GetTaskReportConfig() const
bool ManifestConfigHasBeenSet() const
void SetOptions(Options &&value)
bool IncludesHasBeenSet() const
CreateTaskRequest & WithSchedule(const TaskSchedule &value)
CreateTaskRequest & WithManifestConfig(ManifestConfig &&value)
CreateTaskRequest & WithIncludes(const Aws::Vector< FilterRule > &value)
void SetCloudWatchLogGroupArn(const Aws::String &value)
CreateTaskRequest & WithTaskReportConfig(const TaskReportConfig &value)
const Aws::String & GetSourceLocationArn() const
bool TaskReportConfigHasBeenSet() const
bool TagsHasBeenSet() const
void SetName(Aws::String &&value)
CreateTaskRequest & WithCloudWatchLogGroupArn(const char *value)
void SetManifestConfig(ManifestConfig &&value)
void SetExcludes(const Aws::Vector< FilterRule > &value)
CreateTaskRequest & AddIncludes(FilterRule &&value)
void SetSchedule(const TaskSchedule &value)
CreateTaskRequest & WithSchedule(TaskSchedule &&value)
CreateTaskRequest & AddExcludes(const FilterRule &value)
CreateTaskRequest & WithCloudWatchLogGroupArn(Aws::String &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateTaskRequest & WithExcludes(Aws::Vector< FilterRule > &&value)
AWS_DATASYNC_API CreateTaskRequest()
CreateTaskRequest & WithName(Aws::String &&value)
CreateTaskRequest & WithTags(const Aws::Vector< TagListEntry > &value)
void SetDestinationLocationArn(Aws::String &&value)
CreateTaskRequest & WithSourceLocationArn(const Aws::String &value)
const ManifestConfig & GetManifestConfig() const
bool OptionsHasBeenSet() const
const Aws::Vector< FilterRule > & GetIncludes() const
const Aws::Vector< FilterRule > & GetExcludes() const
CreateTaskRequest & WithCloudWatchLogGroupArn(const Aws::String &value)
CreateTaskRequest & WithDestinationLocationArn(const char *value)
CreateTaskRequest & WithName(const Aws::String &value)
void SetExcludes(Aws::Vector< FilterRule > &&value)
CreateTaskRequest & WithDestinationLocationArn(const Aws::String &value)
CreateTaskRequest & WithTaskMode(TaskMode &&value)
const Aws::Vector< TagListEntry > & GetTags() const
CreateTaskRequest & WithOptions(Options &&value)
void SetTags(const Aws::Vector< TagListEntry > &value)
const Aws::String & GetDestinationLocationArn() const
bool SourceLocationArnHasBeenSet() const
void SetManifestConfig(const ManifestConfig &value)
const Options & GetOptions() const
void SetTaskMode(const TaskMode &value)
CreateTaskRequest & WithManifestConfig(const ManifestConfig &value)
bool NameHasBeenSet() const
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTaskRequest & WithIncludes(Aws::Vector< FilterRule > &&value)
bool DestinationLocationArnHasBeenSet() const
void SetName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateTaskRequest & WithSourceLocationArn(const char *value)
void SetName(const Aws::String &value)
CreateTaskRequest & AddTags(const TagListEntry &value)
bool CloudWatchLogGroupArnHasBeenSet() const
void SetSourceLocationArn(Aws::String &&value)
void SetIncludes(const Aws::Vector< FilterRule > &value)
void SetDestinationLocationArn(const Aws::String &value)
const Aws::String & GetCloudWatchLogGroupArn() const
bool TaskModeHasBeenSet() const
void SetDestinationLocationArn(const char *value)
void SetIncludes(Aws::Vector< FilterRule > &&value)
CreateTaskRequest & WithExcludes(const Aws::Vector< FilterRule > &value)
void SetTaskMode(TaskMode &&value)
void SetCloudWatchLogGroupArn(const char *value)
CreateTaskRequest & AddTags(TagListEntry &&value)
CreateTaskRequest & AddExcludes(FilterRule &&value)
CreateTaskRequest & WithTaskMode(const TaskMode &value)
void SetOptions(const Options &value)
bool ScheduleHasBeenSet() const
CreateTaskRequest & WithSourceLocationArn(Aws::String &&value)
void SetTaskReportConfig(TaskReportConfig &&value)
CreateTaskRequest & WithTaskReportConfig(TaskReportConfig &&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