7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/redshift-serverless/model/Schedule.h>
12#include <aws/redshift-serverless/model/TargetAction.h>
17namespace RedshiftServerless
46 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
78 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
127 inline void SetScheduledActionName(
const char* value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName.assign(value); }
157 bool m_enabledHasBeenSet =
false;
160 bool m_endTimeHasBeenSet =
false;
163 bool m_roleArnHasBeenSet =
false;
166 bool m_scheduleHasBeenSet =
false;
169 bool m_scheduledActionDescriptionHasBeenSet =
false;
172 bool m_scheduledActionNameHasBeenSet =
false;
175 bool m_startTimeHasBeenSet =
false;
178 bool m_targetActionHasBeenSet =
false;
void SetEnabled(bool value)
const Schedule & GetSchedule() const
AWS_REDSHIFTSERVERLESS_API UpdateScheduledActionRequest()
void SetRoleArn(Aws::String &&value)
void SetRoleArn(const char *value)
UpdateScheduledActionRequest & WithScheduledActionName(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetTargetAction(const TargetAction &value)
void SetScheduledActionDescription(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
bool ScheduledActionDescriptionHasBeenSet() const
void SetScheduledActionName(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
UpdateScheduledActionRequest & WithTargetAction(const TargetAction &value)
UpdateScheduledActionRequest & WithScheduledActionDescription(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetStartTime() const
UpdateScheduledActionRequest & WithStartTime(Aws::Utils::DateTime &&value)
UpdateScheduledActionRequest & WithEndTime(Aws::Utils::DateTime &&value)
UpdateScheduledActionRequest & WithRoleArn(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
bool TargetActionHasBeenSet() const
void SetEndTime(Aws::Utils::DateTime &&value)
void SetScheduledActionName(Aws::String &&value)
UpdateScheduledActionRequest & WithScheduledActionName(const char *value)
bool ScheduleHasBeenSet() const
void SetSchedule(const Schedule &value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
bool ScheduledActionNameHasBeenSet() const
UpdateScheduledActionRequest & WithSchedule(Schedule &&value)
const TargetAction & GetTargetAction() const
const Aws::String & GetScheduledActionDescription() const
UpdateScheduledActionRequest & WithEnabled(bool value)
bool EnabledHasBeenSet() const
UpdateScheduledActionRequest & WithScheduledActionDescription(Aws::String &&value)
bool EndTimeHasBeenSet() const
UpdateScheduledActionRequest & WithStartTime(const Aws::Utils::DateTime &value)
UpdateScheduledActionRequest & WithSchedule(const Schedule &value)
void SetScheduledActionDescription(Aws::String &&value)
UpdateScheduledActionRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
bool RoleArnHasBeenSet() const
void SetScheduledActionName(const char *value)
UpdateScheduledActionRequest & WithScheduledActionDescription(const Aws::String &value)
bool StartTimeHasBeenSet() const
void SetSchedule(Schedule &&value)
const Aws::String & GetScheduledActionName() const
void SetRoleArn(const Aws::String &value)
void SetScheduledActionDescription(const Aws::String &value)
UpdateScheduledActionRequest & WithRoleArn(const Aws::String &value)
UpdateScheduledActionRequest & WithRoleArn(Aws::String &&value)
void SetTargetAction(TargetAction &&value)
UpdateScheduledActionRequest & WithScheduledActionName(const Aws::String &value)
UpdateScheduledActionRequest & WithTargetAction(TargetAction &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String