AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDBClustersResult.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 {
43  {
44  public:
48 
53  inline const Aws::String& GetMarker() const{ return m_marker; }
54 
59  inline void SetMarker(const Aws::String& value) { m_marker = value; }
60 
65  inline void SetMarker(Aws::String&& value) { m_marker = value; }
66 
71  inline void SetMarker(const char* value) { m_marker.assign(value); }
72 
77  inline DescribeDBClustersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 
83  inline DescribeDBClustersResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
84 
89  inline DescribeDBClustersResult& WithMarker(const char* value) { SetMarker(value); return *this;}
90 
94  inline const Aws::Vector<DBCluster>& GetDBClusters() const{ return m_dBClusters; }
95 
99  inline void SetDBClusters(const Aws::Vector<DBCluster>& value) { m_dBClusters = value; }
100 
104  inline void SetDBClusters(Aws::Vector<DBCluster>&& value) { m_dBClusters = value; }
105 
109  inline DescribeDBClustersResult& WithDBClusters(const Aws::Vector<DBCluster>& value) { SetDBClusters(value); return *this;}
110 
114  inline DescribeDBClustersResult& WithDBClusters(Aws::Vector<DBCluster>&& value) { SetDBClusters(value); return *this;}
115 
119  inline DescribeDBClustersResult& AddDBClusters(const DBCluster& value) { m_dBClusters.push_back(value); return *this; }
120 
124  inline DescribeDBClustersResult& AddDBClusters(DBCluster&& value) { m_dBClusters.push_back(value); return *this; }
125 
126 
127  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
128 
129 
130  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
131 
132 
133  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
134 
135 
136  inline DescribeDBClustersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
137 
138 
139  inline DescribeDBClustersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
140 
141  private:
142  Aws::String m_marker;
143  Aws::Vector<DBCluster> m_dBClusters;
144  ResponseMetadata m_responseMetadata;
145  };
146 
147 } // namespace Model
148 } // namespace RDS
149 } // namespace Aws
DescribeDBClustersResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeDBClustersResult & WithResponseMetadata(ResponseMetadata &&value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
void SetResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBClustersResult & WithMarker(const Aws::String &value)
DescribeDBClustersResult & WithMarker(const char *value)
const Aws::Vector< DBCluster > & GetDBClusters() const
DescribeDBClustersResult & AddDBClusters(const DBCluster &value)
void SetDBClusters(Aws::Vector< DBCluster > &&value)
void SetDBClusters(const Aws::Vector< DBCluster > &value)
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClustersResult & WithDBClusters(Aws::Vector< DBCluster > &&value)
DescribeDBClustersResult & WithMarker(Aws::String &&value)
JSON (JavaScript Object Notation).
DescribeDBClustersResult & WithDBClusters(const Aws::Vector< DBCluster > &value)
DescribeDBClustersResult & AddDBClusters(DBCluster &&value)