AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeClusterSubnetGroupsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace Redshift
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
40  inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
41 
45  inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
46 
50  inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
51 
55  inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
56 
60  inline DescribeClusterSubnetGroupsRequest& WithClusterSubnetGroupName(const Aws::String& value) { SetClusterSubnetGroupName(value); return *this;}
61 
65  inline DescribeClusterSubnetGroupsRequest& WithClusterSubnetGroupName(Aws::String&& value) { SetClusterSubnetGroupName(value); return *this;}
66 
70  inline DescribeClusterSubnetGroupsRequest& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;}
71 
80  inline int GetMaxRecords() const{ return m_maxRecords; }
81 
90  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
91 
100  inline DescribeClusterSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
101 
110  inline const Aws::String& GetMarker() const{ return m_marker; }
111 
120  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
121 
130  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
131 
140  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
141 
150  inline DescribeClusterSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
151 
160  inline DescribeClusterSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
161 
170  inline DescribeClusterSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
171 
180  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
181 
190  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
191 
200  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
201 
210  inline DescribeClusterSubnetGroupsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
211 
220  inline DescribeClusterSubnetGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(value); return *this;}
221 
230  inline DescribeClusterSubnetGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
231 
240  inline DescribeClusterSubnetGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
241 
250  inline DescribeClusterSubnetGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
251 
260  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
261 
270  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
271 
280  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
281 
290  inline DescribeClusterSubnetGroupsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
291 
300  inline DescribeClusterSubnetGroupsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(value); return *this;}
301 
310  inline DescribeClusterSubnetGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
311 
320  inline DescribeClusterSubnetGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
321 
330  inline DescribeClusterSubnetGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
331 
332  private:
333  Aws::String m_clusterSubnetGroupName;
334  bool m_clusterSubnetGroupNameHasBeenSet;
335  int m_maxRecords;
336  bool m_maxRecordsHasBeenSet;
337  Aws::String m_marker;
338  bool m_markerHasBeenSet;
339  Aws::Vector<Aws::String> m_tagKeys;
340  bool m_tagKeysHasBeenSet;
341  Aws::Vector<Aws::String> m_tagValues;
342  bool m_tagValuesHasBeenSet;
343  };
344 
345 } // namespace Model
346 } // namespace Redshift
347 } // namespace Aws
DescribeClusterSubnetGroupsRequest & AddTagKeys(const Aws::String &value)
DescribeClusterSubnetGroupsRequest & AddTagKeys(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeClusterSubnetGroupsRequest & WithMarker(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeClusterSubnetGroupsRequest & AddTagValues(const Aws::String &value)
#define AWS_REDSHIFT_API
DescribeClusterSubnetGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterSubnetGroupsRequest & AddTagKeys(const char *value)
DescribeClusterSubnetGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClusterSubnetGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClusterSubnetGroupsRequest & AddTagValues(const char *value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(const Aws::String &value)
DescribeClusterSubnetGroupsRequest & AddTagValues(Aws::String &&value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(const char *value)
JSON (JavaScript Object Notation).
DescribeClusterSubnetGroupsRequest & WithMarker(const char *value)