AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBParametersRequest.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
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 "DescribeDBParameters"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_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 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
50 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
51 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
54 inline DescribeDBParametersRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
56
58
62 inline const Aws::String& GetSource() const{ return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
65 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
66 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
67 inline DescribeDBParametersRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
68 inline DescribeDBParametersRequest& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
69 inline DescribeDBParametersRequest& WithSource(const char* value) { SetSource(value); return *this;}
71
73
76 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
77 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
78 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
79 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
80 inline DescribeDBParametersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
81 inline DescribeDBParametersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
82 inline DescribeDBParametersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
83 inline DescribeDBParametersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
85
87
94 inline int GetMaxRecords() const{ return m_maxRecords; }
95 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
96 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
97 inline DescribeDBParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
99
101
107 inline const Aws::String& GetMarker() const{ return m_marker; }
108 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
109 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
110 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
111 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
112 inline DescribeDBParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
113 inline DescribeDBParametersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
114 inline DescribeDBParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
116 private:
117
118 Aws::String m_dBParameterGroupName;
119 bool m_dBParameterGroupNameHasBeenSet = false;
120
121 Aws::String m_source;
122 bool m_sourceHasBeenSet = false;
123
124 Aws::Vector<Filter> m_filters;
125 bool m_filtersHasBeenSet = false;
126
127 int m_maxRecords;
128 bool m_maxRecordsHasBeenSet = false;
129
130 Aws::String m_marker;
131 bool m_markerHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace RDS
136} // namespace Aws
DescribeDBParametersRequest & WithMarker(const char *value)
DescribeDBParametersRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBParametersRequest & WithSource(Aws::String &&value)
DescribeDBParametersRequest & WithSource(const Aws::String &value)
DescribeDBParametersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBParametersRequest & WithMaxRecords(int value)
DescribeDBParametersRequest & WithMarker(Aws::String &&value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBParametersRequest & AddFilters(const Filter &value)
DescribeDBParametersRequest & AddFilters(Filter &&value)
const Aws::Vector< Filter > & GetFilters() const
DescribeDBParametersRequest & WithDBParameterGroupName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBParametersRequest & WithMarker(const Aws::String &value)
DescribeDBParametersRequest & WithDBParameterGroupName(const char *value)
DescribeDBParametersRequest & WithDBParameterGroupName(const Aws::String &value)
DescribeDBParametersRequest & WithSource(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector