7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/Schedule.h>
12#include <aws/redshift-serverless/model/TargetAction.h>
17namespace RedshiftServerless {
43 m_enabledHasBeenSet =
true;
58 template <
typename EndTimeT = Aws::Utils::DateTime>
60 m_endTimeHasBeenSet =
true;
61 m_endTime = std::forward<EndTimeT>(value);
63 template <
typename EndTimeT = Aws::Utils::DateTime>
84 template <
typename RoleArnT = Aws::String>
86 m_roleArnHasBeenSet =
true;
87 m_roleArn = std::forward<RoleArnT>(value);
89 template <
typename RoleArnT = Aws::String>
111 template <
typename ScheduleT = Schedule>
113 m_scheduleHasBeenSet =
true;
114 m_schedule = std::forward<ScheduleT>(value);
116 template <
typename ScheduleT = Schedule>
129 template <
typename ScheduledActionDescriptionT = Aws::String>
131 m_scheduledActionDescriptionHasBeenSet =
true;
132 m_scheduledActionDescription = std::forward<ScheduledActionDescriptionT>(value);
134 template <
typename ScheduledActionDescriptionT = Aws::String>
147 template <
typename ScheduledActionNameT = Aws::String>
149 m_scheduledActionNameHasBeenSet =
true;
150 m_scheduledActionName = std::forward<ScheduledActionNameT>(value);
152 template <
typename ScheduledActionNameT = Aws::String>
165 template <
typename StartTimeT = Aws::Utils::DateTime>
167 m_startTimeHasBeenSet =
true;
168 m_startTime = std::forward<StartTimeT>(value);
170 template <
typename StartTimeT = Aws::Utils::DateTime>
181 template <
typename TargetActionT = TargetAction>
183 m_targetActionHasBeenSet =
true;
184 m_targetAction = std::forward<TargetActionT>(value);
186 template <
typename TargetActionT = TargetAction>
193 bool m_enabled{
false};
207 TargetAction m_targetAction;
208 bool m_enabledHasBeenSet =
false;
209 bool m_endTimeHasBeenSet =
false;
210 bool m_roleArnHasBeenSet =
false;
211 bool m_scheduleHasBeenSet =
false;
212 bool m_scheduledActionDescriptionHasBeenSet =
false;
213 bool m_scheduledActionNameHasBeenSet =
false;
214 bool m_startTimeHasBeenSet =
false;
215 bool m_targetActionHasBeenSet =
false;
void SetEnabled(bool value)
const Schedule & GetSchedule() const
const Aws::String & GetRoleArn() const
const Aws::Utils::DateTime & GetEndTime() const
bool ScheduledActionDescriptionHasBeenSet() const
UpdateScheduledActionRequest & WithScheduledActionDescription(ScheduledActionDescriptionT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetStartTime() const
UpdateScheduledActionRequest & WithEndTime(EndTimeT &&value)
bool TargetActionHasBeenSet() const
UpdateScheduledActionRequest & WithSchedule(ScheduleT &&value)
bool ScheduleHasBeenSet() const
void SetSchedule(ScheduleT &&value)
void SetStartTime(StartTimeT &&value)
UpdateScheduledActionRequest & WithScheduledActionName(ScheduledActionNameT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
bool ScheduledActionNameHasBeenSet() const
void SetTargetAction(TargetActionT &&value)
const TargetAction & GetTargetAction() const
const Aws::String & GetScheduledActionDescription() const
void SetRoleArn(RoleArnT &&value)
UpdateScheduledActionRequest & WithEnabled(bool value)
AWS_REDSHIFTSERVERLESS_API UpdateScheduledActionRequest()=default
bool EnabledHasBeenSet() const
bool EndTimeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetScheduledActionDescription(ScheduledActionDescriptionT &&value)
bool RoleArnHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetEndTime(EndTimeT &&value)
const Aws::String & GetScheduledActionName() const
void SetScheduledActionName(ScheduledActionNameT &&value)
UpdateScheduledActionRequest & WithTargetAction(TargetActionT &&value)
UpdateScheduledActionRequest & WithRoleArn(RoleArnT &&value)
UpdateScheduledActionRequest & WithStartTime(StartTimeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String