AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteSubscriberRequest.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/budgets/model/Subscriber.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Budgets {
17namespace Model {
18
25 public:
26 AWS_BUDGETS_API DeleteSubscriberRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteSubscriber"; }
33
34 AWS_BUDGETS_API Aws::String SerializePayload() const override;
35
37
39
43 inline const Aws::String& GetAccountId() const { return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 template <typename AccountIdT = Aws::String>
46 void SetAccountId(AccountIdT&& value) {
47 m_accountIdHasBeenSet = true;
48 m_accountId = std::forward<AccountIdT>(value);
49 }
50 template <typename AccountIdT = Aws::String>
52 SetAccountId(std::forward<AccountIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
62 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
63 template <typename BudgetNameT = Aws::String>
64 void SetBudgetName(BudgetNameT&& value) {
65 m_budgetNameHasBeenSet = true;
66 m_budgetName = std::forward<BudgetNameT>(value);
67 }
68 template <typename BudgetNameT = Aws::String>
70 SetBudgetName(std::forward<BudgetNameT>(value));
71 return *this;
72 }
74
76
79 inline const Notification& GetNotification() const { return m_notification; }
80 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
81 template <typename NotificationT = Notification>
82 void SetNotification(NotificationT&& value) {
83 m_notificationHasBeenSet = true;
84 m_notification = std::forward<NotificationT>(value);
85 }
86 template <typename NotificationT = Notification>
87 DeleteSubscriberRequest& WithNotification(NotificationT&& value) {
88 SetNotification(std::forward<NotificationT>(value));
89 return *this;
90 }
92
94
97 inline const Subscriber& GetSubscriber() const { return m_subscriber; }
98 inline bool SubscriberHasBeenSet() const { return m_subscriberHasBeenSet; }
99 template <typename SubscriberT = Subscriber>
100 void SetSubscriber(SubscriberT&& value) {
101 m_subscriberHasBeenSet = true;
102 m_subscriber = std::forward<SubscriberT>(value);
103 }
104 template <typename SubscriberT = Subscriber>
106 SetSubscriber(std::forward<SubscriberT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_accountId;
112
113 Aws::String m_budgetName;
114
115 Notification m_notification;
116
117 Subscriber m_subscriber;
118 bool m_accountIdHasBeenSet = false;
119 bool m_budgetNameHasBeenSet = false;
120 bool m_notificationHasBeenSet = false;
121 bool m_subscriberHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Budgets
126} // namespace Aws
DeleteSubscriberRequest & WithSubscriber(SubscriberT &&value)
DeleteSubscriberRequest & WithBudgetName(BudgetNameT &&value)
DeleteSubscriberRequest & WithAccountId(AccountIdT &&value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_BUDGETS_API Aws::String SerializePayload() const override
DeleteSubscriberRequest & WithNotification(NotificationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_BUDGETS_API DeleteSubscriberRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String