7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-serverless/model/Schedule.h>
12#include <aws/redshift-serverless/model/State.h>
13#include <aws/redshift-serverless/model/TargetAction.h>
26namespace RedshiftServerless
66 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
102 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
151 inline void SetScheduledActionName(
const char* value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName.assign(value); }
165 inline void SetScheduledActionUuid(
const char* value) { m_scheduledActionUuidHasBeenSet =
true; m_scheduledActionUuid.assign(value); }
190 inline void SetState(
const State& value) { m_stateHasBeenSet =
true; m_state = value; }
191 inline void SetState(
State&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
208 bool m_endTimeHasBeenSet =
false;
211 bool m_namespaceNameHasBeenSet =
false;
214 bool m_nextInvocationsHasBeenSet =
false;
217 bool m_roleArnHasBeenSet =
false;
220 bool m_scheduleHasBeenSet =
false;
223 bool m_scheduledActionDescriptionHasBeenSet =
false;
226 bool m_scheduledActionNameHasBeenSet =
false;
229 bool m_scheduledActionUuidHasBeenSet =
false;
232 bool m_startTimeHasBeenSet =
false;
235 bool m_stateHasBeenSet =
false;
238 bool m_targetActionHasBeenSet =
false;
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(State &&value)
void SetScheduledActionUuid(const Aws::String &value)
bool EndTimeHasBeenSet() const
void SetSchedule(const Schedule &value)
void SetScheduledActionUuid(const char *value)
ScheduledActionResponse & WithTargetAction(TargetAction &&value)
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetTargetAction(TargetAction &&value)
void SetScheduledActionUuid(Aws::String &&value)
ScheduledActionResponse & WithStartTime(const Aws::Utils::DateTime &value)
bool NamespaceNameHasBeenSet() const
void SetScheduledActionDescription(const char *value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
const Aws::Utils::DateTime & GetStartTime() const
ScheduledActionResponse & WithNamespaceName(const Aws::String &value)
ScheduledActionResponse & WithNamespaceName(Aws::String &&value)
const Aws::String & GetNamespaceName() const
void SetScheduledActionName(const Aws::String &value)
void SetScheduledActionName(Aws::String &&value)
const TargetAction & GetTargetAction() const
AWS_REDSHIFTSERVERLESS_API ScheduledActionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_REDSHIFTSERVERLESS_API ScheduledActionResponse()
bool TargetActionHasBeenSet() const
ScheduledActionResponse & WithScheduledActionDescription(const char *value)
void SetNamespaceName(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
ScheduledActionResponse & AddNextInvocations(const Aws::Utils::DateTime &value)
ScheduledActionResponse & WithScheduledActionName(const char *value)
ScheduledActionResponse & WithRoleArn(const char *value)
ScheduledActionResponse & WithScheduledActionDescription(Aws::String &&value)
void SetRoleArn(const char *value)
ScheduledActionResponse & WithSchedule(Schedule &&value)
const Aws::String & GetScheduledActionUuid() const
ScheduledActionResponse & WithTargetAction(const TargetAction &value)
bool ScheduledActionNameHasBeenSet() const
void SetStartTime(const Aws::Utils::DateTime &value)
ScheduledActionResponse & WithState(const State &value)
bool RoleArnHasBeenSet() const
ScheduledActionResponse & WithScheduledActionName(const Aws::String &value)
bool NextInvocationsHasBeenSet() const
const Schedule & GetSchedule() const
bool ScheduledActionUuidHasBeenSet() const
bool StateHasBeenSet() const
ScheduledActionResponse & WithRoleArn(Aws::String &&value)
void SetScheduledActionDescription(const Aws::String &value)
void SetScheduledActionDescription(Aws::String &&value)
ScheduledActionResponse & WithNamespaceName(const char *value)
ScheduledActionResponse & WithState(State &&value)
ScheduledActionResponse & WithScheduledActionUuid(const Aws::String &value)
bool StartTimeHasBeenSet() const
ScheduledActionResponse & WithScheduledActionUuid(Aws::String &&value)
const State & GetState() const
ScheduledActionResponse & WithStartTime(Aws::Utils::DateTime &&value)
AWS_REDSHIFTSERVERLESS_API ScheduledActionResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetScheduledActionDescription() const
void SetStartTime(Aws::Utils::DateTime &&value)
ScheduledActionResponse & WithSchedule(const Schedule &value)
ScheduledActionResponse & WithScheduledActionDescription(const Aws::String &value)
void SetState(const State &value)
ScheduledActionResponse & WithEndTime(const Aws::Utils::DateTime &value)
void SetScheduledActionName(const char *value)
ScheduledActionResponse & WithEndTime(Aws::Utils::DateTime &&value)
void SetRoleArn(Aws::String &&value)
ScheduledActionResponse & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
ScheduledActionResponse & WithRoleArn(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetScheduledActionName() const
const Aws::String & GetRoleArn() const
ScheduledActionResponse & AddNextInvocations(Aws::Utils::DateTime &&value)
void SetNamespaceName(Aws::String &&value)
void SetNamespaceName(const char *value)
ScheduledActionResponse & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
ScheduledActionResponse & WithScheduledActionName(Aws::String &&value)
bool ScheduledActionDescriptionHasBeenSet() const
ScheduledActionResponse & WithScheduledActionUuid(const char *value)
void SetSchedule(Schedule &&value)
bool ScheduleHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetTargetAction(const TargetAction &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue