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
49 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
74 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
96 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
145 inline void SetScheduledActionName(
const char* value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName.assign(value); }
176 bool m_enabledHasBeenSet =
false;
179 bool m_endTimeHasBeenSet =
false;
182 bool m_namespaceNameHasBeenSet =
false;
185 bool m_roleArnHasBeenSet =
false;
188 bool m_scheduleHasBeenSet =
false;
191 bool m_scheduledActionDescriptionHasBeenSet =
false;
194 bool m_scheduledActionNameHasBeenSet =
false;
197 bool m_startTimeHasBeenSet =
false;
200 bool m_targetActionHasBeenSet =
false;
const Aws::Utils::DateTime & GetEndTime() const
CreateScheduledActionRequest & WithRoleArn(const Aws::String &value)
CreateScheduledActionRequest & WithStartTime(const Aws::Utils::DateTime &value)
bool ScheduledActionDescriptionHasBeenSet() const
void SetEndTime(Aws::Utils::DateTime &&value)
CreateScheduledActionRequest & WithSchedule(Schedule &&value)
CreateScheduledActionRequest & WithStartTime(Aws::Utils::DateTime &&value)
CreateScheduledActionRequest & WithScheduledActionName(const char *value)
CreateScheduledActionRequest & WithTargetAction(TargetAction &&value)
void SetNamespaceName(Aws::String &&value)
void SetSchedule(const Schedule &value)
const TargetAction & GetTargetAction() const
void SetStartTime(const Aws::Utils::DateTime &value)
void SetRoleArn(Aws::String &&value)
bool EnabledHasBeenSet() const
void SetTargetAction(TargetAction &&value)
bool ScheduledActionNameHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetScheduledActionName(Aws::String &&value)
void SetScheduledActionName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API CreateScheduledActionRequest()
void SetScheduledActionDescription(const char *value)
void SetScheduledActionDescription(Aws::String &&value)
void SetRoleArn(const char *value)
CreateScheduledActionRequest & WithScheduledActionName(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
CreateScheduledActionRequest & WithRoleArn(Aws::String &&value)
bool TargetActionHasBeenSet() const
void SetEnabled(bool value)
CreateScheduledActionRequest & WithScheduledActionDescription(const Aws::String &value)
CreateScheduledActionRequest & WithScheduledActionName(const Aws::String &value)
CreateScheduledActionRequest & WithSchedule(const Schedule &value)
void SetSchedule(Schedule &&value)
CreateScheduledActionRequest & WithEndTime(const Aws::Utils::DateTime &value)
CreateScheduledActionRequest & WithScheduledActionDescription(const char *value)
const Aws::String & GetScheduledActionDescription() const
void SetNamespaceName(const Aws::String &value)
void SetNamespaceName(const char *value)
void SetScheduledActionName(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
CreateScheduledActionRequest & WithNamespaceName(Aws::String &&value)
CreateScheduledActionRequest & WithNamespaceName(const char *value)
bool RoleArnHasBeenSet() const
bool EndTimeHasBeenSet() const
CreateScheduledActionRequest & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetNamespaceName() const
CreateScheduledActionRequest & WithTargetAction(const TargetAction &value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
const Schedule & GetSchedule() const
bool ScheduleHasBeenSet() const
const Aws::String & GetRoleArn() const
CreateScheduledActionRequest & WithNamespaceName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NamespaceNameHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetTargetAction(const TargetAction &value)
void SetScheduledActionDescription(const Aws::String &value)
CreateScheduledActionRequest & WithRoleArn(const char *value)
CreateScheduledActionRequest & WithEnabled(bool value)
const Aws::String & GetScheduledActionName() const
void SetEndTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
CreateScheduledActionRequest & WithScheduledActionDescription(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String