/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ECS { namespace Model { /** */ class DescribeTaskSetsRequest : public ECSRequest { public: AWS_ECS_API DescribeTaskSetsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeTaskSets"; } AWS_ECS_API Aws::String SerializePayload() const override; AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline const Aws::String& GetCluster() const{ return m_cluster; } /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; } /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; } /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); } /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); } /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline DescribeTaskSetsRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline DescribeTaskSetsRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts * the service that the task sets exist in.

*/ inline DescribeTaskSetsRequest& WithCluster(const char* value) { SetCluster(value); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline const Aws::String& GetService() const{ return m_service; } /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; } /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; } /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); } /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); } /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline DescribeTaskSetsRequest& WithService(const Aws::String& value) { SetService(value); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline DescribeTaskSetsRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the service that the * task sets exist in.

*/ inline DescribeTaskSetsRequest& WithService(const char* value) { SetService(value); return *this;} /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline const Aws::Vector& GetTaskSets() const{ return m_taskSets; } /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline bool TaskSetsHasBeenSet() const { return m_taskSetsHasBeenSet; } /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline void SetTaskSets(const Aws::Vector& value) { m_taskSetsHasBeenSet = true; m_taskSets = value; } /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline void SetTaskSets(Aws::Vector&& value) { m_taskSetsHasBeenSet = true; m_taskSets = std::move(value); } /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline DescribeTaskSetsRequest& WithTaskSets(const Aws::Vector& value) { SetTaskSets(value); return *this;} /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline DescribeTaskSetsRequest& WithTaskSets(Aws::Vector&& value) { SetTaskSets(std::move(value)); return *this;} /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline DescribeTaskSetsRequest& AddTaskSets(const Aws::String& value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(value); return *this; } /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline DescribeTaskSetsRequest& AddTaskSets(Aws::String&& value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(std::move(value)); return *this; } /** *

The ID or full Amazon Resource Name (ARN) of task sets to describe.

*/ inline DescribeTaskSetsRequest& AddTaskSets(const char* value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(value); return *this; } /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline const Aws::Vector& GetInclude() const{ return m_include; } /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; } /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline void SetInclude(const Aws::Vector& value) { m_includeHasBeenSet = true; m_include = value; } /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline void SetInclude(Aws::Vector&& value) { m_includeHasBeenSet = true; m_include = std::move(value); } /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline DescribeTaskSetsRequest& WithInclude(const Aws::Vector& value) { SetInclude(value); return *this;} /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline DescribeTaskSetsRequest& WithInclude(Aws::Vector&& value) { SetInclude(std::move(value)); return *this;} /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline DescribeTaskSetsRequest& AddInclude(const TaskSetField& value) { m_includeHasBeenSet = true; m_include.push_back(value); return *this; } /** *

Specifies whether to see the resource tags for the task set. If * TAGS is specified, the tags are included in the response. If this * field is omitted, tags aren't included in the response.

*/ inline DescribeTaskSetsRequest& AddInclude(TaskSetField&& value) { m_includeHasBeenSet = true; m_include.push_back(std::move(value)); return *this; } private: Aws::String m_cluster; bool m_clusterHasBeenSet = false; Aws::String m_service; bool m_serviceHasBeenSet = false; Aws::Vector m_taskSets; bool m_taskSetsHasBeenSet = false; Aws::Vector m_include; bool m_includeHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws