AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeClusterSnapshotsResult.h
Go to the documentation of this file.
1
6#pragma once
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
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 DescribeClusterSnapshotsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
93
102 inline DescribeClusterSnapshotsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
103
112 inline DescribeClusterSnapshotsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
113
114
118 inline const Aws::Vector<Snapshot>& GetSnapshots() const{ return m_snapshots; }
119
123 inline void SetSnapshots(const Aws::Vector<Snapshot>& value) { m_snapshots = value; }
124
128 inline void SetSnapshots(Aws::Vector<Snapshot>&& value) { m_snapshots = std::move(value); }
129
134
138 inline DescribeClusterSnapshotsResult& WithSnapshots(Aws::Vector<Snapshot>&& value) { SetSnapshots(std::move(value)); return *this;}
139
143 inline DescribeClusterSnapshotsResult& AddSnapshots(const Snapshot& value) { m_snapshots.push_back(value); return *this; }
144
148 inline DescribeClusterSnapshotsResult& AddSnapshots(Snapshot&& value) { m_snapshots.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
162
163
165
166 private:
167
168 Aws::String m_marker;
169
170 Aws::Vector<Snapshot> m_snapshots;
171
172 ResponseMetadata m_responseMetadata;
173 };
174
175} // namespace Model
176} // namespace Redshift
177} // namespace Aws
#define AWS_REDSHIFT_API
DescribeClusterSnapshotsResult & AddSnapshots(const Snapshot &value)
DescribeClusterSnapshotsResult & WithMarker(const char *value)
AWS_REDSHIFT_API DescribeClusterSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterSnapshotsResult & WithMarker(const Aws::String &value)
DescribeClusterSnapshotsResult & WithSnapshots(Aws::Vector< Snapshot > &&value)
AWS_REDSHIFT_API DescribeClusterSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeClusterSnapshotsResult & AddSnapshots(Snapshot &&value)
DescribeClusterSnapshotsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeClusterSnapshotsResult & WithMarker(Aws::String &&value)
DescribeClusterSnapshotsResult & WithSnapshots(const Aws::Vector< Snapshot > &value)
DescribeClusterSnapshotsResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector