/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ECS { namespace Model { /** */ class DeleteTaskDefinitionsRequest : public ECSRequest { public: AWS_ECS_API DeleteTaskDefinitionsRequest(); // 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 "DeleteTaskDefinitions"; } AWS_ECS_API Aws::String SerializePayload() const override; AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline const Aws::Vector& GetTaskDefinitions() const{ return m_taskDefinitions; } /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline bool TaskDefinitionsHasBeenSet() const { return m_taskDefinitionsHasBeenSet; } /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline void SetTaskDefinitions(const Aws::Vector& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions = value; } /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline void SetTaskDefinitions(Aws::Vector&& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions = std::move(value); } /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline DeleteTaskDefinitionsRequest& WithTaskDefinitions(const Aws::Vector& value) { SetTaskDefinitions(value); return *this;} /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline DeleteTaskDefinitionsRequest& WithTaskDefinitions(Aws::Vector&& value) { SetTaskDefinitions(std::move(value)); return *this;} /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline DeleteTaskDefinitionsRequest& AddTaskDefinitions(const Aws::String& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions.push_back(value); return *this; } /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline DeleteTaskDefinitionsRequest& AddTaskDefinitions(Aws::String&& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions.push_back(std::move(value)); return *this; } /** *

The family and revision * (family:revision) or full Amazon Resource Name (ARN) of the task * definition to delete. You must specify a revision.

You can * specify up to 10 task definitions as a comma separated list.

*/ inline DeleteTaskDefinitionsRequest& AddTaskDefinitions(const char* value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions.push_back(value); return *this; } private: Aws::Vector m_taskDefinitions; bool m_taskDefinitionsHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws