AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClusterSnapshotsResult.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/Snapshot.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 DescribeClusterSnapshotsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
58 inline DescribeClusterSnapshotsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
59 inline DescribeClusterSnapshotsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
61
63
66 inline const Aws::Vector<Snapshot>& GetSnapshots() const{ return m_snapshots; }
67 inline void SetSnapshots(const Aws::Vector<Snapshot>& value) { m_snapshots = value; }
68 inline void SetSnapshots(Aws::Vector<Snapshot>&& value) { m_snapshots = std::move(value); }
70 inline DescribeClusterSnapshotsResult& WithSnapshots(Aws::Vector<Snapshot>&& value) { SetSnapshots(std::move(value)); return *this;}
71 inline DescribeClusterSnapshotsResult& AddSnapshots(const Snapshot& value) { m_snapshots.push_back(value); return *this; }
72 inline DescribeClusterSnapshotsResult& AddSnapshots(Snapshot&& value) { m_snapshots.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<Snapshot> m_snapshots;
88
89 ResponseMetadata m_responseMetadata;
90 };
91
92} // namespace Model
93} // namespace Redshift
94} // namespace Aws
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
Aws::Utils::Xml::XmlDocument XmlDocument