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/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_RDS_API DescribeDBParameterGroupsRequest() = 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 "DescribeDBParameterGroups"; }
36
37 AWS_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
50 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
51 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
52 template<typename DBParameterGroupNameT = Aws::String>
53 void SetDBParameterGroupName(DBParameterGroupNameT&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value); }
54 template<typename DBParameterGroupNameT = Aws::String>
55 DescribeDBParameterGroupsRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) { SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value)); return *this;}
57
59
62 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 template<typename FiltersT = Aws::Vector<Filter>>
65 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
66 template<typename FiltersT = Aws::Vector<Filter>>
67 DescribeDBParameterGroupsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
68 template<typename FiltersT = Filter>
69 DescribeDBParameterGroupsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
71
73
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 DescribeDBParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
85
87
93 inline const Aws::String& GetMarker() const { return m_marker; }
94 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
95 template<typename MarkerT = Aws::String>
96 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
97 template<typename MarkerT = Aws::String>
98 DescribeDBParameterGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
100 private:
101
102 Aws::String m_dBParameterGroupName;
103 bool m_dBParameterGroupNameHasBeenSet = false;
104
105 Aws::Vector<Filter> m_filters;
106 bool m_filtersHasBeenSet = false;
107
108 int m_maxRecords{0};
109 bool m_maxRecordsHasBeenSet = false;
110
111 Aws::String m_marker;
112 bool m_markerHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace RDS
117} // namespace Aws
DescribeDBParameterGroupsRequest & AddFilters(FiltersT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBParameterGroupsRequest & WithMaxRecords(int value)
DescribeDBParameterGroupsRequest & WithFilters(FiltersT &&value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
DescribeDBParameterGroupsRequest & WithMarker(MarkerT &&value)
AWS_RDS_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