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
51 template<
typename EndTimeT = Aws::Utils::DateTime>
52 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
53 template<
typename EndTimeT = Aws::Utils::DateTime>
64 template<
typename NamespaceNameT = Aws::String>
65 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet =
true; m_namespaceName = std::forward<NamespaceNameT>(value); }
66 template<
typename NamespaceNameT = Aws::String>
76 template<
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
77 void SetNextInvocations(NextInvocationsT&& value) { m_nextInvocationsHasBeenSet =
true; m_nextInvocations = std::forward<NextInvocationsT>(value); }
78 template<
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
80 template<
typename NextInvocationsT = Aws::Utils::DateTime>
98 template<
typename RoleArnT = Aws::String>
99 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
100 template<
typename RoleArnT = Aws::String>
119 template<
typename ScheduleT = Schedule>
120 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
121 template<
typename ScheduleT = Schedule>
131 template<
typename ScheduledActionDescriptionT = Aws::String>
132 void SetScheduledActionDescription(ScheduledActionDescriptionT&& value) { m_scheduledActionDescriptionHasBeenSet =
true; m_scheduledActionDescription = std::forward<ScheduledActionDescriptionT>(value); }
133 template<
typename ScheduledActionDescriptionT = Aws::String>
143 template<
typename ScheduledActionNameT = Aws::String>
144 void SetScheduledActionName(ScheduledActionNameT&& value) { m_scheduledActionNameHasBeenSet =
true; m_scheduledActionName = std::forward<ScheduledActionNameT>(value); }
145 template<
typename ScheduledActionNameT = Aws::String>
155 template<
typename ScheduledActionUu
idT = Aws::String>
156 void SetScheduledActionUuid(ScheduledActionUuidT&& value) { m_scheduledActionUuidHasBeenSet =
true; m_scheduledActionUuid = std::forward<ScheduledActionUuidT>(value); }
157 template<
typename ScheduledActionUu
idT = Aws::String>
168 template<
typename StartTimeT = Aws::Utils::DateTime>
169 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
170 template<
typename StartTimeT = Aws::Utils::DateTime>
180 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
188 template<
typename TargetActionT = TargetAction>
189 void SetTargetAction(TargetActionT&& value) { m_targetActionHasBeenSet =
true; m_targetAction = std::forward<TargetActionT>(value); }
190 template<
typename TargetActionT = TargetAction>
196 bool m_endTimeHasBeenSet =
false;
199 bool m_namespaceNameHasBeenSet =
false;
202 bool m_nextInvocationsHasBeenSet =
false;
205 bool m_roleArnHasBeenSet =
false;
208 bool m_scheduleHasBeenSet =
false;
211 bool m_scheduledActionDescriptionHasBeenSet =
false;
214 bool m_scheduledActionNameHasBeenSet =
false;
217 bool m_scheduledActionUuidHasBeenSet =
false;
220 bool m_startTimeHasBeenSet =
false;
223 bool m_stateHasBeenSet =
false;
225 TargetAction m_targetAction;
226 bool m_targetActionHasBeenSet =
false;
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(RoleArnT &&value)
ScheduledActionResponse & WithStartTime(StartTimeT &&value)
bool EndTimeHasBeenSet() const
void SetScheduledActionUuid(ScheduledActionUuidT &&value)
ScheduledActionResponse & WithRoleArn(RoleArnT &&value)
void SetNextInvocations(NextInvocationsT &&value)
void SetState(State value)
AWS_REDSHIFTSERVERLESS_API ScheduledActionResponse()=default
bool NamespaceNameHasBeenSet() const
ScheduledActionResponse & WithScheduledActionName(ScheduledActionNameT &&value)
ScheduledActionResponse & WithScheduledActionDescription(ScheduledActionDescriptionT &&value)
ScheduledActionResponse & WithTargetAction(TargetActionT &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
ScheduledActionResponse & WithScheduledActionUuid(ScheduledActionUuidT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetNamespaceName() const
void SetNamespaceName(NamespaceNameT &&value)
ScheduledActionResponse & WithNextInvocations(NextInvocationsT &&value)
const TargetAction & GetTargetAction() const
AWS_REDSHIFTSERVERLESS_API ScheduledActionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduledActionResponse & WithNamespaceName(NamespaceNameT &&value)
bool TargetActionHasBeenSet() const
const Aws::String & GetScheduledActionUuid() const
ScheduledActionResponse & WithState(State value)
void SetScheduledActionDescription(ScheduledActionDescriptionT &&value)
bool ScheduledActionNameHasBeenSet() const
bool RoleArnHasBeenSet() const
bool NextInvocationsHasBeenSet() const
const Schedule & GetSchedule() const
bool ScheduledActionUuidHasBeenSet() const
bool StateHasBeenSet() const
bool StartTimeHasBeenSet() const
ScheduledActionResponse & WithSchedule(ScheduleT &&value)
AWS_REDSHIFTSERVERLESS_API ScheduledActionResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetScheduledActionDescription() const
void SetStartTime(StartTimeT &&value)
ScheduledActionResponse & WithEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetScheduledActionName() const
void SetSchedule(ScheduleT &&value)
void SetEndTime(EndTimeT &&value)
ScheduledActionResponse & AddNextInvocations(NextInvocationsT &&value)
const Aws::String & GetRoleArn() const
void SetTargetAction(TargetActionT &&value)
void SetScheduledActionName(ScheduledActionNameT &&value)
bool ScheduledActionDescriptionHasBeenSet() const
bool ScheduleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue