AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeEventSubscriptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
27  {
28  public:
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 "DescribeEventSubscriptions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
48 
52  inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
53 
57  inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
58 
62  inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
63 
67  inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
68 
72  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;}
73 
77  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;}
78 
82  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;}
83 
84 
88  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
89 
93  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
94 
98  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
99 
103  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
104 
108  inline DescribeEventSubscriptionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
109 
113  inline DescribeEventSubscriptionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
114 
118  inline DescribeEventSubscriptionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
119 
123  inline DescribeEventSubscriptionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
124 
125 
133  inline int GetMaxRecords() const{ return m_maxRecords; }
134 
142  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
143 
151  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
152 
160  inline DescribeEventSubscriptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
161 
162 
169  inline const Aws::String& GetMarker() const{ return m_marker; }
170 
177  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
178 
185  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
186 
193  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
194 
201  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
202 
209  inline DescribeEventSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
210 
217  inline DescribeEventSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
218 
225  inline DescribeEventSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
226 
227  private:
228 
229  Aws::String m_subscriptionName;
230  bool m_subscriptionNameHasBeenSet;
231 
232  Aws::Vector<Filter> m_filters;
233  bool m_filtersHasBeenSet;
234 
235  int m_maxRecords;
236  bool m_maxRecordsHasBeenSet;
237 
238  Aws::String m_marker;
239  bool m_markerHasBeenSet;
240  };
241 
242 } // namespace Model
243 } // namespace RDS
244 } // namespace Aws
Aws::RDS::Model::DescribeEventSubscriptionsRequest
Definition: DescribeEventSubscriptionsRequest.h:27
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:193
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeEventSubscriptionsRequest.h:103
Aws::RDS::Model::DescribeEventSubscriptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeEventSubscriptionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:93
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithSubscriptionName
DescribeEventSubscriptionsRequest & WithSubscriptionName(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:82
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:185
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeEventSubscriptionsRequest.h:151
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetSubscriptionName
void SetSubscriptionName(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:57
Aws::RDS::Model::DescribeEventSubscriptionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:142
AWSVector.h
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:201
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithMarker
DescribeEventSubscriptionsRequest & WithMarker(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:225
Aws::RDS::Model::DescribeEventSubscriptionsRequest::AddFilters
DescribeEventSubscriptionsRequest & AddFilters(const Filter &value)
Definition: DescribeEventSubscriptionsRequest.h:118
RDS_EXPORTS.h
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithSubscriptionName
DescribeEventSubscriptionsRequest & WithSubscriptionName(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:77
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithFilters
DescribeEventSubscriptionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeEventSubscriptionsRequest.h:113
Aws::RDS::Model::DescribeEventSubscriptionsRequest::AddFilters
DescribeEventSubscriptionsRequest & AddFilters(Filter &&value)
Definition: DescribeEventSubscriptionsRequest.h:123
Aws::RDS::Model::DescribeEventSubscriptionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:177
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithSubscriptionName
DescribeEventSubscriptionsRequest & WithSubscriptionName(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:72
Aws::RDS::Model::DescribeEventSubscriptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEventSubscriptionsRequest.h:35
AWSString.h
Filter.h
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SubscriptionNameHasBeenSet
bool SubscriptionNameHasBeenSet() const
Definition: DescribeEventSubscriptionsRequest.h:52
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithMaxRecords
DescribeEventSubscriptionsRequest & WithMaxRecords(int value)
Definition: DescribeEventSubscriptionsRequest.h:160
Aws::RDS::Model::DescribeEventSubscriptionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeEventSubscriptionsRequest.h:169
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithMarker
DescribeEventSubscriptionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:217
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithFilters
DescribeEventSubscriptionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeEventSubscriptionsRequest.h:108
Aws::RDS::Model::DescribeEventSubscriptionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeEventSubscriptionsRequest.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetSubscriptionName
void SetSubscriptionName(Aws::String &&value)
Definition: DescribeEventSubscriptionsRequest.h:62
Aws::RDS::Model::DescribeEventSubscriptionsRequest::WithMarker
DescribeEventSubscriptionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeEventSubscriptionsRequest.h:209
Aws::RDS::Model::DescribeEventSubscriptionsRequest::DescribeEventSubscriptionsRequest
DescribeEventSubscriptionsRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DescribeEventSubscriptionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeEventSubscriptionsRequest.h:133
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeEventSubscriptionsRequest.h:98
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeEventSubscriptionsRequest::GetSubscriptionName
const Aws::String & GetSubscriptionName() const
Definition: DescribeEventSubscriptionsRequest.h:47
Aws::RDS::Model::DescribeEventSubscriptionsRequest::SetSubscriptionName
void SetSubscriptionName(const char *value)
Definition: DescribeEventSubscriptionsRequest.h:67