AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSnapshotScheduleResult.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/Tag.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/redshift/model/ClusterAssociatedToSchedule.h>
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:
42 AWS_REDSHIFT_API CreateSnapshotScheduleResult();
45
46
48
51 inline const Aws::Vector<Aws::String>& GetScheduleDefinitions() const{ return m_scheduleDefinitions; }
52 inline void SetScheduleDefinitions(const Aws::Vector<Aws::String>& value) { m_scheduleDefinitions = value; }
53 inline void SetScheduleDefinitions(Aws::Vector<Aws::String>&& value) { m_scheduleDefinitions = std::move(value); }
56 inline CreateSnapshotScheduleResult& AddScheduleDefinitions(const Aws::String& value) { m_scheduleDefinitions.push_back(value); return *this; }
57 inline CreateSnapshotScheduleResult& AddScheduleDefinitions(Aws::String&& value) { m_scheduleDefinitions.push_back(std::move(value)); return *this; }
58 inline CreateSnapshotScheduleResult& AddScheduleDefinitions(const char* value) { m_scheduleDefinitions.push_back(value); return *this; }
60
62
65 inline const Aws::String& GetScheduleIdentifier() const{ return m_scheduleIdentifier; }
66 inline void SetScheduleIdentifier(const Aws::String& value) { m_scheduleIdentifier = value; }
67 inline void SetScheduleIdentifier(Aws::String&& value) { m_scheduleIdentifier = std::move(value); }
68 inline void SetScheduleIdentifier(const char* value) { m_scheduleIdentifier.assign(value); }
70 inline CreateSnapshotScheduleResult& WithScheduleIdentifier(Aws::String&& value) { SetScheduleIdentifier(std::move(value)); return *this;}
71 inline CreateSnapshotScheduleResult& WithScheduleIdentifier(const char* value) { SetScheduleIdentifier(value); return *this;}
73
75
78 inline const Aws::String& GetScheduleDescription() const{ return m_scheduleDescription; }
79 inline void SetScheduleDescription(const Aws::String& value) { m_scheduleDescription = value; }
80 inline void SetScheduleDescription(Aws::String&& value) { m_scheduleDescription = std::move(value); }
81 inline void SetScheduleDescription(const char* value) { m_scheduleDescription.assign(value); }
84 inline CreateSnapshotScheduleResult& WithScheduleDescription(const char* value) { SetScheduleDescription(value); return *this;}
86
88
91 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
92 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
93 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
94 inline CreateSnapshotScheduleResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
95 inline CreateSnapshotScheduleResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
96 inline CreateSnapshotScheduleResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
97 inline CreateSnapshotScheduleResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::Vector<Aws::Utils::DateTime>& GetNextInvocations() const{ return m_nextInvocations; }
105 inline void SetNextInvocations(const Aws::Vector<Aws::Utils::DateTime>& value) { m_nextInvocations = value; }
106 inline void SetNextInvocations(Aws::Vector<Aws::Utils::DateTime>&& value) { m_nextInvocations = std::move(value); }
109 inline CreateSnapshotScheduleResult& AddNextInvocations(const Aws::Utils::DateTime& value) { m_nextInvocations.push_back(value); return *this; }
110 inline CreateSnapshotScheduleResult& AddNextInvocations(Aws::Utils::DateTime&& value) { m_nextInvocations.push_back(std::move(value)); return *this; }
112
114
117 inline int GetAssociatedClusterCount() const{ return m_associatedClusterCount; }
118 inline void SetAssociatedClusterCount(int value) { m_associatedClusterCount = value; }
121
123
127 inline const Aws::Vector<ClusterAssociatedToSchedule>& GetAssociatedClusters() const{ return m_associatedClusters; }
128 inline void SetAssociatedClusters(const Aws::Vector<ClusterAssociatedToSchedule>& value) { m_associatedClusters = value; }
129 inline void SetAssociatedClusters(Aws::Vector<ClusterAssociatedToSchedule>&& value) { m_associatedClusters = std::move(value); }
132 inline CreateSnapshotScheduleResult& AddAssociatedClusters(const ClusterAssociatedToSchedule& value) { m_associatedClusters.push_back(value); return *this; }
133 inline CreateSnapshotScheduleResult& AddAssociatedClusters(ClusterAssociatedToSchedule&& value) { m_associatedClusters.push_back(std::move(value)); return *this; }
135
137
138 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
139 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
140 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
144 private:
145
146 Aws::Vector<Aws::String> m_scheduleDefinitions;
147
148 Aws::String m_scheduleIdentifier;
149
150 Aws::String m_scheduleDescription;
151
152 Aws::Vector<Tag> m_tags;
153
154 Aws::Vector<Aws::Utils::DateTime> m_nextInvocations;
155
156 int m_associatedClusterCount;
157
158 Aws::Vector<ClusterAssociatedToSchedule> m_associatedClusters;
159
160 ResponseMetadata m_responseMetadata;
161 };
162
163} // namespace Model
164} // namespace Redshift
165} // namespace Aws
CreateSnapshotScheduleResult & WithScheduleDefinitions(const Aws::Vector< Aws::String > &value)
CreateSnapshotScheduleResult & WithAssociatedClusters(Aws::Vector< ClusterAssociatedToSchedule > &&value)
CreateSnapshotScheduleResult & WithScheduleIdentifier(const Aws::String &value)
void SetScheduleDefinitions(Aws::Vector< Aws::String > &&value)
AWS_REDSHIFT_API CreateSnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSnapshotScheduleResult & AddScheduleDefinitions(const Aws::String &value)
CreateSnapshotScheduleResult & WithTags(Aws::Vector< Tag > &&value)
CreateSnapshotScheduleResult & WithScheduleDescription(const Aws::String &value)
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
CreateSnapshotScheduleResult & WithScheduleIdentifier(Aws::String &&value)
CreateSnapshotScheduleResult & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
CreateSnapshotScheduleResult & AddAssociatedClusters(const ClusterAssociatedToSchedule &value)
void SetAssociatedClusters(Aws::Vector< ClusterAssociatedToSchedule > &&value)
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
CreateSnapshotScheduleResult & WithScheduleIdentifier(const char *value)
CreateSnapshotScheduleResult & WithAssociatedClusterCount(int value)
CreateSnapshotScheduleResult & WithAssociatedClusters(const Aws::Vector< ClusterAssociatedToSchedule > &value)
CreateSnapshotScheduleResult & AddScheduleDefinitions(Aws::String &&value)
CreateSnapshotScheduleResult & WithTags(const Aws::Vector< Tag > &value)
CreateSnapshotScheduleResult & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
CreateSnapshotScheduleResult & AddAssociatedClusters(ClusterAssociatedToSchedule &&value)
CreateSnapshotScheduleResult & WithScheduleDescription(const char *value)
void SetAssociatedClusters(const Aws::Vector< ClusterAssociatedToSchedule > &value)
CreateSnapshotScheduleResult & AddScheduleDefinitions(const char *value)
CreateSnapshotScheduleResult & AddNextInvocations(Aws::Utils::DateTime &&value)
const Aws::Vector< ClusterAssociatedToSchedule > & GetAssociatedClusters() const
void SetScheduleDefinitions(const Aws::Vector< Aws::String > &value)
CreateSnapshotScheduleResult & WithScheduleDefinitions(Aws::Vector< Aws::String > &&value)
CreateSnapshotScheduleResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
CreateSnapshotScheduleResult & WithResponseMetadata(const ResponseMetadata &value)
CreateSnapshotScheduleResult & WithScheduleDescription(Aws::String &&value)
CreateSnapshotScheduleResult & AddTags(Tag &&value)
CreateSnapshotScheduleResult & AddTags(const Tag &value)
AWS_REDSHIFT_API CreateSnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSnapshotScheduleResult & AddNextInvocations(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument