7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/ClusterAssociatedToSchedule.h>
13#include <aws/redshift/model/ResponseMetadata.h>
14#include <aws/redshift/model/Tag.h>
49 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
51 m_scheduleDefinitionsHasBeenSet =
true;
52 m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value);
54 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
59 template <
typename ScheduleDefinitionsT = Aws::String>
61 m_scheduleDefinitionsHasBeenSet =
true;
62 m_scheduleDefinitions.emplace_back(std::forward<ScheduleDefinitionsT>(value));
73 template <
typename ScheduleIdentifierT = Aws::String>
75 m_scheduleIdentifierHasBeenSet =
true;
76 m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value);
78 template <
typename ScheduleIdentifierT = Aws::String>
91 template <
typename ScheduleDescriptionT = Aws::String>
93 m_scheduleDescriptionHasBeenSet =
true;
94 m_scheduleDescription = std::forward<ScheduleDescriptionT>(value);
96 template <
typename ScheduleDescriptionT = Aws::String>
109 template <
typename TagsT = Aws::Vector<Tag>>
111 m_tagsHasBeenSet =
true;
112 m_tags = std::forward<TagsT>(value);
114 template <
typename TagsT = Aws::Vector<Tag>>
116 SetTags(std::forward<TagsT>(value));
119 template <
typename TagsT = Tag>
121 m_tagsHasBeenSet =
true;
122 m_tags.emplace_back(std::forward<TagsT>(value));
133 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
135 m_nextInvocationsHasBeenSet =
true;
136 m_nextInvocations = std::forward<NextInvocationsT>(value);
138 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
143 template <
typename NextInvocationsT = Aws::Utils::DateTime>
145 m_nextInvocationsHasBeenSet =
true;
146 m_nextInvocations.emplace_back(std::forward<NextInvocationsT>(value));
158 m_associatedClusterCountHasBeenSet =
true;
159 m_associatedClusterCount = value;
174 template <
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
176 m_associatedClustersHasBeenSet =
true;
177 m_associatedClusters = std::forward<AssociatedClustersT>(value);
179 template <
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
184 template <
typename AssociatedClustersT = ClusterAssociatedToSchedule>
186 m_associatedClustersHasBeenSet =
true;
187 m_associatedClusters.emplace_back(std::forward<AssociatedClustersT>(value));
195 template <
typename ResponseMetadataT = ResponseMetadata>
197 m_responseMetadataHasBeenSet =
true;
198 m_responseMetadata = std::forward<ResponseMetadataT>(value);
200 template <
typename ResponseMetadataT = ResponseMetadata>
217 int m_associatedClusterCount{0};
221 ResponseMetadata m_responseMetadata;
222 bool m_scheduleDefinitionsHasBeenSet =
false;
223 bool m_scheduleIdentifierHasBeenSet =
false;
224 bool m_scheduleDescriptionHasBeenSet =
false;
225 bool m_tagsHasBeenSet =
false;
226 bool m_nextInvocationsHasBeenSet =
false;
227 bool m_associatedClusterCountHasBeenSet =
false;
228 bool m_associatedClustersHasBeenSet =
false;
229 bool m_responseMetadataHasBeenSet =
true;
AWS_REDSHIFT_API SnapshotSchedule()=default
void SetResponseMetadata(ResponseMetadataT &&value)
SnapshotSchedule & WithNextInvocations(NextInvocationsT &&value)
const Aws::String & GetScheduleIdentifier() const
SnapshotSchedule & WithAssociatedClusterCount(int value)
SnapshotSchedule & WithTags(TagsT &&value)
void SetScheduleDefinitions(ScheduleDefinitionsT &&value)
bool ScheduleDescriptionHasBeenSet() const
SnapshotSchedule & WithResponseMetadata(ResponseMetadataT &&value)
bool AssociatedClustersHasBeenSet() const
SnapshotSchedule & WithScheduleIdentifier(ScheduleIdentifierT &&value)
void SetTags(TagsT &&value)
AWS_REDSHIFT_API SnapshotSchedule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Tag > & GetTags() const
SnapshotSchedule & WithScheduleDefinitions(ScheduleDefinitionsT &&value)
bool ScheduleDefinitionsHasBeenSet() const
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
void SetScheduleDescription(ScheduleDescriptionT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API SnapshotSchedule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAssociatedClusters(AssociatedClustersT &&value)
void SetScheduleIdentifier(ScheduleIdentifierT &&value)
const Aws::Vector< ClusterAssociatedToSchedule > & GetAssociatedClusters() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotSchedule & AddAssociatedClusters(AssociatedClustersT &&value)
void SetNextInvocations(NextInvocationsT &&value)
int GetAssociatedClusterCount() const
SnapshotSchedule & AddNextInvocations(NextInvocationsT &&value)
const ResponseMetadata & GetResponseMetadata() const
SnapshotSchedule & WithScheduleDescription(ScheduleDescriptionT &&value)
void SetAssociatedClusterCount(int value)
const Aws::String & GetScheduleDescription() const
SnapshotSchedule & AddScheduleDefinitions(ScheduleDefinitionsT &&value)
bool ScheduleIdentifierHasBeenSet() const
bool NextInvocationsHasBeenSet() const
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
SnapshotSchedule & WithAssociatedClusters(AssociatedClustersT &&value)
bool AssociatedClusterCountHasBeenSet() const
bool TagsHasBeenSet() const
SnapshotSchedule & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream