7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ScheduledActionType.h>
11#include <aws/core/utils/DateTime.h>
49 inline void SetScheduledActionName(
const char* value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName.assign(value); }
78 inline void SetSchedule(
const char* value) { m_scheduleHasBeenSet =
true; m_schedule.assign(value); }
93 inline void SetIamRole(
const char* value) { m_iamRoleHasBeenSet =
true; m_iamRole.assign(value); }
146 inline void SetEnable(
bool value) { m_enableHasBeenSet =
true; m_enable = value; }
152 bool m_scheduledActionNameHasBeenSet =
false;
155 bool m_targetActionHasBeenSet =
false;
158 bool m_scheduleHasBeenSet =
false;
161 bool m_iamRoleHasBeenSet =
false;
164 bool m_scheduledActionDescriptionHasBeenSet =
false;
167 bool m_startTimeHasBeenSet =
false;
170 bool m_endTimeHasBeenSet =
false;
173 bool m_enableHasBeenSet =
false;
void SetEnable(bool value)
const ScheduledActionType & GetTargetAction() const
void SetIamRole(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
bool StartTimeHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetStartTime(const Aws::Utils::DateTime &value)
bool EnableHasBeenSet() const
bool ScheduledActionNameHasBeenSet() const
void SetIamRole(const Aws::String &value)
ModifyScheduledActionRequest & WithIamRole(Aws::String &&value)
ModifyScheduledActionRequest & WithIamRole(const Aws::String &value)
AWS_REDSHIFT_API ModifyScheduledActionRequest()
ModifyScheduledActionRequest & WithScheduledActionName(const Aws::String &value)
void SetTargetAction(const ScheduledActionType &value)
ModifyScheduledActionRequest & WithScheduledActionName(Aws::String &&value)
ModifyScheduledActionRequest & WithEnable(bool value)
ModifyScheduledActionRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
bool TargetActionHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
void SetSchedule(const char *value)
const Aws::String & GetIamRole() const
void SetScheduledActionName(Aws::String &&value)
void SetScheduledActionDescription(Aws::String &&value)
void SetScheduledActionDescription(const Aws::String &value)
ModifyScheduledActionRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetSchedule(Aws::String &&value)
void SetScheduledActionName(const char *value)
ModifyScheduledActionRequest & WithTargetAction(ScheduledActionType &&value)
ModifyScheduledActionRequest & WithScheduledActionDescription(const char *value)
void SetEndTime(Aws::Utils::DateTime &&value)
ModifyScheduledActionRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetIamRole(Aws::String &&value)
bool ScheduledActionDescriptionHasBeenSet() const
const Aws::String & GetScheduledActionName() const
ModifyScheduledActionRequest & WithScheduledActionDescription(const Aws::String &value)
void SetTargetAction(ScheduledActionType &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool IamRoleHasBeenSet() const
void SetScheduledActionName(const Aws::String &value)
ModifyScheduledActionRequest & WithScheduledActionDescription(Aws::String &&value)
const Aws::String & GetScheduledActionDescription() const
void SetStartTime(Aws::Utils::DateTime &&value)
bool ScheduleHasBeenSet() const
void SetScheduledActionDescription(const char *value)
ModifyScheduledActionRequest & WithSchedule(Aws::String &&value)
ModifyScheduledActionRequest & WithSchedule(const Aws::String &value)
ModifyScheduledActionRequest & WithScheduledActionName(const char *value)
ModifyScheduledActionRequest & WithSchedule(const char *value)
void SetSchedule(const Aws::String &value)
ModifyScheduledActionRequest & WithIamRole(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyScheduledActionRequest & WithTargetAction(const ScheduledActionType &value)
const Aws::String & GetSchedule() const
virtual const char * GetServiceRequestName() const override
ModifyScheduledActionRequest & WithStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String