AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeDBClustersResult.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 {
37  {
38  public:
42 
43 
48  inline const Aws::String& GetMarker() const{ return m_marker; }
49 
54  inline void SetMarker(const Aws::String& value) { m_marker = value; }
55 
60  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
61 
66  inline void SetMarker(const char* value) { m_marker.assign(value); }
67 
72  inline DescribeDBClustersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
73 
78  inline DescribeDBClustersResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
79 
84  inline DescribeDBClustersResult& WithMarker(const char* value) { SetMarker(value); return *this;}
85 
86 
90  inline const Aws::Vector<DBCluster>& GetDBClusters() const{ return m_dBClusters; }
91 
95  inline void SetDBClusters(const Aws::Vector<DBCluster>& value) { m_dBClusters = value; }
96 
100  inline void SetDBClusters(Aws::Vector<DBCluster>&& value) { m_dBClusters = std::move(value); }
101 
105  inline DescribeDBClustersResult& WithDBClusters(const Aws::Vector<DBCluster>& value) { SetDBClusters(value); return *this;}
106 
110  inline DescribeDBClustersResult& WithDBClusters(Aws::Vector<DBCluster>&& value) { SetDBClusters(std::move(value)); return *this;}
111 
115  inline DescribeDBClustersResult& AddDBClusters(const DBCluster& value) { m_dBClusters.push_back(value); return *this; }
116 
120  inline DescribeDBClustersResult& AddDBClusters(DBCluster&& value) { m_dBClusters.push_back(std::move(value)); return *this; }
121 
122 
123 
124  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
125 
126 
127  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
128 
129 
130  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
131 
132 
133  inline DescribeDBClustersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
134 
135 
136  inline DescribeDBClustersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
137 
138  private:
139 
140  Aws::String m_marker;
141 
142  Aws::Vector<DBCluster> m_dBClusters;
143 
144  ResponseMetadata m_responseMetadata;
145  };
146 
147 } // namespace Model
148 } // namespace RDS
149 } // namespace Aws
Aws::RDS::Model::DescribeDBClustersResult::WithResponseMetadata
DescribeDBClustersResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBClustersResult.h:133
Aws::RDS::Model::DescribeDBClustersResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBClustersResult.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeDBClustersResult::GetDBClusters
const Aws::Vector< DBCluster > & GetDBClusters() const
Definition: DescribeDBClustersResult.h:90
Aws::RDS::Model::DescribeDBClustersResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBClustersResult.h:127
DBCluster.h
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBClustersResult::operator=
DescribeDBClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBClustersResult::WithDBClusters
DescribeDBClustersResult & WithDBClusters(const Aws::Vector< DBCluster > &value)
Definition: DescribeDBClustersResult.h:105
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::DescribeDBClustersResult::WithResponseMetadata
DescribeDBClustersResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBClustersResult.h:136
AWSVector.h
Aws::RDS::Model::DescribeDBClustersResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBClustersResult.h:130
Aws::RDS::Model::DescribeDBClustersResult
Definition: DescribeDBClustersResult.h:37
Aws::RDS::Model::DescribeDBClustersResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBClustersResult.h:54
Aws::RDS::Model::DescribeDBClustersResult::SetDBClusters
void SetDBClusters(const Aws::Vector< DBCluster > &value)
Definition: DescribeDBClustersResult.h:95
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBClustersResult::DescribeDBClustersResult
DescribeDBClustersResult()
Aws::RDS::Model::DescribeDBClustersResult::WithMarker
DescribeDBClustersResult & WithMarker(Aws::String &&value)
Definition: DescribeDBClustersResult.h:78
Aws::RDS::Model::DescribeDBClustersResult::WithDBClusters
DescribeDBClustersResult & WithDBClusters(Aws::Vector< DBCluster > &&value)
Definition: DescribeDBClustersResult.h:110
Aws::RDS::Model::DescribeDBClustersResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBClustersResult.h:124
AWSString.h
Aws::RDS::Model::DescribeDBClustersResult::AddDBClusters
DescribeDBClustersResult & AddDBClusters(const DBCluster &value)
Definition: DescribeDBClustersResult.h:115
Aws::RDS::Model::DescribeDBClustersResult::SetDBClusters
void SetDBClusters(Aws::Vector< DBCluster > &&value)
Definition: DescribeDBClustersResult.h:100
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBClustersResult::WithMarker
DescribeDBClustersResult & WithMarker(const Aws::String &value)
Definition: DescribeDBClustersResult.h:72
Aws::RDS::Model::DescribeDBClustersResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBClustersResult.h:66
Aws::RDS::Model::DBCluster
Definition: DBCluster.h:48
Aws::RDS::Model::DescribeDBClustersResult::AddDBClusters
DescribeDBClustersResult & AddDBClusters(DBCluster &&value)
Definition: DescribeDBClustersResult.h:120
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::DescribeDBClustersResult::WithMarker
DescribeDBClustersResult & WithMarker(const char *value)
Definition: DescribeDBClustersResult.h:84
Aws::RDS::Model::DescribeDBClustersResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBClustersResult.h:48
Aws::RDS::Model::DescribeDBClustersResult::DescribeDBClustersResult
DescribeDBClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)