/** * 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 SavingsPlans { namespace Model { /** */ class DeleteQueuedSavingsPlanRequest : public SavingsPlansRequest { public: AWS_SAVINGSPLANS_API DeleteQueuedSavingsPlanRequest(); // 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 "DeleteQueuedSavingsPlan"; } AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override; /** *

The ID of the Savings Plan.

*/ inline const Aws::String& GetSavingsPlanId() const{ return m_savingsPlanId; } /** *

The ID of the Savings Plan.

*/ inline bool SavingsPlanIdHasBeenSet() const { return m_savingsPlanIdHasBeenSet; } /** *

The ID of the Savings Plan.

*/ inline void SetSavingsPlanId(const Aws::String& value) { m_savingsPlanIdHasBeenSet = true; m_savingsPlanId = value; } /** *

The ID of the Savings Plan.

*/ inline void SetSavingsPlanId(Aws::String&& value) { m_savingsPlanIdHasBeenSet = true; m_savingsPlanId = std::move(value); } /** *

The ID of the Savings Plan.

*/ inline void SetSavingsPlanId(const char* value) { m_savingsPlanIdHasBeenSet = true; m_savingsPlanId.assign(value); } /** *

The ID of the Savings Plan.

*/ inline DeleteQueuedSavingsPlanRequest& WithSavingsPlanId(const Aws::String& value) { SetSavingsPlanId(value); return *this;} /** *

The ID of the Savings Plan.

*/ inline DeleteQueuedSavingsPlanRequest& WithSavingsPlanId(Aws::String&& value) { SetSavingsPlanId(std::move(value)); return *this;} /** *

The ID of the Savings Plan.

*/ inline DeleteQueuedSavingsPlanRequest& WithSavingsPlanId(const char* value) { SetSavingsPlanId(value); return *this;} private: Aws::String m_savingsPlanId; bool m_savingsPlanIdHasBeenSet = false; }; } // namespace Model } // namespace SavingsPlans } // namespace Aws