7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
47 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
49 m_scheduleDefinitionsHasBeenSet =
true;
50 m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value);
52 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
57 template <
typename ScheduleDefinitionsT = Aws::String>
59 m_scheduleDefinitionsHasBeenSet =
true;
60 m_scheduleDefinitions.emplace_back(std::forward<ScheduleDefinitionsT>(value));
70 template <
typename ScheduleIdentifierT = Aws::String>
72 m_scheduleIdentifierHasBeenSet =
true;
73 m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value);
75 template <
typename ScheduleIdentifierT = Aws::String>
87 template <
typename ScheduleDescriptionT = Aws::String>
89 m_scheduleDescriptionHasBeenSet =
true;
90 m_scheduleDescription = std::forward<ScheduleDescriptionT>(value);
92 template <
typename ScheduleDescriptionT = Aws::String>
104 template <
typename TagsT = Aws::Vector<Tag>>
106 m_tagsHasBeenSet =
true;
107 m_tags = std::forward<TagsT>(value);
109 template <
typename TagsT = Aws::Vector<Tag>>
111 SetTags(std::forward<TagsT>(value));
114 template <
typename TagsT = Tag>
116 m_tagsHasBeenSet =
true;
117 m_tags.emplace_back(std::forward<TagsT>(value));
127 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
129 m_nextInvocationsHasBeenSet =
true;
130 m_nextInvocations = std::forward<NextInvocationsT>(value);
132 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
137 template <
typename NextInvocationsT = Aws::Utils::DateTime>
139 m_nextInvocationsHasBeenSet =
true;
140 m_nextInvocations.emplace_back(std::forward<NextInvocationsT>(value));
151 m_associatedClusterCountHasBeenSet =
true;
152 m_associatedClusterCount = value;
166 template <
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
168 m_associatedClustersHasBeenSet =
true;
169 m_associatedClusters = std::forward<AssociatedClustersT>(value);
171 template <
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
176 template <
typename AssociatedClustersT = ClusterAssociatedToSchedule>
178 m_associatedClustersHasBeenSet =
true;
179 m_associatedClusters.emplace_back(std::forward<AssociatedClustersT>(value));
187 template <
typename ResponseMetadataT = ResponseMetadata>
189 m_responseMetadataHasBeenSet =
true;
190 m_responseMetadata = std::forward<ResponseMetadataT>(value);
192 template <
typename ResponseMetadataT = ResponseMetadata>
211 int m_associatedClusterCount{0};
215 ResponseMetadata m_responseMetadata;
217 bool m_scheduleDefinitionsHasBeenSet =
false;
218 bool m_scheduleIdentifierHasBeenSet =
false;
219 bool m_scheduleDescriptionHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
221 bool m_nextInvocationsHasBeenSet =
false;
222 bool m_associatedClusterCountHasBeenSet =
false;
223 bool m_associatedClustersHasBeenSet =
false;
224 bool m_responseMetadataHasBeenSet =
false;
ModifySnapshotScheduleResult & WithTags(TagsT &&value)
ModifySnapshotScheduleResult & WithScheduleDescription(ScheduleDescriptionT &&value)
ModifySnapshotScheduleResult & WithAssociatedClusterCount(int value)
ModifySnapshotScheduleResult & WithNextInvocations(NextInvocationsT &&value)
void SetAssociatedClusters(AssociatedClustersT &&value)
const Aws::String & GetScheduleDescription() const
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< Tag > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ModifySnapshotScheduleResult & WithAssociatedClusters(AssociatedClustersT &&value)
void SetTags(TagsT &&value)
void SetScheduleIdentifier(ScheduleIdentifierT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
int GetAssociatedClusterCount() const
AWS_REDSHIFT_API ModifySnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetScheduleDefinitions(ScheduleDefinitionsT &&value)
ModifySnapshotScheduleResult & WithScheduleDefinitions(ScheduleDefinitionsT &&value)
ModifySnapshotScheduleResult & AddAssociatedClusters(AssociatedClustersT &&value)
const Aws::String & GetScheduleIdentifier() const
void SetAssociatedClusterCount(int value)
ModifySnapshotScheduleResult & AddTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
AWS_REDSHIFT_API ModifySnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifySnapshotScheduleResult & WithResponseMetadata(ResponseMetadataT &&value)
ModifySnapshotScheduleResult & AddNextInvocations(NextInvocationsT &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
const Aws::Vector< ClusterAssociatedToSchedule > & GetAssociatedClusters() const
ModifySnapshotScheduleResult & AddScheduleDefinitions(ScheduleDefinitionsT &&value)
void SetNextInvocations(NextInvocationsT &&value)
void SetScheduleDescription(ScheduleDescriptionT &&value)
AWS_REDSHIFT_API ModifySnapshotScheduleResult()=default
ModifySnapshotScheduleResult & WithScheduleIdentifier(ScheduleIdentifierT &&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