AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ModifySnapshotScheduleResult.h
Go to the documentation of this file.
1
6#pragma once
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace Redshift
29{
30namespace Model
31{
40 {
41 public:
45
46
50 inline const Aws::Vector<Aws::String>& GetScheduleDefinitions() const{ return m_scheduleDefinitions; }
51
55 inline void SetScheduleDefinitions(const Aws::Vector<Aws::String>& value) { m_scheduleDefinitions = value; }
56
60 inline void SetScheduleDefinitions(Aws::Vector<Aws::String>&& value) { m_scheduleDefinitions = std::move(value); }
61
66
71
75 inline ModifySnapshotScheduleResult& AddScheduleDefinitions(const Aws::String& value) { m_scheduleDefinitions.push_back(value); return *this; }
76
80 inline ModifySnapshotScheduleResult& AddScheduleDefinitions(Aws::String&& value) { m_scheduleDefinitions.push_back(std::move(value)); return *this; }
81
85 inline ModifySnapshotScheduleResult& AddScheduleDefinitions(const char* value) { m_scheduleDefinitions.push_back(value); return *this; }
86
87
91 inline const Aws::String& GetScheduleIdentifier() const{ return m_scheduleIdentifier; }
92
96 inline void SetScheduleIdentifier(const Aws::String& value) { m_scheduleIdentifier = value; }
97
101 inline void SetScheduleIdentifier(Aws::String&& value) { m_scheduleIdentifier = std::move(value); }
102
106 inline void SetScheduleIdentifier(const char* value) { m_scheduleIdentifier.assign(value); }
107
112
117
121 inline ModifySnapshotScheduleResult& WithScheduleIdentifier(const char* value) { SetScheduleIdentifier(value); return *this;}
122
123
127 inline const Aws::String& GetScheduleDescription() const{ return m_scheduleDescription; }
128
132 inline void SetScheduleDescription(const Aws::String& value) { m_scheduleDescription = value; }
133
137 inline void SetScheduleDescription(Aws::String&& value) { m_scheduleDescription = std::move(value); }
138
142 inline void SetScheduleDescription(const char* value) { m_scheduleDescription.assign(value); }
143
148
153
157 inline ModifySnapshotScheduleResult& WithScheduleDescription(const char* value) { SetScheduleDescription(value); return *this;}
158
159
163 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
164
168 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
169
173 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
174
178 inline ModifySnapshotScheduleResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
179
183 inline ModifySnapshotScheduleResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
184
188 inline ModifySnapshotScheduleResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
189
193 inline ModifySnapshotScheduleResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
194
195
199 inline const Aws::Vector<Aws::Utils::DateTime>& GetNextInvocations() const{ return m_nextInvocations; }
200
204 inline void SetNextInvocations(const Aws::Vector<Aws::Utils::DateTime>& value) { m_nextInvocations = value; }
205
209 inline void SetNextInvocations(Aws::Vector<Aws::Utils::DateTime>&& value) { m_nextInvocations = std::move(value); }
210
215
220
224 inline ModifySnapshotScheduleResult& AddNextInvocations(const Aws::Utils::DateTime& value) { m_nextInvocations.push_back(value); return *this; }
225
229 inline ModifySnapshotScheduleResult& AddNextInvocations(Aws::Utils::DateTime&& value) { m_nextInvocations.push_back(std::move(value)); return *this; }
230
231
235 inline int GetAssociatedClusterCount() const{ return m_associatedClusterCount; }
236
240 inline void SetAssociatedClusterCount(int value) { m_associatedClusterCount = value; }
241
246
247
252 inline const Aws::Vector<ClusterAssociatedToSchedule>& GetAssociatedClusters() const{ return m_associatedClusters; }
253
258 inline void SetAssociatedClusters(const Aws::Vector<ClusterAssociatedToSchedule>& value) { m_associatedClusters = value; }
259
264 inline void SetAssociatedClusters(Aws::Vector<ClusterAssociatedToSchedule>&& value) { m_associatedClusters = std::move(value); }
265
271
277
282 inline ModifySnapshotScheduleResult& AddAssociatedClusters(const ClusterAssociatedToSchedule& value) { m_associatedClusters.push_back(value); return *this; }
283
288 inline ModifySnapshotScheduleResult& AddAssociatedClusters(ClusterAssociatedToSchedule&& value) { m_associatedClusters.push_back(std::move(value)); return *this; }
289
290
291
292 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
293
294
295 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
296
297
298 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
299
300
302
303
305
306 private:
307
308 Aws::Vector<Aws::String> m_scheduleDefinitions;
309
310 Aws::String m_scheduleIdentifier;
311
312 Aws::String m_scheduleDescription;
313
314 Aws::Vector<Tag> m_tags;
315
316 Aws::Vector<Aws::Utils::DateTime> m_nextInvocations;
317
318 int m_associatedClusterCount;
319
320 Aws::Vector<ClusterAssociatedToSchedule> m_associatedClusters;
321
322 ResponseMetadata m_responseMetadata;
323 };
324
325} // namespace Model
326} // namespace Redshift
327} // namespace Aws
#define AWS_REDSHIFT_API
void SetScheduleDefinitions(const Aws::Vector< Aws::String > &value)
ModifySnapshotScheduleResult & WithScheduleDescription(Aws::String &&value)
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
ModifySnapshotScheduleResult & AddAssociatedClusters(const ClusterAssociatedToSchedule &value)
ModifySnapshotScheduleResult & WithAssociatedClusterCount(int value)
void SetAssociatedClusters(Aws::Vector< ClusterAssociatedToSchedule > &&value)
ModifySnapshotScheduleResult & WithTags(const Aws::Vector< Tag > &value)
ModifySnapshotScheduleResult & AddAssociatedClusters(ClusterAssociatedToSchedule &&value)
ModifySnapshotScheduleResult & WithAssociatedClusters(const Aws::Vector< ClusterAssociatedToSchedule > &value)
ModifySnapshotScheduleResult & AddScheduleDefinitions(const Aws::String &value)
void SetAssociatedClusters(const Aws::Vector< ClusterAssociatedToSchedule > &value)
ModifySnapshotScheduleResult & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
AWS_REDSHIFT_API ModifySnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifySnapshotScheduleResult & WithScheduleDefinitions(Aws::Vector< Aws::String > &&value)
ModifySnapshotScheduleResult & WithTags(Aws::Vector< Tag > &&value)
ModifySnapshotScheduleResult & WithScheduleIdentifier(const Aws::String &value)
ModifySnapshotScheduleResult & WithScheduleDescription(const Aws::String &value)
ModifySnapshotScheduleResult & AddScheduleDefinitions(Aws::String &&value)
ModifySnapshotScheduleResult & WithScheduleIdentifier(Aws::String &&value)
ModifySnapshotScheduleResult & WithAssociatedClusters(Aws::Vector< ClusterAssociatedToSchedule > &&value)
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
ModifySnapshotScheduleResult & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
AWS_REDSHIFT_API ModifySnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetScheduleDefinitions(Aws::Vector< Aws::String > &&value)
ModifySnapshotScheduleResult & WithScheduleDescription(const char *value)
ModifySnapshotScheduleResult & AddNextInvocations(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
ModifySnapshotScheduleResult & WithScheduleIdentifier(const char *value)
const Aws::Vector< ClusterAssociatedToSchedule > & GetAssociatedClusters() const
ModifySnapshotScheduleResult & AddTags(Tag &&value)
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
ModifySnapshotScheduleResult & AddNextInvocations(Aws::Utils::DateTime &&value)
ModifySnapshotScheduleResult & WithResponseMetadata(ResponseMetadata &&value)
ModifySnapshotScheduleResult & WithScheduleDefinitions(const Aws::Vector< Aws::String > &value)
ModifySnapshotScheduleResult & AddTags(const Tag &value)
ModifySnapshotScheduleResult & WithResponseMetadata(const ResponseMetadata &value)
ModifySnapshotScheduleResult & AddScheduleDefinitions(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector