AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
39 AWS_REDSHIFT_API DescribeClusterSnapshotsResult() = default;
42
43
45
53 inline const Aws::String& GetMarker() const { return m_marker; }
54 template<typename MarkerT = Aws::String>
55 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
56 template<typename MarkerT = Aws::String>
57 DescribeClusterSnapshotsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
59
61
64 inline const Aws::Vector<Snapshot>& GetSnapshots() const { return m_snapshots; }
65 template<typename SnapshotsT = Aws::Vector<Snapshot>>
66 void SetSnapshots(SnapshotsT&& value) { m_snapshotsHasBeenSet = true; m_snapshots = std::forward<SnapshotsT>(value); }
67 template<typename SnapshotsT = Aws::Vector<Snapshot>>
68 DescribeClusterSnapshotsResult& WithSnapshots(SnapshotsT&& value) { SetSnapshots(std::forward<SnapshotsT>(value)); return *this;}
69 template<typename SnapshotsT = Snapshot>
70 DescribeClusterSnapshotsResult& AddSnapshots(SnapshotsT&& value) { m_snapshotsHasBeenSet = true; m_snapshots.emplace_back(std::forward<SnapshotsT>(value)); return *this; }
72
74
75 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
76 template<typename ResponseMetadataT = ResponseMetadata>
77 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
78 template<typename ResponseMetadataT = ResponseMetadata>
79 DescribeClusterSnapshotsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
81 private:
82
83 Aws::String m_marker;
84 bool m_markerHasBeenSet = false;
85
86 Aws::Vector<Snapshot> m_snapshots;
87 bool m_snapshotsHasBeenSet = false;
88
89 ResponseMetadata m_responseMetadata;
90 bool m_responseMetadataHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Redshift
95} // namespace Aws
DescribeClusterSnapshotsResult & WithSnapshots(SnapshotsT &&value)
AWS_REDSHIFT_API DescribeClusterSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API DescribeClusterSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API DescribeClusterSnapshotsResult()=default
DescribeClusterSnapshotsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeClusterSnapshotsResult & AddSnapshots(SnapshotsT &&value)
DescribeClusterSnapshotsResult & WithMarker(MarkerT &&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