AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeClusterParametersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterParameters"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
46 
50  inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
51 
55  inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
56 
60  inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
61 
65  inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
66 
70  inline DescribeClusterParametersRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
71 
75  inline DescribeClusterParametersRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
76 
80  inline DescribeClusterParametersRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
81 
82 
90  inline const Aws::String& GetSource() const{ return m_source; }
91 
99  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
100 
108  inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
109 
117  inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
118 
126  inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
127 
135  inline DescribeClusterParametersRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
136 
144  inline DescribeClusterParametersRequest& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
145 
153  inline DescribeClusterParametersRequest& WithSource(const char* value) { SetSource(value); return *this;}
154 
155 
164  inline int GetMaxRecords() const{ return m_maxRecords; }
165 
174  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
175 
184  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
185 
194  inline DescribeClusterParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
195 
196 
205  inline const Aws::String& GetMarker() const{ return m_marker; }
206 
215  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
216 
225  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
226 
235  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
236 
245  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
246 
255  inline DescribeClusterParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
256 
265  inline DescribeClusterParametersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
266 
275  inline DescribeClusterParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
276 
277  private:
278 
279  Aws::String m_parameterGroupName;
280  bool m_parameterGroupNameHasBeenSet;
281 
282  Aws::String m_source;
283  bool m_sourceHasBeenSet;
284 
285  int m_maxRecords;
286  bool m_maxRecordsHasBeenSet;
287 
288  Aws::String m_marker;
289  bool m_markerHasBeenSet;
290  };
291 
292 } // namespace Model
293 } // namespace Redshift
294 } // namespace Aws
Aws::Redshift::Model::DescribeClusterParametersRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterParametersRequest.h:245
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterParametersRequest::SetSource
void SetSource(Aws::String &&value)
Definition: DescribeClusterParametersRequest.h:117
Aws::Redshift::Model::DescribeClusterParametersRequest::ParameterGroupNameHasBeenSet
bool ParameterGroupNameHasBeenSet() const
Definition: DescribeClusterParametersRequest.h:50
Aws::Redshift::Model::DescribeClusterParametersRequest::SetParameterGroupName
void SetParameterGroupName(const char *value)
Definition: DescribeClusterParametersRequest.h:65
Aws::Redshift::Model::DescribeClusterParametersRequest::WithSource
DescribeClusterParametersRequest & WithSource(const char *value)
Definition: DescribeClusterParametersRequest.h:153
Aws::Redshift::Model::DescribeClusterParametersRequest::WithMarker
DescribeClusterParametersRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterParametersRequest.h:265
Aws::Redshift::Model::DescribeClusterParametersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterParametersRequest.h:215
RedshiftRequest.h
Aws::Redshift::Model::DescribeClusterParametersRequest::GetParameterGroupName
const Aws::String & GetParameterGroupName() const
Definition: DescribeClusterParametersRequest.h:45
Aws::Redshift::Model::DescribeClusterParametersRequest::SetSource
void SetSource(const Aws::String &value)
Definition: DescribeClusterParametersRequest.h:108
Aws::Redshift::Model::DescribeClusterParametersRequest::SetParameterGroupName
void SetParameterGroupName(Aws::String &&value)
Definition: DescribeClusterParametersRequest.h:60
Aws::Redshift::Model::DescribeClusterParametersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterParametersRequest.h:235
Aws::Redshift::Model::DescribeClusterParametersRequest::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: DescribeClusterParametersRequest.h:99
Aws::Redshift::Model::DescribeClusterParametersRequest::WithParameterGroupName
DescribeClusterParametersRequest & WithParameterGroupName(const char *value)
Definition: DescribeClusterParametersRequest.h:80
Aws::Redshift::Model::DescribeClusterParametersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterParametersRequest::GetSource
const Aws::String & GetSource() const
Definition: DescribeClusterParametersRequest.h:90
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterParametersRequest::WithMarker
DescribeClusterParametersRequest & WithMarker(const char *value)
Definition: DescribeClusterParametersRequest.h:275
Aws::Redshift::Model::DescribeClusterParametersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterParametersRequest.h:33
Aws::Redshift::Model::DescribeClusterParametersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeClusterParametersRequest::WithMarker
DescribeClusterParametersRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterParametersRequest.h:255
AWSString.h
Aws::Redshift::Model::DescribeClusterParametersRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterParametersRequest.h:174
Aws::Redshift::Model::DescribeClusterParametersRequest::SetSource
void SetSource(const char *value)
Definition: DescribeClusterParametersRequest.h:126
Aws::Redshift::Model::DescribeClusterParametersRequest::DescribeClusterParametersRequest
DescribeClusterParametersRequest()
Aws::Redshift::Model::DescribeClusterParametersRequest::WithMaxRecords
DescribeClusterParametersRequest & WithMaxRecords(int value)
Definition: DescribeClusterParametersRequest.h:194
Aws::Redshift::Model::DescribeClusterParametersRequest::SetParameterGroupName
void SetParameterGroupName(const Aws::String &value)
Definition: DescribeClusterParametersRequest.h:55
Aws::Redshift::Model::DescribeClusterParametersRequest::WithSource
DescribeClusterParametersRequest & WithSource(Aws::String &&value)
Definition: DescribeClusterParametersRequest.h:144
Aws::Redshift::Model::DescribeClusterParametersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterParametersRequest.h:225
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeClusterParametersRequest::WithParameterGroupName
DescribeClusterParametersRequest & WithParameterGroupName(Aws::String &&value)
Definition: DescribeClusterParametersRequest.h:75
Aws::Redshift::Model::DescribeClusterParametersRequest
Definition: DescribeClusterParametersRequest.h:25
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterParametersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterParametersRequest.h:205
Aws::Redshift::Model::DescribeClusterParametersRequest::WithSource
DescribeClusterParametersRequest & WithSource(const Aws::String &value)
Definition: DescribeClusterParametersRequest.h:135
Aws::Redshift::Model::DescribeClusterParametersRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterParametersRequest.h:164
Aws::Redshift::Model::DescribeClusterParametersRequest::WithParameterGroupName
DescribeClusterParametersRequest & WithParameterGroupName(const Aws::String &value)
Definition: DescribeClusterParametersRequest.h:70
Aws::Redshift::Model::DescribeClusterParametersRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterParametersRequest.h:184