7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ClusterAssociatedToSchedule.h>
12#include <aws/redshift/model/ResponseMetadata.h>
13#include <aws/redshift/model/Tag.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
46 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
48 m_scheduleDefinitionsHasBeenSet =
true;
49 m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value);
51 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
56 template <
typename ScheduleDefinitionsT = Aws::String>
58 m_scheduleDefinitionsHasBeenSet =
true;
59 m_scheduleDefinitions.emplace_back(std::forward<ScheduleDefinitionsT>(value));
69 template <
typename ScheduleIdentifierT = Aws::String>
71 m_scheduleIdentifierHasBeenSet =
true;
72 m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value);
74 template <
typename ScheduleIdentifierT = Aws::String>
86 template <
typename ScheduleDescriptionT = Aws::String>
88 m_scheduleDescriptionHasBeenSet =
true;
89 m_scheduleDescription = std::forward<ScheduleDescriptionT>(value);
91 template <
typename ScheduleDescriptionT = Aws::String>
103 template <
typename TagsT = Aws::Vector<Tag>>
105 m_tagsHasBeenSet =
true;
106 m_tags = std::forward<TagsT>(value);
108 template <
typename TagsT = Aws::Vector<Tag>>
110 SetTags(std::forward<TagsT>(value));
113 template <
typename TagsT = Tag>
115 m_tagsHasBeenSet =
true;
116 m_tags.emplace_back(std::forward<TagsT>(value));
126 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
128 m_nextInvocationsHasBeenSet =
true;
129 m_nextInvocations = std::forward<NextInvocationsT>(value);
131 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
136 template <
typename NextInvocationsT = Aws::Utils::DateTime>
138 m_nextInvocationsHasBeenSet =
true;
139 m_nextInvocations.emplace_back(std::forward<NextInvocationsT>(value));
150 m_associatedClusterCountHasBeenSet =
true;
151 m_associatedClusterCount = value;
165 template <
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
167 m_associatedClustersHasBeenSet =
true;
168 m_associatedClusters = std::forward<AssociatedClustersT>(value);
170 template <
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
175 template <
typename AssociatedClustersT = ClusterAssociatedToSchedule>
177 m_associatedClustersHasBeenSet =
true;
178 m_associatedClusters.emplace_back(std::forward<AssociatedClustersT>(value));
186 template <
typename ResponseMetadataT = ResponseMetadata>
188 m_responseMetadataHasBeenSet =
true;
189 m_responseMetadata = std::forward<ResponseMetadataT>(value);
191 template <
typename ResponseMetadataT = ResponseMetadata>
208 int m_associatedClusterCount{0};
212 ResponseMetadata m_responseMetadata;
213 bool m_scheduleDefinitionsHasBeenSet =
false;
214 bool m_scheduleIdentifierHasBeenSet =
false;
215 bool m_scheduleDescriptionHasBeenSet =
false;
216 bool m_tagsHasBeenSet =
false;
217 bool m_nextInvocationsHasBeenSet =
false;
218 bool m_associatedClusterCountHasBeenSet =
false;
219 bool m_associatedClustersHasBeenSet =
false;
220 bool m_responseMetadataHasBeenSet =
false;
void SetAssociatedClusterCount(int value)
CreateSnapshotScheduleResult & WithTags(TagsT &&value)
void SetScheduleIdentifier(ScheduleIdentifierT &&value)
AWS_REDSHIFT_API CreateSnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSnapshotScheduleResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateSnapshotScheduleResult & WithScheduleDescription(ScheduleDescriptionT &&value)
void SetScheduleDescription(ScheduleDescriptionT &&value)
AWS_REDSHIFT_API CreateSnapshotScheduleResult()=default
const ResponseMetadata & GetResponseMetadata() const
void SetAssociatedClusters(AssociatedClustersT &&value)
CreateSnapshotScheduleResult & WithScheduleIdentifier(ScheduleIdentifierT &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
const Aws::Vector< Tag > & GetTags() const
void SetResponseMetadata(ResponseMetadataT &&value)
CreateSnapshotScheduleResult & WithAssociatedClusterCount(int value)
CreateSnapshotScheduleResult & WithAssociatedClusters(AssociatedClustersT &&value)
const Aws::String & GetScheduleDescription() const
CreateSnapshotScheduleResult & AddAssociatedClusters(AssociatedClustersT &&value)
const Aws::String & GetScheduleIdentifier() const
void SetScheduleDefinitions(ScheduleDefinitionsT &&value)
CreateSnapshotScheduleResult & WithScheduleDefinitions(ScheduleDefinitionsT &&value)
CreateSnapshotScheduleResult & AddTags(TagsT &&value)
CreateSnapshotScheduleResult & AddNextInvocations(NextInvocationsT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< ClusterAssociatedToSchedule > & GetAssociatedClusters() const
int GetAssociatedClusterCount() const
CreateSnapshotScheduleResult & AddScheduleDefinitions(ScheduleDefinitionsT &&value)
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
void SetNextInvocations(NextInvocationsT &&value)
CreateSnapshotScheduleResult & WithNextInvocations(NextInvocationsT &&value)
AWS_REDSHIFT_API CreateSnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument