AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDBClusterSnapshotsResult.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 
55  inline const Aws::String& GetMarker() const{ return m_marker; }
56 
63  inline void SetMarker(const Aws::String& value) { m_marker = value; }
64 
71  inline void SetMarker(Aws::String&& value) { m_marker = value; }
72 
79  inline void SetMarker(const char* value) { m_marker.assign(value); }
80 
87  inline DescribeDBClusterSnapshotsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
88 
95  inline DescribeDBClusterSnapshotsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
96 
103  inline DescribeDBClusterSnapshotsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
104 
108  inline const Aws::Vector<DBClusterSnapshot>& GetDBClusterSnapshots() const{ return m_dBClusterSnapshots; }
109 
113  inline void SetDBClusterSnapshots(const Aws::Vector<DBClusterSnapshot>& value) { m_dBClusterSnapshots = value; }
114 
118  inline void SetDBClusterSnapshots(Aws::Vector<DBClusterSnapshot>&& value) { m_dBClusterSnapshots = value; }
119 
123  inline DescribeDBClusterSnapshotsResult& WithDBClusterSnapshots(const Aws::Vector<DBClusterSnapshot>& value) { SetDBClusterSnapshots(value); return *this;}
124 
128  inline DescribeDBClusterSnapshotsResult& WithDBClusterSnapshots(Aws::Vector<DBClusterSnapshot>&& value) { SetDBClusterSnapshots(value); return *this;}
129 
133  inline DescribeDBClusterSnapshotsResult& AddDBClusterSnapshots(const DBClusterSnapshot& value) { m_dBClusterSnapshots.push_back(value); return *this; }
134 
138  inline DescribeDBClusterSnapshotsResult& AddDBClusterSnapshots(DBClusterSnapshot&& value) { m_dBClusterSnapshots.push_back(value); return *this; }
139 
140 
141  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
142 
143 
144  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
145 
146 
147  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
148 
149 
150  inline DescribeDBClusterSnapshotsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
151 
152 
153  inline DescribeDBClusterSnapshotsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
154 
155  private:
156  Aws::String m_marker;
157  Aws::Vector<DBClusterSnapshot> m_dBClusterSnapshots;
158  ResponseMetadata m_responseMetadata;
159  };
160 
161 } // namespace Model
162 } // namespace RDS
163 } // namespace Aws
DescribeDBClusterSnapshotsResult & WithMarker(const Aws::String &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
DescribeDBClusterSnapshotsResult & WithMarker(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBClusterSnapshotsResult & WithMarker(Aws::String &&value)
DescribeDBClusterSnapshotsResult & AddDBClusterSnapshots(DBClusterSnapshot &&value)
const Aws::Vector< DBClusterSnapshot > & GetDBClusterSnapshots() const
DescribeDBClusterSnapshotsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeDBClusterSnapshotsResult & WithDBClusterSnapshots(Aws::Vector< DBClusterSnapshot > &&value)
DescribeDBClusterSnapshotsResult & WithDBClusterSnapshots(const Aws::Vector< DBClusterSnapshot > &value)
DescribeDBClusterSnapshotsResult & WithResponseMetadata(ResponseMetadata &&value)
void SetDBClusterSnapshots(const Aws::Vector< DBClusterSnapshot > &value)
void SetDBClusterSnapshots(Aws::Vector< DBClusterSnapshot > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClusterSnapshotsResult & AddDBClusterSnapshots(const DBClusterSnapshot &value)
JSON (JavaScript Object Notation).