/** * 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 Budgets { namespace Model { /** *

Request of DeleteBudget

See Also:

AWS * API Reference

*/ class DeleteBudgetRequest : public BudgetsRequest { public: AWS_BUDGETS_API DeleteBudgetRequest(); // 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 "DeleteBudget"; } AWS_BUDGETS_API Aws::String SerializePayload() const override; AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline DeleteBudgetRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline DeleteBudgetRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The accountId that is associated with the budget that you want * to delete.

*/ inline DeleteBudgetRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The name of the budget that you want to delete.

*/ inline const Aws::String& GetBudgetName() const{ return m_budgetName; } /** *

The name of the budget that you want to delete.

*/ inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; } /** *

The name of the budget that you want to delete.

*/ inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; } /** *

The name of the budget that you want to delete.

*/ inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); } /** *

The name of the budget that you want to delete.

*/ inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); } /** *

The name of the budget that you want to delete.

*/ inline DeleteBudgetRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;} /** *

The name of the budget that you want to delete.

*/ inline DeleteBudgetRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;} /** *

The name of the budget that you want to delete.

*/ inline DeleteBudgetRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_budgetName; bool m_budgetNameHasBeenSet = false; }; } // namespace Model } // namespace Budgets } // namespace Aws