AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateNotificationRequest.h
1
6#pragma once
7#include <aws/budgets/BudgetsRequest.h>
8#include <aws/budgets/Budgets_EXPORTS.h>
9#include <aws/budgets/model/Notification.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Budgets {
16namespace Model {
17
24 public:
25 AWS_BUDGETS_API UpdateNotificationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotification"; }
32
33 AWS_BUDGETS_API Aws::String SerializePayload() const override;
34
36
38
42 inline const Aws::String& GetAccountId() const { return m_accountId; }
43 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
44 template <typename AccountIdT = Aws::String>
45 void SetAccountId(AccountIdT&& value) {
46 m_accountIdHasBeenSet = true;
47 m_accountId = std::forward<AccountIdT>(value);
48 }
49 template <typename AccountIdT = Aws::String>
51 SetAccountId(std::forward<AccountIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
61 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
62 template <typename BudgetNameT = Aws::String>
63 void SetBudgetName(BudgetNameT&& value) {
64 m_budgetNameHasBeenSet = true;
65 m_budgetName = std::forward<BudgetNameT>(value);
66 }
67 template <typename BudgetNameT = Aws::String>
69 SetBudgetName(std::forward<BudgetNameT>(value));
70 return *this;
71 }
73
75
78 inline const Notification& GetOldNotification() const { return m_oldNotification; }
79 inline bool OldNotificationHasBeenSet() const { return m_oldNotificationHasBeenSet; }
80 template <typename OldNotificationT = Notification>
81 void SetOldNotification(OldNotificationT&& value) {
82 m_oldNotificationHasBeenSet = true;
83 m_oldNotification = std::forward<OldNotificationT>(value);
84 }
85 template <typename OldNotificationT = Notification>
87 SetOldNotification(std::forward<OldNotificationT>(value));
88 return *this;
89 }
91
93
96 inline const Notification& GetNewNotification() const { return m_newNotification; }
97 inline bool NewNotificationHasBeenSet() const { return m_newNotificationHasBeenSet; }
98 template <typename NewNotificationT = Notification>
99 void SetNewNotification(NewNotificationT&& value) {
100 m_newNotificationHasBeenSet = true;
101 m_newNotification = std::forward<NewNotificationT>(value);
102 }
103 template <typename NewNotificationT = Notification>
105 SetNewNotification(std::forward<NewNotificationT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_accountId;
111
112 Aws::String m_budgetName;
113
114 Notification m_oldNotification;
115
116 Notification m_newNotification;
117 bool m_accountIdHasBeenSet = false;
118 bool m_budgetNameHasBeenSet = false;
119 bool m_oldNotificationHasBeenSet = false;
120 bool m_newNotificationHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Budgets
125} // namespace Aws
UpdateNotificationRequest & WithAccountId(AccountIdT &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API UpdateNotificationRequest()=default
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNotificationRequest & WithBudgetName(BudgetNameT &&value)
UpdateNotificationRequest & WithOldNotification(OldNotificationT &&value)
UpdateNotificationRequest & WithNewNotification(NewNotificationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String