AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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/dms/DatabaseMigrationServiceRequest.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
11#include <aws/dms/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DatabaseMigrationService {
17namespace Model {
18
25 public:
26 AWS_DATABASEMIGRATIONSERVICE_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_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetSubscriptionName() const { return m_subscriptionName; }
43 inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; }
44 template <typename SubscriptionNameT = Aws::String>
45 void SetSubscriptionName(SubscriptionNameT&& value) {
46 m_subscriptionNameHasBeenSet = true;
47 m_subscriptionName = std::forward<SubscriptionNameT>(value);
48 }
49 template <typename SubscriptionNameT = Aws::String>
51 SetSubscriptionName(std::forward<SubscriptionNameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 template <typename FiltersT = Aws::Vector<Filter>>
64 void SetFilters(FiltersT&& value) {
65 m_filtersHasBeenSet = true;
66 m_filters = std::forward<FiltersT>(value);
67 }
68 template <typename FiltersT = Aws::Vector<Filter>>
70 SetFilters(std::forward<FiltersT>(value));
71 return *this;
72 }
73 template <typename FiltersT = Filter>
75 m_filtersHasBeenSet = true;
76 m_filters.emplace_back(std::forward<FiltersT>(value));
77 return *this;
78 }
80
82
88 inline int GetMaxRecords() const { return m_maxRecords; }
89 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
90 inline void SetMaxRecords(int value) {
91 m_maxRecordsHasBeenSet = true;
92 m_maxRecords = value;
93 }
95 SetMaxRecords(value);
96 return *this;
97 }
99
101
106 inline const Aws::String& GetMarker() const { return m_marker; }
107 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
108 template <typename MarkerT = Aws::String>
109 void SetMarker(MarkerT&& value) {
110 m_markerHasBeenSet = true;
111 m_marker = std::forward<MarkerT>(value);
112 }
113 template <typename MarkerT = Aws::String>
115 SetMarker(std::forward<MarkerT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_subscriptionName;
121
122 Aws::Vector<Filter> m_filters;
123
124 int m_maxRecords{0};
125
126 Aws::String m_marker;
127 bool m_subscriptionNameHasBeenSet = false;
128 bool m_filtersHasBeenSet = false;
129 bool m_maxRecordsHasBeenSet = false;
130 bool m_markerHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace DatabaseMigrationService
135} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
DescribeEventSubscriptionsRequest & WithSubscriptionName(SubscriptionNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsRequest()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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