AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClustersResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/Cluster.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 Redshift
27{
28namespace Model
29{
37 {
38 public:
39 AWS_REDSHIFT_API DescribeClustersResult();
42
43
45
53 inline const Aws::String& GetMarker() const{ return m_marker; }
54 inline void SetMarker(const Aws::String& value) { m_marker = value; }
55 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
56 inline void SetMarker(const char* value) { m_marker.assign(value); }
57 inline DescribeClustersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
58 inline DescribeClustersResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
59 inline DescribeClustersResult& WithMarker(const char* value) { SetMarker(value); return *this;}
61
63
67 inline const Aws::Vector<Cluster>& GetClusters() const{ return m_clusters; }
68 inline void SetClusters(const Aws::Vector<Cluster>& value) { m_clusters = value; }
69 inline void SetClusters(Aws::Vector<Cluster>&& value) { m_clusters = std::move(value); }
70 inline DescribeClustersResult& WithClusters(const Aws::Vector<Cluster>& value) { SetClusters(value); return *this;}
71 inline DescribeClustersResult& WithClusters(Aws::Vector<Cluster>&& value) { SetClusters(std::move(value)); return *this;}
72 inline DescribeClustersResult& AddClusters(const Cluster& value) { m_clusters.push_back(value); return *this; }
73 inline DescribeClustersResult& AddClusters(Cluster&& value) { m_clusters.push_back(std::move(value)); return *this; }
75
77
78 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
80 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
82 inline DescribeClustersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_marker;
87
88 Aws::Vector<Cluster> m_clusters;
89
90 ResponseMetadata m_responseMetadata;
91 };
92
93} // namespace Model
94} // namespace Redshift
95} // namespace Aws
DescribeClustersResult & WithMarker(Aws::String &&value)
DescribeClustersResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_REDSHIFT_API DescribeClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClustersResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_REDSHIFT_API DescribeClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetClusters(Aws::Vector< Cluster > &&value)
DescribeClustersResult & AddClusters(const Cluster &value)
DescribeClustersResult & AddClusters(Cluster &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeClustersResult & WithClusters(const Aws::Vector< Cluster > &value)
void SetClusters(const Aws::Vector< Cluster > &value)
DescribeClustersResult & WithMarker(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
DescribeClustersResult & WithClusters(Aws::Vector< Cluster > &&value)
DescribeClustersResult & WithMarker(const char *value)
const Aws::Vector< Cluster > & GetClusters() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument