AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSubscribersForNotificationRequest.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 <utility>
12
13namespace Aws
14{
15namespace Budgets
16{
17namespace Model
18{
19
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeSubscribersForNotification"; }
35
36 AWS_BUDGETS_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline DescribeSubscribersForNotificationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline DescribeSubscribersForNotificationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
61 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
62 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
63 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
64 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
66 inline DescribeSubscribersForNotificationRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
67 inline DescribeSubscribersForNotificationRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
69
71
74 inline const Notification& GetNotification() const{ return m_notification; }
75 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
76 inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; }
77 inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); }
81
83
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92
94
98 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
100 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
101 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
102 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
104 inline DescribeSubscribersForNotificationRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 inline DescribeSubscribersForNotificationRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 private:
108
109 Aws::String m_accountId;
110 bool m_accountIdHasBeenSet = false;
111
112 Aws::String m_budgetName;
113 bool m_budgetNameHasBeenSet = false;
114
115 Notification m_notification;
116 bool m_notificationHasBeenSet = false;
117
118 int m_maxResults;
119 bool m_maxResultsHasBeenSet = false;
120
121 Aws::String m_nextToken;
122 bool m_nextTokenHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Budgets
127} // namespace Aws
DescribeSubscribersForNotificationRequest & WithBudgetName(const char *value)
DescribeSubscribersForNotificationRequest & WithNotification(const Notification &value)
DescribeSubscribersForNotificationRequest & WithAccountId(const Aws::String &value)
DescribeSubscribersForNotificationRequest & WithAccountId(const char *value)
DescribeSubscribersForNotificationRequest & WithNextToken(const char *value)
AWS_BUDGETS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeSubscribersForNotificationRequest & WithBudgetName(Aws::String &&value)
DescribeSubscribersForNotificationRequest & WithBudgetName(const Aws::String &value)
DescribeSubscribersForNotificationRequest & WithNotification(Notification &&value)
AWS_BUDGETS_API Aws::String SerializePayload() const override
DescribeSubscribersForNotificationRequest & WithAccountId(Aws::String &&value)
DescribeSubscribersForNotificationRequest & WithNextToken(const Aws::String &value)
DescribeSubscribersForNotificationRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String