AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventSubscriptionsRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
48 inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
49 inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
50 inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
51 inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
52 inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
55 inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;}
57
59
62 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
65 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
66 inline DescribeEventSubscriptionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
67 inline DescribeEventSubscriptionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
68 inline DescribeEventSubscriptionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
69 inline DescribeEventSubscriptionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
71
73
80 inline int GetMaxRecords() const{ return m_maxRecords; }
81 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
82 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
83 inline DescribeEventSubscriptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
85
87
93 inline const Aws::String& GetMarker() const{ return m_marker; }
94 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
95 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
96 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
97 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
98 inline DescribeEventSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
99 inline DescribeEventSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
100 inline DescribeEventSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
102 private:
103
104 Aws::String m_subscriptionName;
105 bool m_subscriptionNameHasBeenSet = false;
106
107 Aws::Vector<Filter> m_filters;
108 bool m_filtersHasBeenSet = false;
109
110 int m_maxRecords;
111 bool m_maxRecordsHasBeenSet = false;
112
113 Aws::String m_marker;
114 bool m_markerHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace RDS
119} // namespace Aws
DescribeEventSubscriptionsRequest & WithSubscriptionName(const char *value)
DescribeEventSubscriptionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeEventSubscriptionsRequest & WithMarker(const Aws::String &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEventSubscriptionsRequest & AddFilters(const Filter &value)
DescribeEventSubscriptionsRequest & AddFilters(Filter &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeEventSubscriptionsRequest & WithSubscriptionName(Aws::String &&value)
DescribeEventSubscriptionsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeEventSubscriptionsRequest & WithMarker(Aws::String &&value)
DescribeEventSubscriptionsRequest & WithMarker(const char *value)
DescribeEventSubscriptionsRequest & WithMaxRecords(int value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector