AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeSnapshotSchedulesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ResponseMetadata.h>
12#include <aws/redshift/model/SnapshotSchedule.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift {
26namespace Model {
28 public:
29 AWS_REDSHIFT_API DescribeSnapshotSchedulesResult() = default;
32
34
37 inline const Aws::Vector<SnapshotSchedule>& GetSnapshotSchedules() const { return m_snapshotSchedules; }
38 template <typename SnapshotSchedulesT = Aws::Vector<SnapshotSchedule>>
39 void SetSnapshotSchedules(SnapshotSchedulesT&& value) {
40 m_snapshotSchedulesHasBeenSet = true;
41 m_snapshotSchedules = std::forward<SnapshotSchedulesT>(value);
42 }
43 template <typename SnapshotSchedulesT = Aws::Vector<SnapshotSchedule>>
45 SetSnapshotSchedules(std::forward<SnapshotSchedulesT>(value));
46 return *this;
47 }
48 template <typename SnapshotSchedulesT = SnapshotSchedule>
50 m_snapshotSchedulesHasBeenSet = true;
51 m_snapshotSchedules.emplace_back(std::forward<SnapshotSchedulesT>(value));
52 return *this;
53 }
55
57
65 inline const Aws::String& GetMarker() const { return m_marker; }
66 template <typename MarkerT = Aws::String>
67 void SetMarker(MarkerT&& value) {
68 m_markerHasBeenSet = true;
69 m_marker = std::forward<MarkerT>(value);
70 }
71 template <typename MarkerT = Aws::String>
73 SetMarker(std::forward<MarkerT>(value));
74 return *this;
75 }
77
79
80 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
81 template <typename ResponseMetadataT = ResponseMetadata>
82 void SetResponseMetadata(ResponseMetadataT&& value) {
83 m_responseMetadataHasBeenSet = true;
84 m_responseMetadata = std::forward<ResponseMetadataT>(value);
85 }
86 template <typename ResponseMetadataT = ResponseMetadata>
88 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
89 return *this;
90 }
92 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
93
94 private:
95 Aws::Vector<SnapshotSchedule> m_snapshotSchedules;
96
97 Aws::String m_marker;
98
99 ResponseMetadata m_responseMetadata;
100 Aws::Http::HttpResponseCode m_HttpResponseCode;
101 bool m_snapshotSchedulesHasBeenSet = false;
102 bool m_markerHasBeenSet = false;
103 bool m_responseMetadataHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Redshift
108} // namespace Aws
const Aws::Vector< SnapshotSchedule > & GetSnapshotSchedules() const
DescribeSnapshotSchedulesResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeSnapshotSchedulesResult & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API DescribeSnapshotSchedulesResult()=default
DescribeSnapshotSchedulesResult & AddSnapshotSchedules(SnapshotSchedulesT &&value)
DescribeSnapshotSchedulesResult & WithSnapshotSchedules(SnapshotSchedulesT &&value)
AWS_REDSHIFT_API DescribeSnapshotSchedulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API DescribeSnapshotSchedulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument