AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeSnapshotSchedulesResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/SnapshotSchedule.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{
31 {
32 public:
33 AWS_REDSHIFT_API DescribeSnapshotSchedulesResult() = default;
36
37
39
42 inline const Aws::Vector<SnapshotSchedule>& GetSnapshotSchedules() const { return m_snapshotSchedules; }
43 template<typename SnapshotSchedulesT = Aws::Vector<SnapshotSchedule>>
44 void SetSnapshotSchedules(SnapshotSchedulesT&& value) { m_snapshotSchedulesHasBeenSet = true; m_snapshotSchedules = std::forward<SnapshotSchedulesT>(value); }
45 template<typename SnapshotSchedulesT = Aws::Vector<SnapshotSchedule>>
46 DescribeSnapshotSchedulesResult& WithSnapshotSchedules(SnapshotSchedulesT&& value) { SetSnapshotSchedules(std::forward<SnapshotSchedulesT>(value)); return *this;}
47 template<typename SnapshotSchedulesT = SnapshotSchedule>
48 DescribeSnapshotSchedulesResult& AddSnapshotSchedules(SnapshotSchedulesT&& value) { m_snapshotSchedulesHasBeenSet = true; m_snapshotSchedules.emplace_back(std::forward<SnapshotSchedulesT>(value)); return *this; }
50
52
60 inline const Aws::String& GetMarker() const { return m_marker; }
61 template<typename MarkerT = Aws::String>
62 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
63 template<typename MarkerT = Aws::String>
64 DescribeSnapshotSchedulesResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
66
68
69 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
70 template<typename ResponseMetadataT = ResponseMetadata>
71 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
72 template<typename ResponseMetadataT = ResponseMetadata>
73 DescribeSnapshotSchedulesResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
75 private:
76
77 Aws::Vector<SnapshotSchedule> m_snapshotSchedules;
78 bool m_snapshotSchedulesHasBeenSet = false;
79
80 Aws::String m_marker;
81 bool m_markerHasBeenSet = false;
82
83 ResponseMetadata m_responseMetadata;
84 bool m_responseMetadataHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Redshift
89} // 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