AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeEventSubscriptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Neptune
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
45 
49  inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
50 
54  inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
55 
59  inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
60 
64  inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
65 
69  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;}
70 
74  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;}
75 
79  inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;}
80 
81 
85  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
86 
90  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
91 
95  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
96 
100  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
101 
105  inline DescribeEventSubscriptionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
106 
110  inline DescribeEventSubscriptionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
111 
115  inline DescribeEventSubscriptionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
116 
120  inline DescribeEventSubscriptionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
121 
122 
129  inline int GetMaxRecords() const{ return m_maxRecords; }
130 
137  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
138 
145  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
146 
153  inline DescribeEventSubscriptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
154 
155 
162  inline const Aws::String& GetMarker() const{ return m_marker; }
163 
170  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
171 
178  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
179 
186  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
187 
194  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
195 
202  inline DescribeEventSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
203 
210  inline DescribeEventSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
211 
218  inline DescribeEventSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
219 
220  private:
221 
222  Aws::String m_subscriptionName;
223  bool m_subscriptionNameHasBeenSet;
224 
225  Aws::Vector<Filter> m_filters;
226  bool m_filtersHasBeenSet;
227 
228  int m_maxRecords;
229  bool m_maxRecordsHasBeenSet;
230 
231  Aws::String m_marker;
232  bool m_markerHasBeenSet;
233  };
234 
235 } // namespace Model
236 } // namespace Neptune
237 } // namespace Aws
DescribeEventSubscriptionsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeEventSubscriptionsRequest & WithMarker(const char *value)
#define AWS_NEPTUNE_API
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeEventSubscriptionsRequest & WithMarker(Aws::String &&value)
DescribeEventSubscriptionsRequest & AddFilters(const Filter &value)
DescribeEventSubscriptionsRequest & WithMaxRecords(int value)
DescribeEventSubscriptionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeEventSubscriptionsRequest & AddFilters(Filter &&value)
DescribeEventSubscriptionsRequest & WithMarker(const Aws::String &value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEventSubscriptionsRequest & WithSubscriptionName(const Aws::String &value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(Aws::String &&value)