/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request of CreateNotification See Also:
AWS
* API Reference
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The accountId
that is associated with the budget that you want
* to create a notification for.
The name of the budget that you want Amazon Web Services to notify you about. * 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 Amazon Web Services to notify you about. * Budget names must be unique within an account.
*/ inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; } /** *The name of the budget that you want Amazon Web Services to notify you about. * 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 Amazon Web Services to notify you about. * 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 Amazon Web Services to notify you about. * 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 Amazon Web Services to notify you about. * Budget names must be unique within an account.
*/ inline CreateNotificationRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;} /** *The name of the budget that you want Amazon Web Services to notify you about. * Budget names must be unique within an account.
*/ inline CreateNotificationRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;} /** *The name of the budget that you want Amazon Web Services to notify you about. * Budget names must be unique within an account.
*/ inline CreateNotificationRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;} /** *The notification that you want to create.
*/ inline const Notification& GetNotification() const{ return m_notification; } /** *The notification that you want to create.
*/ inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; } /** *The notification that you want to create.
*/ inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; } /** *The notification that you want to create.
*/ inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); } /** *The notification that you want to create.
*/ inline CreateNotificationRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;} /** *The notification that you want to create.
*/ inline CreateNotificationRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;} /** *A list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline const Aws::VectorA list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline bool SubscribersHasBeenSet() const { return m_subscribersHasBeenSet; } /** *A list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline void SetSubscribers(const Aws::VectorA list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline void SetSubscribers(Aws::VectorA list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline CreateNotificationRequest& WithSubscribers(const Aws::VectorA list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline CreateNotificationRequest& WithSubscribers(Aws::VectorA list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline CreateNotificationRequest& AddSubscribers(const Subscriber& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; } /** *A list of subscribers that you want to associate with the notification. Each * notification can have one SNS subscriber and up to 10 email subscribers.
*/ inline CreateNotificationRequest& AddSubscribers(Subscriber&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(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; Aws::Vector