AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribeSnapshotSchedulesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/SnapshotSchedule.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift {
25namespace Model {
27 public:
28 AWS_REDSHIFT_API DescribeSnapshotSchedulesResult() = default;
31
33
36 inline const Aws::Vector<SnapshotSchedule>& GetSnapshotSchedules() const { return m_snapshotSchedules; }
37 template <typename SnapshotSchedulesT = Aws::Vector<SnapshotSchedule>>
38 void SetSnapshotSchedules(SnapshotSchedulesT&& value) {
39 m_snapshotSchedulesHasBeenSet = true;
40 m_snapshotSchedules = std::forward<SnapshotSchedulesT>(value);
41 }
42 template <typename SnapshotSchedulesT = Aws::Vector<SnapshotSchedule>>
44 SetSnapshotSchedules(std::forward<SnapshotSchedulesT>(value));
45 return *this;
46 }
47 template <typename SnapshotSchedulesT = SnapshotSchedule>
49 m_snapshotSchedulesHasBeenSet = true;
50 m_snapshotSchedules.emplace_back(std::forward<SnapshotSchedulesT>(value));
51 return *this;
52 }
54
56
64 inline const Aws::String& GetMarker() const { return m_marker; }
65 template <typename MarkerT = Aws::String>
66 void SetMarker(MarkerT&& value) {
67 m_markerHasBeenSet = true;
68 m_marker = std::forward<MarkerT>(value);
69 }
70 template <typename MarkerT = Aws::String>
72 SetMarker(std::forward<MarkerT>(value));
73 return *this;
74 }
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
80 template <typename ResponseMetadataT = ResponseMetadata>
81 void SetResponseMetadata(ResponseMetadataT&& value) {
82 m_responseMetadataHasBeenSet = true;
83 m_responseMetadata = std::forward<ResponseMetadataT>(value);
84 }
85 template <typename ResponseMetadataT = ResponseMetadata>
87 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<SnapshotSchedule> m_snapshotSchedules;
93
94 Aws::String m_marker;
95
96 ResponseMetadata m_responseMetadata;
97 bool m_snapshotSchedulesHasBeenSet = false;
98 bool m_markerHasBeenSet = false;
99 bool m_responseMetadataHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Redshift
104} // 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