AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BudgetNotificationsForAccount.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/budgets/model/Notification.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Budgets
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::Vector<Notification>& GetNotifications() const{ return m_notifications; }
46 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
47 inline void SetNotifications(const Aws::Vector<Notification>& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
48 inline void SetNotifications(Aws::Vector<Notification>&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
51 inline BudgetNotificationsForAccount& AddNotifications(const Notification& value) { m_notificationsHasBeenSet = true; m_notifications.push_back(value); return *this; }
52 inline BudgetNotificationsForAccount& AddNotifications(Notification&& value) { m_notificationsHasBeenSet = true; m_notifications.push_back(std::move(value)); return *this; }
54
56
57 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
58 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
59 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
60 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
61 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
62 inline BudgetNotificationsForAccount& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
63 inline BudgetNotificationsForAccount& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
64 inline BudgetNotificationsForAccount& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
66 private:
67
68 Aws::Vector<Notification> m_notifications;
69 bool m_notificationsHasBeenSet = false;
70
71 Aws::String m_budgetName;
72 bool m_budgetNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Budgets
77} // namespace Aws
AWS_BUDGETS_API BudgetNotificationsForAccount(Aws::Utils::Json::JsonView jsonValue)
void SetNotifications(Aws::Vector< Notification > &&value)
BudgetNotificationsForAccount & WithNotifications(Aws::Vector< Notification > &&value)
const Aws::Vector< Notification > & GetNotifications() const
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BUDGETS_API BudgetNotificationsForAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
BudgetNotificationsForAccount & WithBudgetName(const char *value)
BudgetNotificationsForAccount & WithBudgetName(Aws::String &&value)
BudgetNotificationsForAccount & WithNotifications(const Aws::Vector< Notification > &value)
void SetNotifications(const Aws::Vector< Notification > &value)
BudgetNotificationsForAccount & AddNotifications(Notification &&value)
BudgetNotificationsForAccount & AddNotifications(const Notification &value)
BudgetNotificationsForAccount & WithBudgetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue