/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request of CreateSubscriber See Also:
AWS
* API Reference
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The accountId
that is associated with the budget that you want
* to create a subscriber for.
The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline const Aws::String& GetBudgetName() const{ return m_budgetName; } /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; } /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; } /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); } /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); } /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline CreateSubscriberRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;} /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline CreateSubscriberRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;} /** *The name of the budget that you want to subscribe to. Budget names must be * unique within an account.
*/ inline CreateSubscriberRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;} /** *The notification that you want to create a subscriber for.
*/ inline const Notification& GetNotification() const{ return m_notification; } /** *The notification that you want to create a subscriber for.
*/ inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; } /** *The notification that you want to create a subscriber for.
*/ inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; } /** *The notification that you want to create a subscriber for.
*/ inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); } /** *The notification that you want to create a subscriber for.
*/ inline CreateSubscriberRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;} /** *The notification that you want to create a subscriber for.
*/ inline CreateSubscriberRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;} /** *The subscriber that you want to associate with a budget notification.
*/ inline const Subscriber& GetSubscriber() const{ return m_subscriber; } /** *The subscriber that you want to associate with a budget notification.
*/ inline bool SubscriberHasBeenSet() const { return m_subscriberHasBeenSet; } /** *The subscriber that you want to associate with a budget notification.
*/ inline void SetSubscriber(const Subscriber& value) { m_subscriberHasBeenSet = true; m_subscriber = value; } /** *The subscriber that you want to associate with a budget notification.
*/ inline void SetSubscriber(Subscriber&& value) { m_subscriberHasBeenSet = true; m_subscriber = std::move(value); } /** *The subscriber that you want to associate with a budget notification.
*/ inline CreateSubscriberRequest& WithSubscriber(const Subscriber& value) { SetSubscriber(value); return *this;} /** *The subscriber that you want to associate with a budget notification.
*/ inline CreateSubscriberRequest& WithSubscriber(Subscriber&& value) { SetSubscriber(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_budgetName; bool m_budgetNameHasBeenSet = false; Notification m_notification; bool m_notificationHasBeenSet = false; Subscriber m_subscriber; bool m_subscriberHasBeenSet = false; }; } // namespace Model } // namespace Budgets } // namespace Aws