AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeClusterSubnetGroupsRequest.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 "DescribeClusterSubnetGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
47 
51  inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
52 
56  inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
57 
61  inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
62 
66  inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
67 
71  inline DescribeClusterSubnetGroupsRequest& WithClusterSubnetGroupName(const Aws::String& value) { SetClusterSubnetGroupName(value); return *this;}
72 
76  inline DescribeClusterSubnetGroupsRequest& WithClusterSubnetGroupName(Aws::String&& value) { SetClusterSubnetGroupName(std::move(value)); return *this;}
77 
81  inline DescribeClusterSubnetGroupsRequest& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;}
82 
83 
92  inline int GetMaxRecords() const{ return m_maxRecords; }
93 
102  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
103 
112  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
113 
122  inline DescribeClusterSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
123 
124 
133  inline const Aws::String& GetMarker() const{ return m_marker; }
134 
143  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
144 
153  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
154 
163  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
164 
173  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
174 
183  inline DescribeClusterSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
184 
193  inline DescribeClusterSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
194 
203  inline DescribeClusterSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
204 
205 
214  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
215 
224  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
225 
234  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
235 
244  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
245 
254  inline DescribeClusterSubnetGroupsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
255 
264  inline DescribeClusterSubnetGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
265 
274  inline DescribeClusterSubnetGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
275 
284  inline DescribeClusterSubnetGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
285 
294  inline DescribeClusterSubnetGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
295 
296 
305  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
306 
315  inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
316 
325  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
326 
335  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
336 
345  inline DescribeClusterSubnetGroupsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
346 
355  inline DescribeClusterSubnetGroupsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
356 
365  inline DescribeClusterSubnetGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
366 
375  inline DescribeClusterSubnetGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
376 
385  inline DescribeClusterSubnetGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
386 
387  private:
388 
389  Aws::String m_clusterSubnetGroupName;
390  bool m_clusterSubnetGroupNameHasBeenSet;
391 
392  int m_maxRecords;
393  bool m_maxRecordsHasBeenSet;
394 
395  Aws::String m_marker;
396  bool m_markerHasBeenSet;
397 
398  Aws::Vector<Aws::String> m_tagKeys;
399  bool m_tagKeysHasBeenSet;
400 
401  Aws::Vector<Aws::String> m_tagValues;
402  bool m_tagValuesHasBeenSet;
403  };
404 
405 } // namespace Model
406 } // namespace Redshift
407 } // namespace Aws
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterSubnetGroupsRequest.h:112
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterSubnetGroupsRequest.h:92
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsRequest.h:153
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::AddTagValues
DescribeClusterSubnetGroupsRequest & AddTagValues(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsRequest.h:365
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterSubnetGroupsRequest.h:102
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithClusterSubnetGroupName
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsRequest.h:71
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetClusterSubnetGroupName
void SetClusterSubnetGroupName(const char *value)
Definition: DescribeClusterSubnetGroupsRequest.h:66
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithTagKeys
DescribeClusterSubnetGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:264
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithTagKeys
DescribeClusterSubnetGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSubnetGroupsRequest.h:254
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::AddTagValues
DescribeClusterSubnetGroupsRequest & AddTagValues(const char *value)
Definition: DescribeClusterSubnetGroupsRequest.h:385
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeClusterSubnetGroupsRequest.h:214
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithMaxRecords
DescribeClusterSubnetGroupsRequest & WithMaxRecords(int value)
Definition: DescribeClusterSubnetGroupsRequest.h:122
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSubnetGroupsRequest.h:234
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::AddTagKeys
DescribeClusterSubnetGroupsRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:284
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterSubnetGroupsRequest.h:34
RedshiftRequest.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::ClusterSubnetGroupNameHasBeenSet
bool ClusterSubnetGroupNameHasBeenSet() const
Definition: DescribeClusterSubnetGroupsRequest.h:51
AWSVector.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithMarker
DescribeClusterSubnetGroupsRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:193
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeClusterSubnetGroupsRequest.h:224
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithTagValues
DescribeClusterSubnetGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:355
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeClusterSubnetGroupsRequest.h:315
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithTagValues
DescribeClusterSubnetGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSubnetGroupsRequest.h:345
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClusterSubnetGroupsRequest.h:325
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::AddTagKeys
DescribeClusterSubnetGroupsRequest & AddTagKeys(const char *value)
Definition: DescribeClusterSubnetGroupsRequest.h:294
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeClusterSubnetGroupsRequest.h:305
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithMarker
DescribeClusterSubnetGroupsRequest & WithMarker(const char *value)
Definition: DescribeClusterSubnetGroupsRequest.h:203
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithClusterSubnetGroupName
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:76
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetClusterSubnetGroupName
void SetClusterSubnetGroupName(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsRequest.h:56
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterSubnetGroupsRequest.h:143
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:335
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::AddTagValues
DescribeClusterSubnetGroupsRequest & AddTagValues(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:375
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithMarker
DescribeClusterSubnetGroupsRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsRequest.h:183
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:163
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:244
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterSubnetGroupsRequest.h:133
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::WithClusterSubnetGroupName
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(const char *value)
Definition: DescribeClusterSubnetGroupsRequest.h:81
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::AddTagKeys
DescribeClusterSubnetGroupsRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeClusterSubnetGroupsRequest.h:274
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterSubnetGroupsRequest.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::SetClusterSubnetGroupName
void SetClusterSubnetGroupName(Aws::String &&value)
Definition: DescribeClusterSubnetGroupsRequest.h:61
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::DescribeClusterSubnetGroupsRequest
DescribeClusterSubnetGroupsRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest::GetClusterSubnetGroupName
const Aws::String & GetClusterSubnetGroupName() const
Definition: DescribeClusterSubnetGroupsRequest.h:46
Aws::Redshift::Model::DescribeClusterSubnetGroupsRequest
Definition: DescribeClusterSubnetGroupsRequest.h:26