AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDBClusterParameterGroupsResult.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
16 #include <aws/rds/RDS_EXPORTS.h>
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 RDS
35 {
36 namespace Model
37 {
42  {
43  public:
47 
54  inline const Aws::String& GetMarker() const{ return m_marker; }
55 
62  inline void SetMarker(const Aws::String& value) { m_marker = value; }
63 
70  inline void SetMarker(Aws::String&& value) { m_marker = value; }
71 
78  inline void SetMarker(const char* value) { m_marker.assign(value); }
79 
86  inline DescribeDBClusterParameterGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
87 
94  inline DescribeDBClusterParameterGroupsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
95 
102  inline DescribeDBClusterParameterGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
103 
107  inline const Aws::Vector<DBClusterParameterGroup>& GetDBClusterParameterGroups() const{ return m_dBClusterParameterGroups; }
108 
112  inline void SetDBClusterParameterGroups(const Aws::Vector<DBClusterParameterGroup>& value) { m_dBClusterParameterGroups = value; }
113 
117  inline void SetDBClusterParameterGroups(Aws::Vector<DBClusterParameterGroup>&& value) { m_dBClusterParameterGroups = value; }
118 
122  inline DescribeDBClusterParameterGroupsResult& WithDBClusterParameterGroups(const Aws::Vector<DBClusterParameterGroup>& value) { SetDBClusterParameterGroups(value); return *this;}
123 
127  inline DescribeDBClusterParameterGroupsResult& WithDBClusterParameterGroups(Aws::Vector<DBClusterParameterGroup>&& value) { SetDBClusterParameterGroups(value); return *this;}
128 
132  inline DescribeDBClusterParameterGroupsResult& AddDBClusterParameterGroups(const DBClusterParameterGroup& value) { m_dBClusterParameterGroups.push_back(value); return *this; }
133 
137  inline DescribeDBClusterParameterGroupsResult& AddDBClusterParameterGroups(DBClusterParameterGroup&& value) { m_dBClusterParameterGroups.push_back(value); return *this; }
138 
139 
140  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
141 
142 
143  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
144 
145 
146  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
147 
148 
149  inline DescribeDBClusterParameterGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
150 
151 
152  inline DescribeDBClusterParameterGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
153 
154  private:
155  Aws::String m_marker;
156  Aws::Vector<DBClusterParameterGroup> m_dBClusterParameterGroups;
157  ResponseMetadata m_responseMetadata;
158  };
159 
160 } // namespace Model
161 } // namespace RDS
162 } // namespace Aws
void SetDBClusterParameterGroups(const Aws::Vector< DBClusterParameterGroup > &value)
DescribeDBClusterParameterGroupsResult & AddDBClusterParameterGroups(const DBClusterParameterGroup &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBClusterParameterGroupsResult & WithMarker(const char *value)
DescribeDBClusterParameterGroupsResult & WithMarker(const Aws::String &value)
DescribeDBClusterParameterGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeDBClusterParameterGroupsResult & WithDBClusterParameterGroups(Aws::Vector< DBClusterParameterGroup > &&value)
DescribeDBClusterParameterGroupsResult & AddDBClusterParameterGroups(DBClusterParameterGroup &&value)
DescribeDBClusterParameterGroupsResult & WithMarker(Aws::String &&value)
void SetDBClusterParameterGroups(Aws::Vector< DBClusterParameterGroup > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Vector< DBClusterParameterGroup > & GetDBClusterParameterGroups() const
DescribeDBClusterParameterGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeDBClusterParameterGroupsResult & WithDBClusterParameterGroups(const Aws::Vector< DBClusterParameterGroup > &value)
JSON (JavaScript Object Notation).