AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeEventSubscriptionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Redshift {
16namespace Model {
17
24 public:
25 AWS_REDSHIFT_API DescribeEventSubscriptionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeEventSubscriptions"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
44 inline const Aws::String& GetSubscriptionName() const { return m_subscriptionName; }
45 inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
46 template <typename SubscriptionNameT = Aws::String>
47 void SetSubscriptionName(SubscriptionNameT&& value) {
48 m_subscriptionNameHasBeenSet = true;
49 m_subscriptionName = std::forward<SubscriptionNameT>(value);
50 }
51 template <typename SubscriptionNameT = Aws::String>
53 SetSubscriptionName(std::forward<SubscriptionNameT>(value));
54 return *this;
55 }
57
59
67 inline int GetMaxRecords() const { return m_maxRecords; }
68 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
69 inline void SetMaxRecords(int value) {
70 m_maxRecordsHasBeenSet = true;
71 m_maxRecords = value;
72 }
74 SetMaxRecords(value);
75 return *this;
76 }
78
80
88 inline const Aws::String& GetMarker() const { return m_marker; }
89 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
90 template <typename MarkerT = Aws::String>
91 void SetMarker(MarkerT&& value) {
92 m_markerHasBeenSet = true;
93 m_marker = std::forward<MarkerT>(value);
94 }
95 template <typename MarkerT = Aws::String>
97 SetMarker(std::forward<MarkerT>(value));
98 return *this;
99 }
101
103
112 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
113 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
114 template <typename TagKeysT = Aws::Vector<Aws::String>>
115 void SetTagKeys(TagKeysT&& value) {
116 m_tagKeysHasBeenSet = true;
117 m_tagKeys = std::forward<TagKeysT>(value);
118 }
119 template <typename TagKeysT = Aws::Vector<Aws::String>>
121 SetTagKeys(std::forward<TagKeysT>(value));
122 return *this;
123 }
124 template <typename TagKeysT = Aws::String>
126 m_tagKeysHasBeenSet = true;
127 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
128 return *this;
129 }
131
133
142 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
143 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
144 template <typename TagValuesT = Aws::Vector<Aws::String>>
145 void SetTagValues(TagValuesT&& value) {
146 m_tagValuesHasBeenSet = true;
147 m_tagValues = std::forward<TagValuesT>(value);
148 }
149 template <typename TagValuesT = Aws::Vector<Aws::String>>
151 SetTagValues(std::forward<TagValuesT>(value));
152 return *this;
153 }
154 template <typename TagValuesT = Aws::String>
156 m_tagValuesHasBeenSet = true;
157 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_subscriptionName;
163
164 int m_maxRecords{0};
165
166 Aws::String m_marker;
167
168 Aws::Vector<Aws::String> m_tagKeys;
169
170 Aws::Vector<Aws::String> m_tagValues;
171 bool m_subscriptionNameHasBeenSet = false;
172 bool m_maxRecordsHasBeenSet = false;
173 bool m_markerHasBeenSet = false;
174 bool m_tagKeysHasBeenSet = false;
175 bool m_tagValuesHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace Redshift
180} // namespace Aws
DescribeEventSubscriptionsRequest & AddTagValues(TagValuesT &&value)
DescribeEventSubscriptionsRequest & WithTagKeys(TagKeysT &&value)
AWS_REDSHIFT_API DescribeEventSubscriptionsRequest()=default
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEventSubscriptionsRequest & WithSubscriptionName(SubscriptionNameT &&value)
DescribeEventSubscriptionsRequest & WithTagValues(TagValuesT &&value)
DescribeEventSubscriptionsRequest & AddTagKeys(TagKeysT &&value)
DescribeEventSubscriptionsRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector