/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request of UpdateNotification See Also:
AWS
* API Reference
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The accountId that is associated with the budget whose
* notification you want to update.
The name of the budget whose notification you want to update.
*/ inline const Aws::String& GetBudgetName() const{ return m_budgetName; } /** *The name of the budget whose notification you want to update.
*/ inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; } /** *The name of the budget whose notification you want to update.
*/ inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; } /** *The name of the budget whose notification you want to update.
*/ inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); } /** *The name of the budget whose notification you want to update.
*/ inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); } /** *The name of the budget whose notification you want to update.
*/ inline UpdateNotificationRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;} /** *The name of the budget whose notification you want to update.
*/ inline UpdateNotificationRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;} /** *The name of the budget whose notification you want to update.
*/ inline UpdateNotificationRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;} /** *The previous notification that is associated with a budget.
*/ inline const Notification& GetOldNotification() const{ return m_oldNotification; } /** *The previous notification that is associated with a budget.
*/ inline bool OldNotificationHasBeenSet() const { return m_oldNotificationHasBeenSet; } /** *The previous notification that is associated with a budget.
*/ inline void SetOldNotification(const Notification& value) { m_oldNotificationHasBeenSet = true; m_oldNotification = value; } /** *The previous notification that is associated with a budget.
*/ inline void SetOldNotification(Notification&& value) { m_oldNotificationHasBeenSet = true; m_oldNotification = std::move(value); } /** *The previous notification that is associated with a budget.
*/ inline UpdateNotificationRequest& WithOldNotification(const Notification& value) { SetOldNotification(value); return *this;} /** *The previous notification that is associated with a budget.
*/ inline UpdateNotificationRequest& WithOldNotification(Notification&& value) { SetOldNotification(std::move(value)); return *this;} /** *The updated notification to be associated with a budget.
*/ inline const Notification& GetNewNotification() const{ return m_newNotification; } /** *The updated notification to be associated with a budget.
*/ inline bool NewNotificationHasBeenSet() const { return m_newNotificationHasBeenSet; } /** *The updated notification to be associated with a budget.
*/ inline void SetNewNotification(const Notification& value) { m_newNotificationHasBeenSet = true; m_newNotification = value; } /** *The updated notification to be associated with a budget.
*/ inline void SetNewNotification(Notification&& value) { m_newNotificationHasBeenSet = true; m_newNotification = std::move(value); } /** *The updated notification to be associated with a budget.
*/ inline UpdateNotificationRequest& WithNewNotification(const Notification& value) { SetNewNotification(value); return *this;} /** *The updated notification to be associated with a budget.
*/ inline UpdateNotificationRequest& WithNewNotification(Notification&& value) { SetNewNotification(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet; Aws::String m_budgetName; bool m_budgetNameHasBeenSet; Notification m_oldNotification; bool m_oldNotificationHasBeenSet; Notification m_newNotification; bool m_newNotificationHasBeenSet; }; } // namespace Model } // namespace Budgets } // namespace Aws