7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ScheduledActionType.h>
11#include <aws/redshift/model/ScheduledActionState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/redshift/model/ResponseMetadata.h>
58 inline void SetScheduledActionName(
const char* value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName.assign(value); }
95 inline void SetSchedule(
const char* value) { m_scheduleHasBeenSet =
true; m_schedule.assign(value); }
116 inline void SetIamRole(
const char* value) { m_iamRoleHasBeenSet =
true; m_iamRole.assign(value); }
199 bool m_scheduledActionNameHasBeenSet =
false;
202 bool m_targetActionHasBeenSet =
false;
205 bool m_scheduleHasBeenSet =
false;
208 bool m_iamRoleHasBeenSet =
false;
211 bool m_scheduledActionDescriptionHasBeenSet =
false;
214 bool m_stateHasBeenSet =
false;
217 bool m_nextInvocationsHasBeenSet =
false;
220 bool m_startTimeHasBeenSet =
false;
223 bool m_endTimeHasBeenSet =
false;
void SetIamRole(const Aws::String &value)
void SetSchedule(Aws::String &&value)
bool ScheduledActionDescriptionHasBeenSet() const
ScheduledAction & WithIamRole(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
ScheduledAction & WithEndTime(const Aws::Utils::DateTime &value)
void SetTargetAction(const ScheduledActionType &value)
bool NextInvocationsHasBeenSet() const
void SetResponseMetadata(ResponseMetadata &&value)
bool IamRoleHasBeenSet() const
ScheduledAction & WithSchedule(Aws::String &&value)
const ScheduledActionState & GetState() const
ScheduledAction & WithIamRole(const Aws::String &value)
void SetIamRole(const char *value)
ScheduledAction & WithResponseMetadata(ResponseMetadata &&value)
ScheduledAction & WithResponseMetadata(const ResponseMetadata &value)
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetScheduledActionName(const char *value)
ScheduledAction & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
ScheduledAction & WithIamRole(Aws::String &&value)
ScheduledAction & WithScheduledActionName(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
void SetIamRole(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ScheduledAction & AddNextInvocations(Aws::Utils::DateTime &&value)
bool EndTimeHasBeenSet() const
void SetSchedule(const char *value)
ScheduledAction & WithScheduledActionName(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetScheduledActionDescription(const Aws::String &value)
void SetScheduledActionName(Aws::String &&value)
void SetSchedule(const Aws::String &value)
const Aws::String & GetSchedule() const
void SetTargetAction(ScheduledActionType &&value)
void SetState(const ScheduledActionState &value)
ScheduledAction & WithTargetAction(ScheduledActionType &&value)
void SetScheduledActionName(const Aws::String &value)
ScheduledAction & WithState(ScheduledActionState &&value)
bool ScheduleHasBeenSet() const
ScheduledAction & AddNextInvocations(const Aws::Utils::DateTime &value)
void SetState(ScheduledActionState &&value)
ScheduledAction & WithScheduledActionDescription(const Aws::String &value)
ScheduledAction & WithTargetAction(const ScheduledActionType &value)
AWS_REDSHIFT_API ScheduledAction()
AWS_REDSHIFT_API ScheduledAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const ScheduledActionType & GetTargetAction() const
void SetEndTime(Aws::Utils::DateTime &&value)
ScheduledAction & WithStartTime(const Aws::Utils::DateTime &value)
ScheduledAction & WithSchedule(const Aws::String &value)
void SetScheduledActionDescription(const char *value)
bool StartTimeHasBeenSet() const
ScheduledAction & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetIamRole() const
bool StateHasBeenSet() const
void SetScheduledActionDescription(Aws::String &&value)
ScheduledAction & WithScheduledActionDescription(Aws::String &&value)
ScheduledAction & WithState(const ScheduledActionState &value)
bool ScheduledActionNameHasBeenSet() const
void SetResponseMetadata(const ResponseMetadata &value)
bool TargetActionHasBeenSet() const
AWS_REDSHIFT_API ScheduledAction(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetScheduledActionDescription() const
const Aws::String & GetScheduledActionName() const
ScheduledAction & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const ResponseMetadata & GetResponseMetadata() const
const Aws::Utils::DateTime & GetEndTime() const
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
ScheduledAction & WithEndTime(Aws::Utils::DateTime &&value)
ScheduledAction & WithScheduledActionDescription(const char *value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
ScheduledAction & WithSchedule(const char *value)
ScheduledAction & WithScheduledActionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream