AWS SDK for C++  1.9.103
AWS SDK for C++
ModifySnapshotScheduleResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/redshift/model/Tag.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlDocument;
26 } // namespace Xml
27 } // namespace Utils
28 namespace Redshift
29 {
30 namespace 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 
65  inline ModifySnapshotScheduleResult& WithScheduleDefinitions(const Aws::Vector<Aws::String>& value) { SetScheduleDefinitions(value); return *this;}
66 
70  inline ModifySnapshotScheduleResult& WithScheduleDefinitions(Aws::Vector<Aws::String>&& value) { SetScheduleDefinitions(std::move(value)); return *this;}
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 
111  inline ModifySnapshotScheduleResult& WithScheduleIdentifier(const Aws::String& value) { SetScheduleIdentifier(value); return *this;}
112 
116  inline ModifySnapshotScheduleResult& WithScheduleIdentifier(Aws::String&& value) { SetScheduleIdentifier(std::move(value)); return *this;}
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 
147  inline ModifySnapshotScheduleResult& WithScheduleDescription(const Aws::String& value) { SetScheduleDescription(value); return *this;}
148 
152  inline ModifySnapshotScheduleResult& WithScheduleDescription(Aws::String&& value) { SetScheduleDescription(std::move(value)); return *this;}
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 
214  inline ModifySnapshotScheduleResult& WithNextInvocations(const Aws::Vector<Aws::Utils::DateTime>& value) { SetNextInvocations(value); return *this;}
215 
219  inline ModifySnapshotScheduleResult& WithNextInvocations(Aws::Vector<Aws::Utils::DateTime>&& value) { SetNextInvocations(std::move(value)); return *this;}
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 
245  inline ModifySnapshotScheduleResult& WithAssociatedClusterCount(int value) { SetAssociatedClusterCount(value); return *this;}
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 
270  inline ModifySnapshotScheduleResult& WithAssociatedClusters(const Aws::Vector<ClusterAssociatedToSchedule>& value) { SetAssociatedClusters(value); return *this;}
271 
276  inline ModifySnapshotScheduleResult& WithAssociatedClusters(Aws::Vector<ClusterAssociatedToSchedule>&& value) { SetAssociatedClusters(std::move(value)); return *this;}
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 
301  inline ModifySnapshotScheduleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
302 
303 
304  inline ModifySnapshotScheduleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
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
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::Tag
Definition: Tag.h:33
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddAssociatedClusters
ModifySnapshotScheduleResult & AddAssociatedClusters(ClusterAssociatedToSchedule &&value)
Definition: ModifySnapshotScheduleResult.h:288
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithResponseMetadata
ModifySnapshotScheduleResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifySnapshotScheduleResult.h:301
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetScheduleDefinitions
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
Definition: ModifySnapshotScheduleResult.h:50
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetAssociatedClusterCount
void SetAssociatedClusterCount(int value)
Definition: ModifySnapshotScheduleResult.h:240
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddScheduleDefinitions
ModifySnapshotScheduleResult & AddScheduleDefinitions(Aws::String &&value)
Definition: ModifySnapshotScheduleResult.h:80
DateTime.h
Tag.h
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleDescription
ModifySnapshotScheduleResult & WithScheduleDescription(const char *value)
Definition: ModifySnapshotScheduleResult.h:157
Aws::Redshift::Model::ModifySnapshotScheduleResult::operator=
ModifySnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleDescription
ModifySnapshotScheduleResult & WithScheduleDescription(const Aws::String &value)
Definition: ModifySnapshotScheduleResult.h:147
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetAssociatedClusterCount
int GetAssociatedClusterCount() const
Definition: ModifySnapshotScheduleResult.h:235
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetNextInvocations
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
Definition: ModifySnapshotScheduleResult.h:204
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetAssociatedClusters
const Aws::Vector< ClusterAssociatedToSchedule > & GetAssociatedClusters() const
Definition: ModifySnapshotScheduleResult.h:252
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetAssociatedClusters
void SetAssociatedClusters(const Aws::Vector< ClusterAssociatedToSchedule > &value)
Definition: ModifySnapshotScheduleResult.h:258
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithAssociatedClusters
ModifySnapshotScheduleResult & WithAssociatedClusters(Aws::Vector< ClusterAssociatedToSchedule > &&value)
Definition: ModifySnapshotScheduleResult.h:276
AWSVector.h
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleIdentifier
ModifySnapshotScheduleResult & WithScheduleIdentifier(const Aws::String &value)
Definition: ModifySnapshotScheduleResult.h:111
Aws::Redshift::Model::ClusterAssociatedToSchedule
Definition: ClusterAssociatedToSchedule.h:33
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleIdentifier
void SetScheduleIdentifier(const Aws::String &value)
Definition: ModifySnapshotScheduleResult.h:96
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleDescription
void SetScheduleDescription(const Aws::String &value)
Definition: ModifySnapshotScheduleResult.h:132
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddScheduleDefinitions
ModifySnapshotScheduleResult & AddScheduleDefinitions(const char *value)
Definition: ModifySnapshotScheduleResult.h:85
ClusterAssociatedToSchedule.h
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithAssociatedClusterCount
ModifySnapshotScheduleResult & WithAssociatedClusterCount(int value)
Definition: ModifySnapshotScheduleResult.h:245
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleDescription
ModifySnapshotScheduleResult & WithScheduleDescription(Aws::String &&value)
Definition: ModifySnapshotScheduleResult.h:152
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleIdentifier
ModifySnapshotScheduleResult & WithScheduleIdentifier(Aws::String &&value)
Definition: ModifySnapshotScheduleResult.h:116
Aws::Redshift::Model::ModifySnapshotScheduleResult::ModifySnapshotScheduleResult
ModifySnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleDescription
void SetScheduleDescription(Aws::String &&value)
Definition: ModifySnapshotScheduleResult.h:137
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleIdentifier
ModifySnapshotScheduleResult & WithScheduleIdentifier(const char *value)
Definition: ModifySnapshotScheduleResult.h:121
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifySnapshotScheduleResult.h:298
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleIdentifier
void SetScheduleIdentifier(Aws::String &&value)
Definition: ModifySnapshotScheduleResult.h:101
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleDefinitions
ModifySnapshotScheduleResult & WithScheduleDefinitions(Aws::Vector< Aws::String > &&value)
Definition: ModifySnapshotScheduleResult.h:70
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithScheduleDefinitions
ModifySnapshotScheduleResult & WithScheduleDefinitions(const Aws::Vector< Aws::String > &value)
Definition: ModifySnapshotScheduleResult.h:65
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithNextInvocations
ModifySnapshotScheduleResult & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
Definition: ModifySnapshotScheduleResult.h:214
AWSString.h
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetScheduleDescription
const Aws::String & GetScheduleDescription() const
Definition: ModifySnapshotScheduleResult.h:127
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithNextInvocations
ModifySnapshotScheduleResult & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
Definition: ModifySnapshotScheduleResult.h:219
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetAssociatedClusters
void SetAssociatedClusters(Aws::Vector< ClusterAssociatedToSchedule > &&value)
Definition: ModifySnapshotScheduleResult.h:264
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ModifySnapshotScheduleResult.h:173
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddNextInvocations
ModifySnapshotScheduleResult & AddNextInvocations(const Aws::Utils::DateTime &value)
Definition: ModifySnapshotScheduleResult.h:224
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddTags
ModifySnapshotScheduleResult & AddTags(Tag &&value)
Definition: ModifySnapshotScheduleResult.h:193
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithTags
ModifySnapshotScheduleResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ModifySnapshotScheduleResult.h:178
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddAssociatedClusters
ModifySnapshotScheduleResult & AddAssociatedClusters(const ClusterAssociatedToSchedule &value)
Definition: ModifySnapshotScheduleResult.h:282
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifySnapshotScheduleResult.h:295
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleDefinitions
void SetScheduleDefinitions(const Aws::Vector< Aws::String > &value)
Definition: ModifySnapshotScheduleResult.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetNextInvocations
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
Definition: ModifySnapshotScheduleResult.h:199
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithTags
ModifySnapshotScheduleResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ModifySnapshotScheduleResult.h:183
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleDescription
void SetScheduleDescription(const char *value)
Definition: ModifySnapshotScheduleResult.h:142
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddNextInvocations
ModifySnapshotScheduleResult & AddNextInvocations(Aws::Utils::DateTime &&value)
Definition: ModifySnapshotScheduleResult.h:229
Aws::Redshift::Model::ModifySnapshotScheduleResult::ModifySnapshotScheduleResult
ModifySnapshotScheduleResult()
Aws::Redshift::Model::ModifySnapshotScheduleResult
Definition: ModifySnapshotScheduleResult.h:40
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleDefinitions
void SetScheduleDefinitions(Aws::Vector< Aws::String > &&value)
Definition: ModifySnapshotScheduleResult.h:60
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ModifySnapshotScheduleResult.h:168
ResponseMetadata.h
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifySnapshotScheduleResult.h:292
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetNextInvocations
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
Definition: ModifySnapshotScheduleResult.h:209
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddScheduleDefinitions
ModifySnapshotScheduleResult & AddScheduleDefinitions(const Aws::String &value)
Definition: ModifySnapshotScheduleResult.h:75
Aws::Redshift::Model::ModifySnapshotScheduleResult::SetScheduleIdentifier
void SetScheduleIdentifier(const char *value)
Definition: ModifySnapshotScheduleResult.h:106
Aws::Redshift::Model::ModifySnapshotScheduleResult::AddTags
ModifySnapshotScheduleResult & AddTags(const Tag &value)
Definition: ModifySnapshotScheduleResult.h:188
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetScheduleIdentifier
const Aws::String & GetScheduleIdentifier() const
Definition: ModifySnapshotScheduleResult.h:91
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithAssociatedClusters
ModifySnapshotScheduleResult & WithAssociatedClusters(const Aws::Vector< ClusterAssociatedToSchedule > &value)
Definition: ModifySnapshotScheduleResult.h:270
Aws::Redshift::Model::ModifySnapshotScheduleResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ModifySnapshotScheduleResult.h:163
Aws::Redshift::Model::ModifySnapshotScheduleResult::WithResponseMetadata
ModifySnapshotScheduleResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifySnapshotScheduleResult.h:304