AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeReplicationSubnetGroupsRequest.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 DescribeReplicationSubnetGroupsRequest() = 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 "DescribeReplicationSubnetGroups"; }
33
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
43 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
44 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
45 template <typename FiltersT = Aws::Vector<Filter>>
46 void SetFilters(FiltersT&& value) {
47 m_filtersHasBeenSet = true;
48 m_filters = std::forward<FiltersT>(value);
49 }
50 template <typename FiltersT = Aws::Vector<Filter>>
52 SetFilters(std::forward<FiltersT>(value));
53 return *this;
54 }
55 template <typename FiltersT = Filter>
57 m_filtersHasBeenSet = true;
58 m_filters.emplace_back(std::forward<FiltersT>(value));
59 return *this;
60 }
62
64
70 inline int GetMaxRecords() const { return m_maxRecords; }
71 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
72 inline void SetMaxRecords(int value) {
73 m_maxRecordsHasBeenSet = true;
74 m_maxRecords = value;
75 }
77 SetMaxRecords(value);
78 return *this;
79 }
81
83
88 inline const Aws::String& GetMarker() const { return m_marker; }
89 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
90 template <typename MarkerT = Aws::String>
91 void SetMarker(MarkerT&& value) {
92 m_markerHasBeenSet = true;
93 m_marker = std::forward<MarkerT>(value);
94 }
95 template <typename MarkerT = Aws::String>
97 SetMarker(std::forward<MarkerT>(value));
98 return *this;
99 }
101 private:
102 Aws::Vector<Filter> m_filters;
103
104 int m_maxRecords{0};
105
106 Aws::String m_marker;
107 bool m_filtersHasBeenSet = false;
108 bool m_maxRecordsHasBeenSet = false;
109 bool m_markerHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace DatabaseMigrationService
114} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationSubnetGroupsRequest()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() 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