/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CreateTaskRequestSee Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the source location for the task.
*/ inline const Aws::String& GetSourceLocationArn() const{ return m_sourceLocationArn; } /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline bool SourceLocationArnHasBeenSet() const { return m_sourceLocationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline void SetSourceLocationArn(const Aws::String& value) { m_sourceLocationArnHasBeenSet = true; m_sourceLocationArn = value; } /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline void SetSourceLocationArn(Aws::String&& value) { m_sourceLocationArnHasBeenSet = true; m_sourceLocationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline void SetSourceLocationArn(const char* value) { m_sourceLocationArnHasBeenSet = true; m_sourceLocationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline CreateTaskRequest& WithSourceLocationArn(const Aws::String& value) { SetSourceLocationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline CreateTaskRequest& WithSourceLocationArn(Aws::String&& value) { SetSourceLocationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the source location for the task.
*/ inline CreateTaskRequest& WithSourceLocationArn(const char* value) { SetSourceLocationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline const Aws::String& GetDestinationLocationArn() const{ return m_destinationLocationArn; } /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline bool DestinationLocationArnHasBeenSet() const { return m_destinationLocationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline void SetDestinationLocationArn(const Aws::String& value) { m_destinationLocationArnHasBeenSet = true; m_destinationLocationArn = value; } /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline void SetDestinationLocationArn(Aws::String&& value) { m_destinationLocationArnHasBeenSet = true; m_destinationLocationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline void SetDestinationLocationArn(const char* value) { m_destinationLocationArnHasBeenSet = true; m_destinationLocationArn.assign(value); } /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline CreateTaskRequest& WithDestinationLocationArn(const Aws::String& value) { SetDestinationLocationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline CreateTaskRequest& WithDestinationLocationArn(Aws::String&& value) { SetDestinationLocationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's * location.
*/ inline CreateTaskRequest& WithDestinationLocationArn(const char* value) { SetDestinationLocationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline CreateTaskRequest& WithCloudWatchLogGroupArn(const Aws::String& value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline CreateTaskRequest& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is * used to monitor and log events in the task.
*/ inline CreateTaskRequest& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline CreateTaskRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline CreateTaskRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a task. This value is a text reference that is used to identify * the task in the console.
*/ inline CreateTaskRequest& WithName(const char* value) { SetName(value); return *this;} /** *Specifies the configuration options for a task. Some options include * preserving file or object metadata and verifying data integrity.
You can * also override these options before starting an individual run of a task (also * known as a task execution). For more information, see StartTaskExecution.
*/ inline const Options& GetOptions() const{ return m_options; } /** *Specifies the configuration options for a task. Some options include * preserving file or object metadata and verifying data integrity.
You can * also override these options before starting an individual run of a task (also * known as a task execution). For more information, see StartTaskExecution.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *Specifies the configuration options for a task. Some options include * preserving file or object metadata and verifying data integrity.
You can * also override these options before starting an individual run of a task (also * known as a task execution). For more information, see StartTaskExecution.
*/ inline void SetOptions(const Options& value) { m_optionsHasBeenSet = true; m_options = value; } /** *Specifies the configuration options for a task. Some options include * preserving file or object metadata and verifying data integrity.
You can * also override these options before starting an individual run of a task (also * known as a task execution). For more information, see StartTaskExecution.
*/ inline void SetOptions(Options&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *Specifies the configuration options for a task. Some options include * preserving file or object metadata and verifying data integrity.
You can * also override these options before starting an individual run of a task (also * known as a task execution). For more information, see StartTaskExecution.
*/ inline CreateTaskRequest& WithOptions(const Options& value) { SetOptions(value); return *this;} /** *Specifies the configuration options for a task. Some options include * preserving file or object metadata and verifying data integrity.
You can * also override these options before starting an individual run of a task (also * known as a task execution). For more information, see StartTaskExecution.
*/ inline CreateTaskRequest& WithOptions(Options&& value) { SetOptions(std::move(value)); return *this;} /** *Specifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline const Aws::VectorSpecifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; } /** *Specifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline void SetExcludes(const Aws::VectorSpecifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline void SetExcludes(Aws::VectorSpecifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& WithExcludes(const Aws::VectorSpecifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& WithExcludes(Aws::VectorSpecifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& AddExcludes(const FilterRule& value) { m_excludesHasBeenSet = true; m_excludes.push_back(value); return *this; } /** *Specifies a list of filter rules that exclude specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& AddExcludes(FilterRule&& value) { m_excludesHasBeenSet = true; m_excludes.push_back(std::move(value)); return *this; } /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. The schedule should be specified in UTC time. For more * information, see Scheduling * your task.
*/ inline const TaskSchedule& GetSchedule() const{ return m_schedule; } /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. The schedule should be specified in UTC time. For more * information, see Scheduling * your task.
*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. The schedule should be specified in UTC time. For more * information, see Scheduling * your task.
*/ inline void SetSchedule(const TaskSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. The schedule should be specified in UTC time. For more * information, see Scheduling * your task.
*/ inline void SetSchedule(TaskSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. The schedule should be specified in UTC time. For more * information, see Scheduling * your task.
*/ inline CreateTaskRequest& WithSchedule(const TaskSchedule& value) { SetSchedule(value); return *this;} /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. The schedule should be specified in UTC time. For more * information, see Scheduling * your task.
*/ inline CreateTaskRequest& WithSchedule(TaskSchedule&& value) { SetSchedule(std::move(value)); return *this;} /** *Specifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline const Aws::VectorSpecifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Specifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline void SetTags(const Aws::VectorSpecifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline void SetTags(Aws::VectorSpecifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline CreateTaskRequest& WithTags(const Aws::VectorSpecifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline CreateTaskRequest& WithTags(Aws::VectorSpecifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline CreateTaskRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Specifies the tags that you want to apply to the Amazon Resource Name (ARN) * representing the task.
Tags are key-value pairs that help you * manage, filter, and search for your DataSync resources.
*/ inline CreateTaskRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *Specifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline const Aws::VectorSpecifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; } /** *Specifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline void SetIncludes(const Aws::VectorSpecifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline void SetIncludes(Aws::VectorSpecifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& WithIncludes(const Aws::VectorSpecifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& WithIncludes(Aws::VectorSpecifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& AddIncludes(const FilterRule& value) { m_includesHasBeenSet = true; m_includes.push_back(value); return *this; } /** *Specifies a list of filter rules that include specific data during your * transfer. For more information and examples, see Filtering * data transferred by DataSync.
*/ inline CreateTaskRequest& AddIncludes(FilterRule&& value) { m_includesHasBeenSet = true; m_includes.push_back(std::move(value)); return *this; } private: Aws::String m_sourceLocationArn; bool m_sourceLocationArnHasBeenSet = false; Aws::String m_destinationLocationArn; bool m_destinationLocationArnHasBeenSet = false; Aws::String m_cloudWatchLogGroupArn; bool m_cloudWatchLogGroupArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Options m_options; bool m_optionsHasBeenSet = false; Aws::Vector