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/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DatabaseMigrationService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsRequest();
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_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; }
47 inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
48 inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; }
49 inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); }
50 inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); }
53 inline DescribeEventSubscriptionsRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;}
55
57
61 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
64 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
65 inline DescribeEventSubscriptionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
66 inline DescribeEventSubscriptionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
67 inline DescribeEventSubscriptionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
68 inline DescribeEventSubscriptionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
70
72
78 inline int GetMaxRecords() const{ return m_maxRecords; }
79 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
80 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
81 inline DescribeEventSubscriptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
83
85
90 inline const Aws::String& GetMarker() const{ return m_marker; }
91 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
92 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
93 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
94 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
95 inline DescribeEventSubscriptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
96 inline DescribeEventSubscriptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
97 inline DescribeEventSubscriptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
99 private:
100
101 Aws::String m_subscriptionName;
102 bool m_subscriptionNameHasBeenSet = false;
103
104 Aws::Vector<Filter> m_filters;
105 bool m_filtersHasBeenSet = false;
106
107 int m_maxRecords;
108 bool m_maxRecordsHasBeenSet = false;
109
110 Aws::String m_marker;
111 bool m_markerHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DatabaseMigrationService
116} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
DescribeEventSubscriptionsRequest & WithSubscriptionName(Aws::String &&value)
DescribeEventSubscriptionsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeEventSubscriptionsRequest & WithSubscriptionName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeEventSubscriptionsRequest & WithMarker(const Aws::String &value)
DescribeEventSubscriptionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector