AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteSubscriberRequest.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/BudgetsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/budgets/model/Notification.h>
11#include <aws/budgets/model/Subscriber.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Budgets
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_BUDGETS_API DeleteSubscriberRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteSubscriber"; }
36
37 AWS_BUDGETS_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetAccountId() const { return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 template<typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
51 template<typename AccountIdT = Aws::String>
52 DeleteSubscriberRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
60 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
61 template<typename BudgetNameT = Aws::String>
62 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::forward<BudgetNameT>(value); }
63 template<typename BudgetNameT = Aws::String>
64 DeleteSubscriberRequest& WithBudgetName(BudgetNameT&& value) { SetBudgetName(std::forward<BudgetNameT>(value)); return *this;}
66
68
71 inline const Notification& GetNotification() const { return m_notification; }
72 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
73 template<typename NotificationT = Notification>
74 void SetNotification(NotificationT&& value) { m_notificationHasBeenSet = true; m_notification = std::forward<NotificationT>(value); }
75 template<typename NotificationT = Notification>
76 DeleteSubscriberRequest& WithNotification(NotificationT&& value) { SetNotification(std::forward<NotificationT>(value)); return *this;}
78
80
83 inline const Subscriber& GetSubscriber() const { return m_subscriber; }
84 inline bool SubscriberHasBeenSet() const { return m_subscriberHasBeenSet; }
85 template<typename SubscriberT = Subscriber>
86 void SetSubscriber(SubscriberT&& value) { m_subscriberHasBeenSet = true; m_subscriber = std::forward<SubscriberT>(value); }
87 template<typename SubscriberT = Subscriber>
88 DeleteSubscriberRequest& WithSubscriber(SubscriberT&& value) { SetSubscriber(std::forward<SubscriberT>(value)); return *this;}
90 private:
91
92 Aws::String m_accountId;
93 bool m_accountIdHasBeenSet = false;
94
95 Aws::String m_budgetName;
96 bool m_budgetNameHasBeenSet = false;
97
98 Notification m_notification;
99 bool m_notificationHasBeenSet = false;
100
101 Subscriber m_subscriber;
102 bool m_subscriberHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Budgets
107} // 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