AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBClustersResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/model/ResponseMetadata.h>
11#include <aws/rds/model/DBCluster.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace RDS
27{
28namespace Model
29{
37 {
38 public:
42
43
45
49 inline const Aws::String& GetMarker() const{ return m_marker; }
50 inline void SetMarker(const Aws::String& value) { m_marker = value; }
51 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
52 inline void SetMarker(const char* value) { m_marker.assign(value); }
53 inline DescribeDBClustersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
54 inline DescribeDBClustersResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
55 inline DescribeDBClustersResult& WithMarker(const char* value) { SetMarker(value); return *this;}
57
59
62 inline const Aws::Vector<DBCluster>& GetDBClusters() const{ return m_dBClusters; }
63 inline void SetDBClusters(const Aws::Vector<DBCluster>& value) { m_dBClusters = value; }
64 inline void SetDBClusters(Aws::Vector<DBCluster>&& value) { m_dBClusters = std::move(value); }
65 inline DescribeDBClustersResult& WithDBClusters(const Aws::Vector<DBCluster>& value) { SetDBClusters(value); return *this;}
66 inline DescribeDBClustersResult& WithDBClusters(Aws::Vector<DBCluster>&& value) { SetDBClusters(std::move(value)); return *this;}
67 inline DescribeDBClustersResult& AddDBClusters(const DBCluster& value) { m_dBClusters.push_back(value); return *this; }
68 inline DescribeDBClustersResult& AddDBClusters(DBCluster&& value) { m_dBClusters.push_back(std::move(value)); return *this; }
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 inline DescribeDBClustersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_marker;
82
83 Aws::Vector<DBCluster> m_dBClusters;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace RDS
90} // namespace Aws
DescribeDBClustersResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< DBCluster > & GetDBClusters() const
DescribeDBClustersResult & WithDBClusters(Aws::Vector< DBCluster > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeDBClustersResult & WithMarker(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
DescribeDBClustersResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_RDS_API DescribeDBClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API DescribeDBClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDBClustersResult & WithMarker(const Aws::String &value)
DescribeDBClustersResult & WithDBClusters(const Aws::Vector< DBCluster > &value)
void SetDBClusters(const Aws::Vector< DBCluster > &value)
void SetDBClusters(Aws::Vector< DBCluster > &&value)
DescribeDBClustersResult & AddDBClusters(DBCluster &&value)
DescribeDBClustersResult & WithMarker(const char *value)
DescribeDBClustersResult & AddDBClusters(const DBCluster &value)
void SetResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument