AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeReplicationSubnetGroupsRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.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 DescribeReplicationSubnetGroupsRequest() = default;
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 "DescribeReplicationSubnetGroups"; }
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
48 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
49 template<typename FiltersT = Aws::Vector<Filter>>
50 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
51 template<typename FiltersT = Aws::Vector<Filter>>
52 DescribeReplicationSubnetGroupsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
53 template<typename FiltersT = Filter>
54 DescribeReplicationSubnetGroupsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
56
58
64 inline int GetMaxRecords() const { return m_maxRecords; }
65 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
66 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
67 inline DescribeReplicationSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
69
71
76 inline const Aws::String& GetMarker() const { return m_marker; }
77 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
78 template<typename MarkerT = Aws::String>
79 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
80 template<typename MarkerT = Aws::String>
81 DescribeReplicationSubnetGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
83 private:
84
85 Aws::Vector<Filter> m_filters;
86 bool m_filtersHasBeenSet = false;
87
88 int m_maxRecords{0};
89 bool m_maxRecordsHasBeenSet = false;
90
91 Aws::String m_marker;
92 bool m_markerHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DatabaseMigrationService
97} // 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