AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeClusterParameterGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterParameterGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
49 
55  inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
56 
62  inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
63 
69  inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
70 
76  inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
77 
83  inline DescribeClusterParameterGroupsRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
84 
90  inline DescribeClusterParameterGroupsRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
91 
97  inline DescribeClusterParameterGroupsRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
98 
99 
108  inline int GetMaxRecords() const{ return m_maxRecords; }
109 
118  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
119 
128  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
129 
138  inline DescribeClusterParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
139 
140 
149  inline const Aws::String& GetMarker() const{ return m_marker; }
150 
159  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
160 
169  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
170 
179  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
180 
189  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
190 
199  inline DescribeClusterParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
200 
209  inline DescribeClusterParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
210 
219  inline DescribeClusterParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
220 
221 
230  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
231 
240  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
241 
250  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
251 
260  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
261 
270  inline DescribeClusterParameterGroupsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
271 
280  inline DescribeClusterParameterGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
281 
290  inline DescribeClusterParameterGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
291 
300  inline DescribeClusterParameterGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
301 
310  inline DescribeClusterParameterGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
311 
312 
321  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
322 
331  inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
332 
341  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
342 
351  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
352 
361  inline DescribeClusterParameterGroupsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
362 
371  inline DescribeClusterParameterGroupsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
372 
381  inline DescribeClusterParameterGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
382 
391  inline DescribeClusterParameterGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
392 
401  inline DescribeClusterParameterGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
402 
403  private:
404 
405  Aws::String m_parameterGroupName;
406  bool m_parameterGroupNameHasBeenSet;
407 
408  int m_maxRecords;
409  bool m_maxRecordsHasBeenSet;
410 
411  Aws::String m_marker;
412  bool m_markerHasBeenSet;
413 
414  Aws::Vector<Aws::String> m_tagKeys;
415  bool m_tagKeysHasBeenSet;
416 
417  Aws::Vector<Aws::String> m_tagValues;
418  bool m_tagValuesHasBeenSet;
419  };
420 
421 } // namespace Model
422 } // namespace Redshift
423 } // namespace Aws
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::AddTagKeys
DescribeClusterParameterGroupsRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeClusterParameterGroupsRequest.h:300
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithMarker
DescribeClusterParameterGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterParameterGroupsRequest.h:209
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterParameterGroupsRequest.h:351
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithParameterGroupName
DescribeClusterParameterGroupsRequest & WithParameterGroupName(const Aws::String &value)
Definition: DescribeClusterParameterGroupsRequest.h:83
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterParameterGroupsRequest.h:189
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::AddTagValues
DescribeClusterParameterGroupsRequest & AddTagValues(const char *value)
Definition: DescribeClusterParameterGroupsRequest.h:401
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithParameterGroupName
DescribeClusterParameterGroupsRequest & WithParameterGroupName(const char *value)
Definition: DescribeClusterParameterGroupsRequest.h:97
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest
Definition: DescribeClusterParameterGroupsRequest.h:26
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterParameterGroupsRequest.h:341
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterParameterGroupsRequest.h:169
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::ParameterGroupNameHasBeenSet
bool ParameterGroupNameHasBeenSet() const
Definition: DescribeClusterParameterGroupsRequest.h:55
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithMarker
DescribeClusterParameterGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterParameterGroupsRequest.h:199
RedshiftRequest.h
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithTagValues
DescribeClusterParameterGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterParameterGroupsRequest.h:371
AWSVector.h
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::AddTagValues
DescribeClusterParameterGroupsRequest & AddTagValues(const Aws::String &value)
Definition: DescribeClusterParameterGroupsRequest.h:381
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeClusterParameterGroupsRequest.h:230
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterParameterGroupsRequest.h:159
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeClusterParameterGroupsRequest.h:321
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithTagValues
DescribeClusterParameterGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterParameterGroupsRequest.h:361
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterParameterGroupsRequest.h:149
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetParameterGroupName
void SetParameterGroupName(Aws::String &&value)
Definition: DescribeClusterParameterGroupsRequest.h:69
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterParameterGroupsRequest.h:250
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithMarker
DescribeClusterParameterGroupsRequest & WithMarker(const char *value)
Definition: DescribeClusterParameterGroupsRequest.h:219
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeClusterParameterGroupsRequest.h:331
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterParameterGroupsRequest.h:179
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithTagKeys
DescribeClusterParameterGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterParameterGroupsRequest.h:280
AWSString.h
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterParameterGroupsRequest.h:128
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::GetParameterGroupName
const Aws::String & GetParameterGroupName() const
Definition: DescribeClusterParameterGroupsRequest.h:48
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetParameterGroupName
void SetParameterGroupName(const Aws::String &value)
Definition: DescribeClusterParameterGroupsRequest.h:62
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterParameterGroupsRequest.h:260
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithTagKeys
DescribeClusterParameterGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterParameterGroupsRequest.h:270
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithParameterGroupName
DescribeClusterParameterGroupsRequest & WithParameterGroupName(Aws::String &&value)
Definition: DescribeClusterParameterGroupsRequest.h:90
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterParameterGroupsRequest.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::WithMaxRecords
DescribeClusterParameterGroupsRequest & WithMaxRecords(int value)
Definition: DescribeClusterParameterGroupsRequest.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::AddTagKeys
DescribeClusterParameterGroupsRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeClusterParameterGroupsRequest.h:290
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterParameterGroupsRequest.h:108
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::DescribeClusterParameterGroupsRequest
DescribeClusterParameterGroupsRequest()
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::AddTagKeys
DescribeClusterParameterGroupsRequest & AddTagKeys(const char *value)
Definition: DescribeClusterParameterGroupsRequest.h:310
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::AddTagValues
DescribeClusterParameterGroupsRequest & AddTagValues(Aws::String &&value)
Definition: DescribeClusterParameterGroupsRequest.h:391
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::SetParameterGroupName
void SetParameterGroupName(const char *value)
Definition: DescribeClusterParameterGroupsRequest.h:76
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeClusterParameterGroupsRequest.h:240
Aws::Redshift::Model::DescribeClusterParameterGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterParameterGroupsRequest.h:34