AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClusterVersionsResult.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/ClusterVersion.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:
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 DescribeClusterVersionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
58 inline DescribeClusterVersionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
59 inline DescribeClusterVersionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
61
63
66 inline const Aws::Vector<ClusterVersion>& GetClusterVersions() const{ return m_clusterVersions; }
67 inline void SetClusterVersions(const Aws::Vector<ClusterVersion>& value) { m_clusterVersions = value; }
68 inline void SetClusterVersions(Aws::Vector<ClusterVersion>&& value) { m_clusterVersions = std::move(value); }
71 inline DescribeClusterVersionsResult& AddClusterVersions(const ClusterVersion& value) { m_clusterVersions.push_back(value); return *this; }
72 inline DescribeClusterVersionsResult& AddClusterVersions(ClusterVersion&& value) { m_clusterVersions.push_back(std::move(value)); return *this; }
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
78 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
79 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
83 private:
84
85 Aws::String m_marker;
86
87 Aws::Vector<ClusterVersion> m_clusterVersions;
88
89 ResponseMetadata m_responseMetadata;
90 };
91
92} // namespace Model
93} // namespace Redshift
94} // namespace Aws
AWS_REDSHIFT_API DescribeClusterVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterVersionsResult & WithMarker(const char *value)
DescribeClusterVersionsResult & WithResponseMetadata(const ResponseMetadata &value)
void SetClusterVersions(const Aws::Vector< ClusterVersion > &value)
DescribeClusterVersionsResult & WithClusterVersions(const Aws::Vector< ClusterVersion > &value)
void SetClusterVersions(Aws::Vector< ClusterVersion > &&value)
DescribeClusterVersionsResult & AddClusterVersions(ClusterVersion &&value)
DescribeClusterVersionsResult & WithMarker(Aws::String &&value)
DescribeClusterVersionsResult & AddClusterVersions(const ClusterVersion &value)
const Aws::Vector< ClusterVersion > & GetClusterVersions() const
AWS_REDSHIFT_API DescribeClusterVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterVersionsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeClusterVersionsResult & WithClusterVersions(Aws::Vector< ClusterVersion > &&value)
DescribeClusterVersionsResult & WithMarker(const Aws::String &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