AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RDS {
17namespace Model {
18
25 public:
26 AWS_RDS_API DescribeEventSubscriptionsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeEventSubscriptions"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
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
62 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 template <typename FiltersT = Aws::Vector<Filter>>
65 void SetFilters(FiltersT&& value) {
66 m_filtersHasBeenSet = true;
67 m_filters = std::forward<FiltersT>(value);
68 }
69 template <typename FiltersT = Aws::Vector<Filter>>
71 SetFilters(std::forward<FiltersT>(value));
72 return *this;
73 }
74 template <typename FiltersT = Filter>
76 m_filtersHasBeenSet = true;
77 m_filters.emplace_back(std::forward<FiltersT>(value));
78 return *this;
79 }
81
83
90 inline int GetMaxRecords() const { return m_maxRecords; }
91 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
92 inline void SetMaxRecords(int value) {
93 m_maxRecordsHasBeenSet = true;
94 m_maxRecords = value;
95 }
97 SetMaxRecords(value);
98 return *this;
99 }
101
103
109 inline const Aws::String& GetMarker() const { return m_marker; }
110 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
111 template <typename MarkerT = Aws::String>
112 void SetMarker(MarkerT&& value) {
113 m_markerHasBeenSet = true;
114 m_marker = std::forward<MarkerT>(value);
115 }
116 template <typename MarkerT = Aws::String>
118 SetMarker(std::forward<MarkerT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_subscriptionName;
124
125 Aws::Vector<Filter> m_filters;
126
127 int m_maxRecords{0};
128
129 Aws::String m_marker;
130 bool m_subscriptionNameHasBeenSet = false;
131 bool m_filtersHasBeenSet = false;
132 bool m_maxRecordsHasBeenSet = false;
133 bool m_markerHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace RDS
138} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEventSubscriptionsRequest & AddFilters(FiltersT &&value)
DescribeEventSubscriptionsRequest & WithFilters(FiltersT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeEventSubscriptionsRequest & WithMarker(MarkerT &&value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(SubscriptionNameT &&value)
DescribeEventSubscriptionsRequest & WithMaxRecords(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector