AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeSnapshotSchedulesRequest.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/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Redshift {
16namespace Model {
17
21 public:
22 AWS_REDSHIFT_API DescribeSnapshotSchedulesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeSnapshotSchedules"; }
29
30 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
41 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
42 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
43 template <typename ClusterIdentifierT = Aws::String>
44 void SetClusterIdentifier(ClusterIdentifierT&& value) {
45 m_clusterIdentifierHasBeenSet = true;
46 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
47 }
48 template <typename ClusterIdentifierT = Aws::String>
50 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetScheduleIdentifier() const { return m_scheduleIdentifier; }
60 inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; }
61 template <typename ScheduleIdentifierT = Aws::String>
62 void SetScheduleIdentifier(ScheduleIdentifierT&& value) {
63 m_scheduleIdentifierHasBeenSet = true;
64 m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value);
65 }
66 template <typename ScheduleIdentifierT = Aws::String>
68 SetScheduleIdentifier(std::forward<ScheduleIdentifierT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
78 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
79 template <typename TagKeysT = Aws::Vector<Aws::String>>
80 void SetTagKeys(TagKeysT&& value) {
81 m_tagKeysHasBeenSet = true;
82 m_tagKeys = std::forward<TagKeysT>(value);
83 }
84 template <typename TagKeysT = Aws::Vector<Aws::String>>
86 SetTagKeys(std::forward<TagKeysT>(value));
87 return *this;
88 }
89 template <typename TagKeysT = Aws::String>
91 m_tagKeysHasBeenSet = true;
92 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
102 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
103 template <typename TagValuesT = Aws::Vector<Aws::String>>
104 void SetTagValues(TagValuesT&& value) {
105 m_tagValuesHasBeenSet = true;
106 m_tagValues = std::forward<TagValuesT>(value);
107 }
108 template <typename TagValuesT = Aws::Vector<Aws::String>>
110 SetTagValues(std::forward<TagValuesT>(value));
111 return *this;
112 }
113 template <typename TagValuesT = Aws::String>
115 m_tagValuesHasBeenSet = true;
116 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
117 return *this;
118 }
120
122
130 inline const Aws::String& GetMarker() const { return m_marker; }
131 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
132 template <typename MarkerT = Aws::String>
133 void SetMarker(MarkerT&& value) {
134 m_markerHasBeenSet = true;
135 m_marker = std::forward<MarkerT>(value);
136 }
137 template <typename MarkerT = Aws::String>
139 SetMarker(std::forward<MarkerT>(value));
140 return *this;
141 }
143
145
152 inline int GetMaxRecords() const { return m_maxRecords; }
153 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
154 inline void SetMaxRecords(int value) {
155 m_maxRecordsHasBeenSet = true;
156 m_maxRecords = value;
157 }
159 SetMaxRecords(value);
160 return *this;
161 }
163 private:
164 Aws::String m_clusterIdentifier;
165
166 Aws::String m_scheduleIdentifier;
167
168 Aws::Vector<Aws::String> m_tagKeys;
169
170 Aws::Vector<Aws::String> m_tagValues;
171
172 Aws::String m_marker;
173
174 int m_maxRecords{0};
175 bool m_clusterIdentifierHasBeenSet = false;
176 bool m_scheduleIdentifierHasBeenSet = false;
177 bool m_tagKeysHasBeenSet = false;
178 bool m_tagValuesHasBeenSet = false;
179 bool m_markerHasBeenSet = false;
180 bool m_maxRecordsHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace Redshift
185} // namespace Aws
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(ScheduleIdentifierT &&value)
DescribeSnapshotSchedulesRequest & WithTagKeys(TagKeysT &&value)
DescribeSnapshotSchedulesRequest & WithTagValues(TagValuesT &&value)
DescribeSnapshotSchedulesRequest & AddTagValues(TagValuesT &&value)
DescribeSnapshotSchedulesRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeSnapshotSchedulesRequest & AddTagKeys(TagKeysT &&value)
AWS_REDSHIFT_API DescribeSnapshotSchedulesRequest()=default
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector