AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDBParameterGroupsRequest.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:
26 AWS_NEPTUNE_API DescribeDBParameterGroupsRequest() = 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 "DescribeDBParameterGroups"; }
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
47 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
48 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
49 template<typename DBParameterGroupNameT = Aws::String>
50 void SetDBParameterGroupName(DBParameterGroupNameT&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value); }
51 template<typename DBParameterGroupNameT = Aws::String>
52 DescribeDBParameterGroupsRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) { SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(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 template<typename FiltersT = Aws::Vector<Filter>>
62 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
63 template<typename FiltersT = Aws::Vector<Filter>>
64 DescribeDBParameterGroupsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
65 template<typename FiltersT = Filter>
66 DescribeDBParameterGroupsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(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 DescribeDBParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
81
83
89 inline const Aws::String& GetMarker() const { return m_marker; }
90 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 template<typename MarkerT = Aws::String>
92 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
93 template<typename MarkerT = Aws::String>
94 DescribeDBParameterGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
96 private:
97
98 Aws::String m_dBParameterGroupName;
99 bool m_dBParameterGroupNameHasBeenSet = false;
100
101 Aws::Vector<Filter> m_filters;
102 bool m_filtersHasBeenSet = false;
103
104 int m_maxRecords{0};
105 bool m_maxRecordsHasBeenSet = false;
106
107 Aws::String m_marker;
108 bool m_markerHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Neptune
113} // namespace Aws
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBParameterGroupsRequest & WithFilters(FiltersT &&value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
DescribeDBParameterGroupsRequest & WithMarker(MarkerT &&value)
DescribeDBParameterGroupsRequest & AddFilters(FiltersT &&value)
DescribeDBParameterGroupsRequest & WithMaxRecords(int value)
AWS_NEPTUNE_API DescribeDBParameterGroupsRequest()=default
AWS_NEPTUNE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector