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>
50 inline void SetScheduledActionName(
const char* value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName.assign(value); }
79 inline void SetSchedule(
const char* value) { m_scheduleHasBeenSet =
true; m_schedule.assign(value); }
94 inline void SetIamRole(
const char* value) { m_iamRoleHasBeenSet =
true; m_iamRole.assign(value); }
150 inline void SetEnable(
bool value) { m_enableHasBeenSet =
true; m_enable = value; }
156 bool m_scheduledActionNameHasBeenSet =
false;
159 bool m_targetActionHasBeenSet =
false;
162 bool m_scheduleHasBeenSet =
false;
165 bool m_iamRoleHasBeenSet =
false;
168 bool m_scheduledActionDescriptionHasBeenSet =
false;
171 bool m_startTimeHasBeenSet =
false;
174 bool m_endTimeHasBeenSet =
false;
177 bool m_enableHasBeenSet =
false;
CreateScheduledActionRequest & WithSchedule(const char *value)
AWS_REDSHIFT_API CreateScheduledActionRequest()
void SetScheduledActionName(const Aws::String &value)
void SetScheduledActionDescription(const Aws::String &value)
CreateScheduledActionRequest & WithScheduledActionDescription(Aws::String &&value)
bool StartTimeHasBeenSet() const
CreateScheduledActionRequest & WithScheduledActionName(const Aws::String &value)
CreateScheduledActionRequest & WithScheduledActionName(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetSchedule(const Aws::String &value)
CreateScheduledActionRequest & WithEndTime(Aws::Utils::DateTime &&value)
CreateScheduledActionRequest & WithTargetAction(ScheduledActionType &&value)
CreateScheduledActionRequest & WithIamRole(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
CreateScheduledActionRequest & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
bool ScheduledActionNameHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetScheduledActionName(const char *value)
const Aws::String & GetIamRole() const
void SetTargetAction(const ScheduledActionType &value)
bool EndTimeHasBeenSet() const
const Aws::String & GetScheduledActionName() const
const ScheduledActionType & GetTargetAction() const
void SetIamRole(Aws::String &&value)
CreateScheduledActionRequest & WithIamRole(const char *value)
CreateScheduledActionRequest & WithStartTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
bool EnableHasBeenSet() const
bool ScheduleHasBeenSet() const
const Aws::String & GetScheduledActionDescription() const
bool TargetActionHasBeenSet() const
void SetIamRole(const Aws::String &value)
CreateScheduledActionRequest & WithIamRole(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
CreateScheduledActionRequest & WithScheduledActionDescription(const char *value)
CreateScheduledActionRequest & WithSchedule(const Aws::String &value)
void SetScheduledActionDescription(Aws::String &&value)
CreateScheduledActionRequest & WithScheduledActionDescription(const Aws::String &value)
CreateScheduledActionRequest & WithTargetAction(const ScheduledActionType &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetScheduledActionDescription(const char *value)
void SetTargetAction(ScheduledActionType &&value)
void SetScheduledActionName(Aws::String &&value)
void SetSchedule(Aws::String &&value)
CreateScheduledActionRequest & WithSchedule(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool IamRoleHasBeenSet() const
bool ScheduledActionDescriptionHasBeenSet() const
CreateScheduledActionRequest & WithEnable(bool value)
const Aws::String & GetSchedule() const
CreateScheduledActionRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetEnable(bool value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetSchedule(const char *value)
CreateScheduledActionRequest & WithScheduledActionName(const char *value)
void SetIamRole(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String