7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Tag.h>
44 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
46 m_scheduleDefinitionsHasBeenSet =
true;
47 m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value);
49 template <
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
54 template <
typename ScheduleDefinitionsT = Aws::String>
56 m_scheduleDefinitionsHasBeenSet =
true;
57 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>
87 template <
typename ScheduleDescriptionT = Aws::String>
89 m_scheduleDescriptionHasBeenSet =
true;
90 m_scheduleDescription = std::forward<ScheduleDescriptionT>(value);
92 template <
typename ScheduleDescriptionT = Aws::String>
105 template <
typename TagsT = Aws::Vector<Tag>>
107 m_tagsHasBeenSet =
true;
108 m_tags = std::forward<TagsT>(value);
110 template <
typename TagsT = Aws::Vector<Tag>>
112 SetTags(std::forward<TagsT>(value));
115 template <
typename TagsT = Tag>
117 m_tagsHasBeenSet =
true;
118 m_tags.emplace_back(std::forward<TagsT>(value));
130 m_dryRunHasBeenSet =
true;
146 m_nextInvocationsHasBeenSet =
true;
147 m_nextInvocations = value;
163 bool m_dryRun{
false};
165 int m_nextInvocations{0};
166 bool m_scheduleDefinitionsHasBeenSet =
false;
167 bool m_scheduleIdentifierHasBeenSet =
false;
168 bool m_scheduleDescriptionHasBeenSet =
false;
169 bool m_tagsHasBeenSet =
false;
170 bool m_dryRunHasBeenSet =
false;
171 bool m_nextInvocationsHasBeenSet =
false;
bool ScheduleIdentifierHasBeenSet() const
void SetTags(TagsT &&value)
void SetScheduleDescription(ScheduleDescriptionT &&value)
CreateSnapshotScheduleRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
bool NextInvocationsHasBeenSet() const
const Aws::Vector< Aws::String > & GetScheduleDefinitions() const
bool ScheduleDescriptionHasBeenSet() const
CreateSnapshotScheduleRequest & WithScheduleDefinitions(ScheduleDefinitionsT &&value)
CreateSnapshotScheduleRequest & WithScheduleIdentifier(ScheduleIdentifierT &&value)
bool DryRunHasBeenSet() const
bool TagsHasBeenSet() const
CreateSnapshotScheduleRequest & WithDryRun(bool value)
bool ScheduleDefinitionsHasBeenSet() const
AWS_REDSHIFT_API CreateSnapshotScheduleRequest()=default
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetScheduleIdentifier(ScheduleIdentifierT &&value)
int GetNextInvocations() const
const Aws::Vector< Tag > & GetTags() const
CreateSnapshotScheduleRequest & WithTags(TagsT &&value)
CreateSnapshotScheduleRequest & WithScheduleDescription(ScheduleDescriptionT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetNextInvocations(int value)
const Aws::String & GetScheduleDescription() const
CreateSnapshotScheduleRequest & WithNextInvocations(int value)
CreateSnapshotScheduleRequest & AddScheduleDefinitions(ScheduleDefinitionsT &&value)
const Aws::String & GetScheduleIdentifier() const
void SetScheduleDefinitions(ScheduleDefinitionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector