AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline DeleteSubscriberRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline DeleteSubscriberRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline DeleteSubscriberRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
61 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
62 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
63 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
64 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
65 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
66 inline DeleteSubscriberRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
67 inline DeleteSubscriberRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
68 inline DeleteSubscriberRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
70
72
75 inline const Notification& GetNotification() const{ return m_notification; }
76 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
77 inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; }
78 inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); }
79 inline DeleteSubscriberRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;}
80 inline DeleteSubscriberRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;}
82
84
87 inline const Subscriber& GetSubscriber() const{ return m_subscriber; }
88 inline bool SubscriberHasBeenSet() const { return m_subscriberHasBeenSet; }
89 inline void SetSubscriber(const Subscriber& value) { m_subscriberHasBeenSet = true; m_subscriber = value; }
90 inline void SetSubscriber(Subscriber&& value) { m_subscriberHasBeenSet = true; m_subscriber = std::move(value); }
91 inline DeleteSubscriberRequest& WithSubscriber(const Subscriber& value) { SetSubscriber(value); return *this;}
92 inline DeleteSubscriberRequest& WithSubscriber(Subscriber&& value) { SetSubscriber(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_accountId;
97 bool m_accountIdHasBeenSet = false;
98
99 Aws::String m_budgetName;
100 bool m_budgetNameHasBeenSet = false;
101
102 Notification m_notification;
103 bool m_notificationHasBeenSet = false;
104
105 Subscriber m_subscriber;
106 bool m_subscriberHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Budgets
111} // namespace Aws
DeleteSubscriberRequest & WithNotification(const Notification &value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteSubscriberRequest & WithBudgetName(const char *value)
DeleteSubscriberRequest & WithNotification(Notification &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
DeleteSubscriberRequest & WithSubscriber(Subscriber &&value)
DeleteSubscriberRequest & WithBudgetName(Aws::String &&value)
DeleteSubscriberRequest & WithSubscriber(const Subscriber &value)
DeleteSubscriberRequest & WithBudgetName(const Aws::String &value)
DeleteSubscriberRequest & WithAccountId(Aws::String &&value)
DeleteSubscriberRequest & WithAccountId(const char *value)
DeleteSubscriberRequest & WithAccountId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String