AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeReplicationSubnetGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/dms/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DatabaseMigrationService
17 {
18 namespace Model
19 {
20 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
41 
46  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
47 
52  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
53 
58  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
59 
64  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
65 
70  inline DescribeReplicationSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
71 
76  inline DescribeReplicationSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
77 
82  inline DescribeReplicationSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
83 
88  inline DescribeReplicationSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
89 
90 
97  inline int GetMaxRecords() const{ return m_maxRecords; }
98 
105  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
106 
113  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
114 
121  inline DescribeReplicationSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
122 
123 
129  inline const Aws::String& GetMarker() const{ return m_marker; }
130 
136  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
137 
143  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
144 
150  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
151 
157  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
158 
164  inline DescribeReplicationSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
165 
171  inline DescribeReplicationSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
172 
178  inline DescribeReplicationSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
179 
180  private:
181 
182  Aws::Vector<Filter> m_filters;
183  bool m_filtersHasBeenSet;
184 
185  int m_maxRecords;
186  bool m_maxRecordsHasBeenSet;
187 
188  Aws::String m_marker;
189  bool m_markerHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace DatabaseMigrationService
194 } // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
#define AWS_DATABASEMIGRATIONSERVICE_API
DescribeReplicationSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeReplicationSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeReplicationSubnetGroupsRequest & WithMarker(const Aws::String &value)