/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include UpdateTaskResponseSee Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline const Aws::String& GetTaskArn() const{ return m_taskArn; } /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; } /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); } /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline UpdateTaskRequest& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline UpdateTaskRequest& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the resource name of the task to * update.
*/ inline UpdateTaskRequest& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} inline const Options& GetOptions() const{ return m_options; } inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } inline void SetOptions(const Options& value) { m_optionsHasBeenSet = true; m_options = value; } inline void SetOptions(Options&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } inline UpdateTaskRequest& WithOptions(const Options& value) { SetOptions(value); return *this;} inline UpdateTaskRequest& 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 UpdateTaskRequest& 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 UpdateTaskRequest& 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 UpdateTaskRequest& 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 UpdateTaskRequest& 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. You can configure your task to execute hourly, daily, * weekly or on specific days of the week. You control when in the day or hour you * want the task to execute. The time you specify is 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. You can configure your task to execute hourly, daily, * weekly or on specific days of the week. You control when in the day or hour you * want the task to execute. The time you specify is 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. You can configure your task to execute hourly, daily, * weekly or on specific days of the week. You control when in the day or hour you * want the task to execute. The time you specify is 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. You can configure your task to execute hourly, daily, * weekly or on specific days of the week. You control when in the day or hour you * want the task to execute. The time you specify is 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. You can configure your task to execute hourly, daily, * weekly or on specific days of the week. You control when in the day or hour you * want the task to execute. The time you specify is UTC time. For more * information, see Scheduling * your task.
*/ inline UpdateTaskRequest& WithSchedule(const TaskSchedule& value) { SetSchedule(value); return *this;} /** *Specifies a schedule used to periodically transfer files from a source to a * destination location. You can configure your task to execute hourly, daily, * weekly or on specific days of the week. You control when in the day or hour you * want the task to execute. The time you specify is UTC time. For more * information, see Scheduling * your task.
*/ inline UpdateTaskRequest& WithSchedule(TaskSchedule&& value) { SetSchedule(std::move(value)); return *this;} /** *The name of the task to update.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the task to update.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the task to update.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the task to update.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the task to update.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the task to update.
*/ inline UpdateTaskRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the task to update.
*/ inline UpdateTaskRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the task to update.
*/ inline UpdateTaskRequest& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; } /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; } /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline UpdateTaskRequest& WithCloudWatchLogGroupArn(const Aws::String& value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline UpdateTaskRequest& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch * log group.
*/ inline UpdateTaskRequest& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(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 UpdateTaskRequest& 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 UpdateTaskRequest& 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 UpdateTaskRequest& 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 UpdateTaskRequest& AddIncludes(FilterRule&& value) { m_includesHasBeenSet = true; m_includes.push_back(std::move(value)); return *this; } private: Aws::String m_taskArn; bool m_taskArnHasBeenSet = false; Options m_options; bool m_optionsHasBeenSet = false; Aws::Vector