7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/redshift/model/Tag.h>
48 template<
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
49 void SetScheduleDefinitions(ScheduleDefinitionsT&& value) { m_scheduleDefinitionsHasBeenSet =
true; m_scheduleDefinitions = std::forward<ScheduleDefinitionsT>(value); }
50 template<
typename ScheduleDefinitionsT = Aws::Vector<Aws::String>>
52 template<
typename ScheduleDefinitionsT = Aws::String>
63 template<
typename ScheduleIdentifierT = Aws::String>
64 void SetScheduleIdentifier(ScheduleIdentifierT&& value) { m_scheduleIdentifierHasBeenSet =
true; m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value); }
65 template<
typename ScheduleIdentifierT = Aws::String>
75 template<
typename ScheduleDescriptionT = Aws::String>
76 void SetScheduleDescription(ScheduleDescriptionT&& value) { m_scheduleDescriptionHasBeenSet =
true; m_scheduleDescription = std::forward<ScheduleDescriptionT>(value); }
77 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>
101 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
111 inline void SetNextInvocations(
int value) { m_nextInvocationsHasBeenSet =
true; m_nextInvocations = value; }
117 bool m_scheduleDefinitionsHasBeenSet =
false;
120 bool m_scheduleIdentifierHasBeenSet =
false;
123 bool m_scheduleDescriptionHasBeenSet =
false;
126 bool m_tagsHasBeenSet =
false;
128 bool m_dryRun{
false};
129 bool m_dryRunHasBeenSet =
false;
131 int m_nextInvocations{0};
132 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