AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBSubnetGroupsRequest.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DocDB
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBSubnetGroups"; }
37
38 AWS_DOCDB_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
49 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
50 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
51 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
52 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
53 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
55 inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
56 inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
58
60
63 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
64 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
65 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
66 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline DescribeDBSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
68 inline DescribeDBSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
69 inline DescribeDBSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
70 inline DescribeDBSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
72
74
80 inline int GetMaxRecords() const{ return m_maxRecords; }
81 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
82 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
83 inline DescribeDBSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
85
87
92 inline const Aws::String& GetMarker() const{ return m_marker; }
93 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
94 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
95 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
96 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
97 inline DescribeDBSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
98 inline DescribeDBSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
99 inline DescribeDBSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
101 private:
102
103 Aws::String m_dBSubnetGroupName;
104 bool m_dBSubnetGroupNameHasBeenSet = false;
105
106 Aws::Vector<Filter> m_filters;
107 bool m_filtersHasBeenSet = false;
108
109 int m_maxRecords;
110 bool m_maxRecordsHasBeenSet = false;
111
112 Aws::String m_marker;
113 bool m_markerHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace DocDB
118} // namespace Aws
DescribeDBSubnetGroupsRequest & WithMarker(const char *value)
DescribeDBSubnetGroupsRequest & AddFilters(const Filter &value)
DescribeDBSubnetGroupsRequest & WithMarker(const Aws::String &value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const Aws::String &value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBSubnetGroupsRequest & AddFilters(Filter &&value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(Aws::String &&value)
DescribeDBSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_DOCDB_API Aws::String SerializePayload() const override
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const char *value)
DescribeDBSubnetGroupsRequest & WithMaxRecords(int value)
DescribeDBSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBSubnetGroupsRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector