AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeClusterVersionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Redshift
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
52  inline const Aws::String& GetMarker() const{ return m_marker; }
53 
62  inline void SetMarker(const Aws::String& value) { m_marker = value; }
63 
72  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
73 
82  inline void SetMarker(const char* value) { m_marker.assign(value); }
83 
92  inline DescribeClusterVersionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
93 
102  inline DescribeClusterVersionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
103 
112  inline DescribeClusterVersionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
113 
114 
118  inline const Aws::Vector<ClusterVersion>& GetClusterVersions() const{ return m_clusterVersions; }
119 
123  inline void SetClusterVersions(const Aws::Vector<ClusterVersion>& value) { m_clusterVersions = value; }
124 
128  inline void SetClusterVersions(Aws::Vector<ClusterVersion>&& value) { m_clusterVersions = std::move(value); }
129 
133  inline DescribeClusterVersionsResult& WithClusterVersions(const Aws::Vector<ClusterVersion>& value) { SetClusterVersions(value); return *this;}
134 
138  inline DescribeClusterVersionsResult& WithClusterVersions(Aws::Vector<ClusterVersion>&& value) { SetClusterVersions(std::move(value)); return *this;}
139 
143  inline DescribeClusterVersionsResult& AddClusterVersions(const ClusterVersion& value) { m_clusterVersions.push_back(value); return *this; }
144 
148  inline DescribeClusterVersionsResult& AddClusterVersions(ClusterVersion&& value) { m_clusterVersions.push_back(std::move(value)); return *this; }
149 
150 
151 
152  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
153 
154 
155  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
156 
157 
158  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
159 
160 
161  inline DescribeClusterVersionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
162 
163 
164  inline DescribeClusterVersionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
165 
166  private:
167 
168  Aws::String m_marker;
169 
170  Aws::Vector<ClusterVersion> m_clusterVersions;
171 
172  ResponseMetadata m_responseMetadata;
173  };
174 
175 } // namespace Model
176 } // namespace Redshift
177 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeClusterVersionsResult::SetClusterVersions
void SetClusterVersions(Aws::Vector< ClusterVersion > &&value)
Definition: DescribeClusterVersionsResult.h:128
Aws::Redshift::Model::DescribeClusterVersionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterVersionsResult.h:62
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeClusterVersionsResult::WithResponseMetadata
DescribeClusterVersionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClusterVersionsResult.h:164
Aws::Redshift::Model::DescribeClusterVersionsResult::SetClusterVersions
void SetClusterVersions(const Aws::Vector< ClusterVersion > &value)
Definition: DescribeClusterVersionsResult.h:123
Aws::Redshift::Model::DescribeClusterVersionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterVersionsResult.h:82
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeClusterVersionsResult::WithMarker
DescribeClusterVersionsResult & WithMarker(const Aws::String &value)
Definition: DescribeClusterVersionsResult.h:92
AWSVector.h
Aws::Redshift::Model::DescribeClusterVersionsResult::WithMarker
DescribeClusterVersionsResult & WithMarker(Aws::String &&value)
Definition: DescribeClusterVersionsResult.h:102
ClusterVersion.h
Aws::Redshift::Model::DescribeClusterVersionsResult::DescribeClusterVersionsResult
DescribeClusterVersionsResult()
Aws::Redshift::Model::DescribeClusterVersionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeClusterVersionsResult.h:152
Aws::Redshift::Model::DescribeClusterVersionsResult::WithClusterVersions
DescribeClusterVersionsResult & WithClusterVersions(const Aws::Vector< ClusterVersion > &value)
Definition: DescribeClusterVersionsResult.h:133
Aws::Redshift::Model::DescribeClusterVersionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterVersionsResult.h:52
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterVersionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClusterVersionsResult.h:158
AWSString.h
Aws::Redshift::Model::DescribeClusterVersionsResult::DescribeClusterVersionsResult
DescribeClusterVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeClusterVersionsResult::AddClusterVersions
DescribeClusterVersionsResult & AddClusterVersions(ClusterVersion &&value)
Definition: DescribeClusterVersionsResult.h:148
Aws::Redshift::Model::DescribeClusterVersionsResult::AddClusterVersions
DescribeClusterVersionsResult & AddClusterVersions(const ClusterVersion &value)
Definition: DescribeClusterVersionsResult.h:143
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeClusterVersionsResult
Definition: DescribeClusterVersionsResult.h:37
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterVersionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClusterVersionsResult.h:155
Aws::Redshift::Model::DescribeClusterVersionsResult::WithClusterVersions
DescribeClusterVersionsResult & WithClusterVersions(Aws::Vector< ClusterVersion > &&value)
Definition: DescribeClusterVersionsResult.h:138
ResponseMetadata.h
Aws::Redshift::Model::DescribeClusterVersionsResult::WithMarker
DescribeClusterVersionsResult & WithMarker(const char *value)
Definition: DescribeClusterVersionsResult.h:112
Aws::Redshift::Model::ClusterVersion
Definition: ClusterVersion.h:33
Aws::Redshift::Model::DescribeClusterVersionsResult::WithResponseMetadata
DescribeClusterVersionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClusterVersionsResult.h:161
Aws::Redshift::Model::DescribeClusterVersionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterVersionsResult.h:72
Aws::Redshift::Model::DescribeClusterVersionsResult::GetClusterVersions
const Aws::Vector< ClusterVersion > & GetClusterVersions() const
Definition: DescribeClusterVersionsResult.h:118
Aws::Redshift::Model::DescribeClusterVersionsResult::operator=
DescribeClusterVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)