7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.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>
24namespace RedshiftServerless {
45 template <
typename EndTimeT = Aws::Utils::DateTime>
47 m_endTimeHasBeenSet =
true;
48 m_endTime = std::forward<EndTimeT>(value);
50 template <
typename EndTimeT = Aws::Utils::DateTime>
64 template <
typename NamespaceNameT = Aws::String>
66 m_namespaceNameHasBeenSet =
true;
67 m_namespaceName = std::forward<NamespaceNameT>(value);
69 template <
typename NamespaceNameT = Aws::String>
82 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
84 m_nextInvocationsHasBeenSet =
true;
85 m_nextInvocations = std::forward<NextInvocationsT>(value);
87 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
92 template <
typename NextInvocationsT = Aws::Utils::DateTime>
94 m_nextInvocationsHasBeenSet =
true;
95 m_nextInvocations.emplace_back(std::forward<NextInvocationsT>(value));
114 template <
typename RoleArnT = Aws::String>
116 m_roleArnHasBeenSet =
true;
117 m_roleArn = std::forward<RoleArnT>(value);
119 template <
typename RoleArnT = Aws::String>
141 template <
typename ScheduleT = Schedule>
143 m_scheduleHasBeenSet =
true;
144 m_schedule = std::forward<ScheduleT>(value);
146 template <
typename ScheduleT = Schedule>
159 template <
typename ScheduledActionDescriptionT = Aws::String>
161 m_scheduledActionDescriptionHasBeenSet =
true;
162 m_scheduledActionDescription = std::forward<ScheduledActionDescriptionT>(value);
164 template <
typename ScheduledActionDescriptionT = Aws::String>
177 template <
typename ScheduledActionNameT = Aws::String>
179 m_scheduledActionNameHasBeenSet =
true;
180 m_scheduledActionName = std::forward<ScheduledActionNameT>(value);
182 template <
typename ScheduledActionNameT = Aws::String>
195 template <
typename ScheduledActionUu
idT = Aws::String>
197 m_scheduledActionUuidHasBeenSet =
true;
198 m_scheduledActionUuid = std::forward<ScheduledActionUuidT>(value);
200 template <
typename ScheduledActionUu
idT = Aws::String>
214 template <
typename StartTimeT = Aws::Utils::DateTime>
216 m_startTimeHasBeenSet =
true;
217 m_startTime = std::forward<StartTimeT>(value);
219 template <
typename StartTimeT = Aws::Utils::DateTime>
233 m_stateHasBeenSet =
true;
246 template <
typename TargetActionT = TargetAction>
248 m_targetActionHasBeenSet =
true;
249 m_targetAction = std::forward<TargetActionT>(value);
251 template <
typename TargetActionT = TargetAction>
278 TargetAction m_targetAction;
279 bool m_endTimeHasBeenSet =
false;
280 bool m_namespaceNameHasBeenSet =
false;
281 bool m_nextInvocationsHasBeenSet =
false;
282 bool m_roleArnHasBeenSet =
false;
283 bool m_scheduleHasBeenSet =
false;
284 bool m_scheduledActionDescriptionHasBeenSet =
false;
285 bool m_scheduledActionNameHasBeenSet =
false;
286 bool m_scheduledActionUuidHasBeenSet =
false;
287 bool m_startTimeHasBeenSet =
false;
288 bool m_stateHasBeenSet =
false;
289 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