AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListNotificationConfigurationsRequest.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/notifications/model/NotificationConfigurationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Notifications
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_NOTIFICATIONS_API ListNotificationConfigurationsRequest() = 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 "ListNotificationConfigurations"; }
36
37 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
38
39 AWS_NOTIFICATIONS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
52 inline const Aws::String& GetEventRuleSource() const { return m_eventRuleSource; }
53 inline bool EventRuleSourceHasBeenSet() const { return m_eventRuleSourceHasBeenSet; }
54 template<typename EventRuleSourceT = Aws::String>
55 void SetEventRuleSource(EventRuleSourceT&& value) { m_eventRuleSourceHasBeenSet = true; m_eventRuleSource = std::forward<EventRuleSourceT>(value); }
56 template<typename EventRuleSourceT = Aws::String>
57 ListNotificationConfigurationsRequest& WithEventRuleSource(EventRuleSourceT&& value) { SetEventRuleSource(std::forward<EventRuleSourceT>(value)); return *this;}
59
61
64 inline const Aws::String& GetChannelArn() const { return m_channelArn; }
65 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
66 template<typename ChannelArnT = Aws::String>
67 void SetChannelArn(ChannelArnT&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::forward<ChannelArnT>(value); }
68 template<typename ChannelArnT = Aws::String>
69 ListNotificationConfigurationsRequest& WithChannelArn(ChannelArnT&& value) { SetChannelArn(std::forward<ChannelArnT>(value)); return *this;}
71
73
87 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(NotificationConfigurationStatus value) { m_statusHasBeenSet = true; m_status = value; }
92
94
98 inline int GetMaxResults() const { return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 inline ListNotificationConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103
105
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template<typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
113 template<typename NextTokenT = Aws::String>
114 ListNotificationConfigurationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
116 private:
117
118 Aws::String m_eventRuleSource;
119 bool m_eventRuleSourceHasBeenSet = false;
120
121 Aws::String m_channelArn;
122 bool m_channelArnHasBeenSet = false;
123
125 bool m_statusHasBeenSet = false;
126
127 int m_maxResults{0};
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Notifications
136} // namespace Aws
ListNotificationConfigurationsRequest & WithEventRuleSource(EventRuleSourceT &&value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
ListNotificationConfigurationsRequest & WithStatus(NotificationConfigurationStatus value)
AWS_NOTIFICATIONS_API ListNotificationConfigurationsRequest()=default
AWS_NOTIFICATIONS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListNotificationConfigurationsRequest & WithNextToken(NextTokenT &&value)
ListNotificationConfigurationsRequest & WithChannelArn(ChannelArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String