/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ECS { namespace Model { /** */ class DeleteCapacityProviderRequest : public ECSRequest { public: AWS_ECS_API DeleteCapacityProviderRequest(); // 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 "DeleteCapacityProvider"; } 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 capacity provider to * delete.

*/ inline const Aws::String& GetCapacityProvider() const{ return m_capacityProvider; } /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline bool CapacityProviderHasBeenSet() const { return m_capacityProviderHasBeenSet; } /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline void SetCapacityProvider(const Aws::String& value) { m_capacityProviderHasBeenSet = true; m_capacityProvider = value; } /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline void SetCapacityProvider(Aws::String&& value) { m_capacityProviderHasBeenSet = true; m_capacityProvider = std::move(value); } /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline void SetCapacityProvider(const char* value) { m_capacityProviderHasBeenSet = true; m_capacityProvider.assign(value); } /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline DeleteCapacityProviderRequest& WithCapacityProvider(const Aws::String& value) { SetCapacityProvider(value); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline DeleteCapacityProviderRequest& WithCapacityProvider(Aws::String&& value) { SetCapacityProvider(std::move(value)); return *this;} /** *

The short name or full Amazon Resource Name (ARN) of the capacity provider to * delete.

*/ inline DeleteCapacityProviderRequest& WithCapacityProvider(const char* value) { SetCapacityProvider(value); return *this;} private: Aws::String m_capacityProvider; bool m_capacityProviderHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws