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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
52 template<
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
53 void SetScheduleDefinitions(ScheduleDefinitionsT&& value) { m_scheduleDefinitionsHasBeenSet =
true; m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value); }
54 template<
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
56 template<
typename ScheduleDefinitionsT = Aws::String>
65 template<
typename ScheduleIdentifierT = Aws::String>
66 void SetScheduleIdentifier(ScheduleIdentifierT&& value) { m_scheduleIdentifierHasBeenSet =
true; m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value); }
67 template<
typename ScheduleIdentifierT = Aws::String>
76 template<
typename ScheduleDescriptionT = Aws::String>
77 void SetScheduleDescription(ScheduleDescriptionT&& value) { m_scheduleDescriptionHasBeenSet =
true; m_scheduleDescription = std::forward<ScheduleDescriptionT>(value); }
78 template<
typename ScheduleDescriptionT = Aws::String>
87 template<
typename TagsT = Aws::Vector<Tag>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
89 template<
typename TagsT = Aws::Vector<Tag>>
91 template<
typename TagsT = Tag>
100 template<
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
101 void SetNextInvocations(NextInvocationsT&& value) { m_nextInvocationsHasBeenSet =
true; m_nextInvocations = std::forward<NextInvocationsT>(value); }
102 template<
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
104 template<
typename NextInvocationsT = Aws::Utils::DateTime>
123 template<
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
124 void SetAssociatedClusters(AssociatedClustersT&& value) { m_associatedClustersHasBeenSet =
true; m_associatedClusters = std::forward<AssociatedClustersT>(value); }
125 template<
typename AssociatedClustersT = Aws::Vector<ClusterAssociatedToSchedule>>
127 template<
typename AssociatedClustersT = ClusterAssociatedToSchedule>
134 template<
typename ResponseMetadataT = ResponseMetadata>
135 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
136 template<
typename ResponseMetadataT = ResponseMetadata>
142 bool m_scheduleDefinitionsHasBeenSet =
false;
145 bool m_scheduleIdentifierHasBeenSet =
false;
148 bool m_scheduleDescriptionHasBeenSet =
false;
151 bool m_tagsHasBeenSet =
false;
154 bool m_nextInvocationsHasBeenSet =
false;
156 int m_associatedClusterCount{0};
157 bool m_associatedClusterCountHasBeenSet =
false;
160 bool m_associatedClustersHasBeenSet =
false;
162 ResponseMetadata m_responseMetadata;
163 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