AWS SDK for C++  1.9.157
AWS SDK for C++
DescribeClusterSecurityGroupsRequest.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 "DescribeClusterSecurityGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
49  inline const Aws::String& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; }
50 
57  inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; }
58 
65  inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; }
66 
73  inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); }
74 
81  inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); }
82 
89  inline DescribeClusterSecurityGroupsRequest& WithClusterSecurityGroupName(const Aws::String& value) { SetClusterSecurityGroupName(value); return *this;}
90 
97  inline DescribeClusterSecurityGroupsRequest& WithClusterSecurityGroupName(Aws::String&& value) { SetClusterSecurityGroupName(std::move(value)); return *this;}
98 
105  inline DescribeClusterSecurityGroupsRequest& WithClusterSecurityGroupName(const char* value) { SetClusterSecurityGroupName(value); return *this;}
106 
107 
116  inline int GetMaxRecords() const{ return m_maxRecords; }
117 
126  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
127 
136  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
137 
146  inline DescribeClusterSecurityGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
147 
148 
159  inline const Aws::String& GetMarker() const{ return m_marker; }
160 
171  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
172 
183  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
184 
195  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
196 
207  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
208 
219  inline DescribeClusterSecurityGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
220 
231  inline DescribeClusterSecurityGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
232 
243  inline DescribeClusterSecurityGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
244 
245 
254  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
255 
264  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
265 
274  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
275 
284  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
285 
294  inline DescribeClusterSecurityGroupsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
295 
304  inline DescribeClusterSecurityGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
305 
314  inline DescribeClusterSecurityGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
315 
324  inline DescribeClusterSecurityGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
325 
334  inline DescribeClusterSecurityGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
335 
336 
345  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
346 
355  inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
356 
365  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
366 
375  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
376 
385  inline DescribeClusterSecurityGroupsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
386 
395  inline DescribeClusterSecurityGroupsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
396 
405  inline DescribeClusterSecurityGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
406 
415  inline DescribeClusterSecurityGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
416 
425  inline DescribeClusterSecurityGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
426 
427  private:
428 
429  Aws::String m_clusterSecurityGroupName;
430  bool m_clusterSecurityGroupNameHasBeenSet;
431 
432  int m_maxRecords;
433  bool m_maxRecordsHasBeenSet;
434 
435  Aws::String m_marker;
436  bool m_markerHasBeenSet;
437 
438  Aws::Vector<Aws::String> m_tagKeys;
439  bool m_tagKeysHasBeenSet;
440 
441  Aws::Vector<Aws::String> m_tagValues;
442  bool m_tagValuesHasBeenSet;
443  };
444 
445 } // namespace Model
446 } // namespace Redshift
447 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:195
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSecurityGroupsRequest.h:365
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::AddTagKeys
DescribeClusterSecurityGroupsRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:324
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeClusterSecurityGroupsRequest.h:264
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::ClusterSecurityGroupNameHasBeenSet
bool ClusterSecurityGroupNameHasBeenSet() const
Definition: DescribeClusterSecurityGroupsRequest.h:57
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterSecurityGroupsRequest.h:34
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeClusterSecurityGroupsRequest.h:254
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::AddTagKeys
DescribeClusterSecurityGroupsRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeClusterSecurityGroupsRequest.h:314
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::AddTagValues
DescribeClusterSecurityGroupsRequest & AddTagValues(const Aws::String &value)
Definition: DescribeClusterSecurityGroupsRequest.h:405
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterSecurityGroupsRequest.h:171
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithMarker
DescribeClusterSecurityGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterSecurityGroupsRequest.h:219
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithTagValues
DescribeClusterSecurityGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSecurityGroupsRequest.h:385
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterSecurityGroupsRequest.h:116
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::AddTagValues
DescribeClusterSecurityGroupsRequest & AddTagValues(const char *value)
Definition: DescribeClusterSecurityGroupsRequest.h:425
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeClusterSecurityGroupsRequest.h:345
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithTagKeys
DescribeClusterSecurityGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:304
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithClusterSecurityGroupName
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(const Aws::String &value)
Definition: DescribeClusterSecurityGroupsRequest.h:89
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RedshiftRequest.h
AWSVector.h
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithClusterSecurityGroupName
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(const char *value)
Definition: DescribeClusterSecurityGroupsRequest.h:105
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterSecurityGroupsRequest.h:136
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithTagValues
DescribeClusterSecurityGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:395
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeClusterSecurityGroupsRequest.h:355
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithMaxRecords
DescribeClusterSecurityGroupsRequest & WithMaxRecords(int value)
Definition: DescribeClusterSecurityGroupsRequest.h:146
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithMarker
DescribeClusterSecurityGroupsRequest & WithMarker(const char *value)
Definition: DescribeClusterSecurityGroupsRequest.h:243
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::GetClusterSecurityGroupName
const Aws::String & GetClusterSecurityGroupName() const
Definition: DescribeClusterSecurityGroupsRequest.h:49
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::AddTagKeys
DescribeClusterSecurityGroupsRequest & AddTagKeys(const char *value)
Definition: DescribeClusterSecurityGroupsRequest.h:334
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(const Aws::String &value)
Definition: DescribeClusterSecurityGroupsRequest.h:65
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterSecurityGroupsRequest.h:207
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterSecurityGroupsRequest.h:183
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithMarker
DescribeClusterSecurityGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:231
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::AddTagValues
DescribeClusterSecurityGroupsRequest & AddTagValues(Aws::String &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:415
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest
Definition: DescribeClusterSecurityGroupsRequest.h:26
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::DescribeClusterSecurityGroupsRequest
DescribeClusterSecurityGroupsRequest()
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithClusterSecurityGroupName
DescribeClusterSecurityGroupsRequest & WithClusterSecurityGroupName(Aws::String &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:97
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSecurityGroupsRequest.h:274
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::WithTagKeys
DescribeClusterSecurityGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSecurityGroupsRequest.h:294
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(Aws::String &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterSecurityGroupsRequest.h:159
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:375
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSecurityGroupsRequest.h:284
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::SetClusterSecurityGroupName
void SetClusterSecurityGroupName(const char *value)
Definition: DescribeClusterSecurityGroupsRequest.h:81
Aws::Redshift::Model::DescribeClusterSecurityGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterSecurityGroupsRequest.h:126