AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeClusterParameterGroupsResult.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
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace Redshift
35 {
36 namespace Model
37 {
43  {
44  public:
48 
57  inline const Aws::String& GetMarker() const{ return m_marker; }
58 
67  inline void SetMarker(const Aws::String& value) { m_marker = value; }
68 
77  inline void SetMarker(Aws::String&& value) { m_marker = value; }
78 
87  inline void SetMarker(const char* value) { m_marker.assign(value); }
88 
97  inline DescribeClusterParameterGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
98 
107  inline DescribeClusterParameterGroupsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
108 
117  inline DescribeClusterParameterGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
118 
123  inline const Aws::Vector<ClusterParameterGroup>& GetParameterGroups() const{ return m_parameterGroups; }
124 
129  inline void SetParameterGroups(const Aws::Vector<ClusterParameterGroup>& value) { m_parameterGroups = value; }
130 
135  inline void SetParameterGroups(Aws::Vector<ClusterParameterGroup>&& value) { m_parameterGroups = value; }
136 
141  inline DescribeClusterParameterGroupsResult& WithParameterGroups(const Aws::Vector<ClusterParameterGroup>& value) { SetParameterGroups(value); return *this;}
142 
147  inline DescribeClusterParameterGroupsResult& WithParameterGroups(Aws::Vector<ClusterParameterGroup>&& value) { SetParameterGroups(value); return *this;}
148 
153  inline DescribeClusterParameterGroupsResult& AddParameterGroups(const ClusterParameterGroup& value) { m_parameterGroups.push_back(value); return *this; }
154 
159  inline DescribeClusterParameterGroupsResult& AddParameterGroups(ClusterParameterGroup&& value) { m_parameterGroups.push_back(value); return *this; }
160 
161 
162  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
163 
164 
165  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
166 
167 
168  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
169 
170 
171  inline DescribeClusterParameterGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
172 
173 
174  inline DescribeClusterParameterGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
175 
176  private:
177  Aws::String m_marker;
178  Aws::Vector<ClusterParameterGroup> m_parameterGroups;
179  ResponseMetadata m_responseMetadata;
180  };
181 
182 } // namespace Model
183 } // namespace Redshift
184 } // namespace Aws
void SetParameterGroups(const Aws::Vector< ClusterParameterGroup > &value)
void SetParameterGroups(Aws::Vector< ClusterParameterGroup > &&value)
DescribeClusterParameterGroupsResult & WithParameterGroups(Aws::Vector< ClusterParameterGroup > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeClusterParameterGroupsResult & AddParameterGroups(const ClusterParameterGroup &value)
DescribeClusterParameterGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< ClusterParameterGroup > & GetParameterGroups() const
DescribeClusterParameterGroupsResult & WithMarker(const char *value)
#define AWS_REDSHIFT_API
DescribeClusterParameterGroupsResult & AddParameterGroups(ClusterParameterGroup &&value)
DescribeClusterParameterGroupsResult & WithParameterGroups(const Aws::Vector< ClusterParameterGroup > &value)
DescribeClusterParameterGroupsResult & WithMarker(Aws::String &&value)
DescribeClusterParameterGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeClusterParameterGroupsResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).