AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBClusterSnapshotsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace RDS
27 {
28 namespace Model
29 {
38  {
39  public:
43 
44 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
59  inline void SetMarker(const Aws::String& value) { m_marker = value; }
60 
67  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
68 
75  inline void SetMarker(const char* value) { m_marker.assign(value); }
76 
83  inline DescribeDBClusterSnapshotsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
84 
91  inline DescribeDBClusterSnapshotsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
92 
99  inline DescribeDBClusterSnapshotsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
100 
101 
105  inline const Aws::Vector<DBClusterSnapshot>& GetDBClusterSnapshots() const{ return m_dBClusterSnapshots; }
106 
110  inline void SetDBClusterSnapshots(const Aws::Vector<DBClusterSnapshot>& value) { m_dBClusterSnapshots = value; }
111 
115  inline void SetDBClusterSnapshots(Aws::Vector<DBClusterSnapshot>&& value) { m_dBClusterSnapshots = std::move(value); }
116 
120  inline DescribeDBClusterSnapshotsResult& WithDBClusterSnapshots(const Aws::Vector<DBClusterSnapshot>& value) { SetDBClusterSnapshots(value); return *this;}
121 
125  inline DescribeDBClusterSnapshotsResult& WithDBClusterSnapshots(Aws::Vector<DBClusterSnapshot>&& value) { SetDBClusterSnapshots(std::move(value)); return *this;}
126 
130  inline DescribeDBClusterSnapshotsResult& AddDBClusterSnapshots(const DBClusterSnapshot& value) { m_dBClusterSnapshots.push_back(value); return *this; }
131 
135  inline DescribeDBClusterSnapshotsResult& AddDBClusterSnapshots(DBClusterSnapshot&& value) { m_dBClusterSnapshots.push_back(std::move(value)); return *this; }
136 
137 
138 
139  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
140 
141 
142  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
143 
144 
145  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
146 
147 
148  inline DescribeDBClusterSnapshotsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
149 
150 
151  inline DescribeDBClusterSnapshotsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_marker;
156 
157  Aws::Vector<DBClusterSnapshot> m_dBClusterSnapshots;
158 
159  ResponseMetadata m_responseMetadata;
160  };
161 
162 } // namespace Model
163 } // namespace RDS
164 } // namespace Aws
Aws::RDS::Model::DescribeDBClusterSnapshotsResult
Definition: DescribeDBClusterSnapshotsResult.h:38
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBClusterSnapshotsResult.h:145
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DBClusterSnapshot
Definition: DBClusterSnapshot.h:37
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithDBClusterSnapshots
DescribeDBClusterSnapshotsResult & WithDBClusterSnapshots(const Aws::Vector< DBClusterSnapshot > &value)
Definition: DescribeDBClusterSnapshotsResult.h:120
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::DescribeDBClusterSnapshotsResult
DescribeDBClusterSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetDBClusterSnapshots
void SetDBClusterSnapshots(const Aws::Vector< DBClusterSnapshot > &value)
Definition: DescribeDBClusterSnapshotsResult.h:110
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::GetDBClusterSnapshots
const Aws::Vector< DBClusterSnapshot > & GetDBClusterSnapshots() const
Definition: DescribeDBClusterSnapshotsResult.h:105
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBClusterSnapshotsResult.h:139
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsResult.h:67
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithMarker
DescribeDBClusterSnapshotsResult & WithMarker(const char *value)
Definition: DescribeDBClusterSnapshotsResult.h:99
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::operator=
DescribeDBClusterSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::DescribeDBClusterSnapshotsResult
DescribeDBClusterSnapshotsResult()
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsResult.h:59
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithResponseMetadata
DescribeDBClusterSnapshotsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBClusterSnapshotsResult.h:151
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBClusterSnapshotsResult.h:51
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::AddDBClusterSnapshots
DescribeDBClusterSnapshotsResult & AddDBClusterSnapshots(DBClusterSnapshot &&value)
Definition: DescribeDBClusterSnapshotsResult.h:135
AWSString.h
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::AddDBClusterSnapshots
DescribeDBClusterSnapshotsResult & AddDBClusterSnapshots(const DBClusterSnapshot &value)
Definition: DescribeDBClusterSnapshotsResult.h:130
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithDBClusterSnapshots
DescribeDBClusterSnapshotsResult & WithDBClusterSnapshots(Aws::Vector< DBClusterSnapshot > &&value)
Definition: DescribeDBClusterSnapshotsResult.h:125
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithResponseMetadata
DescribeDBClusterSnapshotsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBClusterSnapshotsResult.h:148
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBClusterSnapshotsResult.h:142
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithMarker
DescribeDBClusterSnapshotsResult & WithMarker(Aws::String &&value)
Definition: DescribeDBClusterSnapshotsResult.h:91
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBClusterSnapshotsResult.h:75
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::SetDBClusterSnapshots
void SetDBClusterSnapshots(Aws::Vector< DBClusterSnapshot > &&value)
Definition: DescribeDBClusterSnapshotsResult.h:115
DBClusterSnapshot.h
Aws::RDS::Model::DescribeDBClusterSnapshotsResult::WithMarker
DescribeDBClusterSnapshotsResult & WithMarker(const Aws::String &value)
Definition: DescribeDBClusterSnapshotsResult.h:83