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/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
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 "DescribeDBSubnetGroups"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
46 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
47 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
48 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
49 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
51 inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
52 inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
54
56
59 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
62 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
63 inline DescribeDBSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
64 inline DescribeDBSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
65 inline DescribeDBSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
66 inline DescribeDBSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
68
70
76 inline int GetMaxRecords() const{ return m_maxRecords; }
77 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
78 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
79 inline DescribeDBSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
81
83
88 inline const Aws::String& GetMarker() const{ return m_marker; }
89 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
90 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
91 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
92 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
93 inline DescribeDBSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
94 inline DescribeDBSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
95 inline DescribeDBSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
97 private:
98
99 Aws::String m_dBSubnetGroupName;
100 bool m_dBSubnetGroupNameHasBeenSet = false;
101
102 Aws::Vector<Filter> m_filters;
103 bool m_filtersHasBeenSet = false;
104
105 int m_maxRecords;
106 bool m_maxRecordsHasBeenSet = false;
107
108 Aws::String m_marker;
109 bool m_markerHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Neptune
114} // namespace Aws
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBSubnetGroupsRequest & WithMarker(const Aws::String &value)
DescribeDBSubnetGroupsRequest & AddFilters(Filter &&value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const Aws::String &value)
DescribeDBSubnetGroupsRequest & AddFilters(const Filter &value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeDBSubnetGroupsRequest & WithMarker(Aws::String &&value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(Aws::String &&value)
DescribeDBSubnetGroupsRequest & WithMaxRecords(int value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const char *value)
DescribeDBSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBSubnetGroupsRequest & WithMarker(const char *value)
DescribeDBSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector