7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/scheduler/SchedulerRequest.h>
11#include <aws/scheduler/Scheduler_EXPORTS.h>
12#include <aws/scheduler/model/ActionAfterCompletion.h>
13#include <aws/scheduler/model/FlexibleTimeWindow.h>
14#include <aws/scheduler/model/ScheduleState.h>
15#include <aws/scheduler/model/Target.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
64 template <
typename GroupNameT = Aws::String>
66 m_groupNameHasBeenSet =
true;
67 m_groupName = std::forward<GroupNameT>(value);
69 template <
typename GroupNameT = Aws::String>
102 template <
typename ScheduleExpressionT = Aws::String>
104 m_scheduleExpressionHasBeenSet =
true;
105 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
107 template <
typename ScheduleExpressionT = Aws::String>
123 template <
typename StartDateT = Aws::Utils::DateTime>
125 m_startDateHasBeenSet =
true;
126 m_startDate = std::forward<StartDateT>(value);
128 template <
typename StartDateT = Aws::Utils::DateTime>
144 template <
typename EndDateT = Aws::Utils::DateTime>
146 m_endDateHasBeenSet =
true;
147 m_endDate = std::forward<EndDateT>(value);
149 template <
typename EndDateT = Aws::Utils::DateTime>
162 template <
typename DescriptionT = Aws::String>
164 m_descriptionHasBeenSet =
true;
165 m_description = std::forward<DescriptionT>(value);
167 template <
typename DescriptionT = Aws::String>
180 template <
typename ScheduleExpressionTimezoneT = Aws::String>
182 m_scheduleExpressionTimezoneHasBeenSet =
true;
183 m_scheduleExpressionTimezone = std::forward<ScheduleExpressionTimezoneT>(value);
185 template <
typename ScheduleExpressionTimezoneT = Aws::String>
199 m_stateHasBeenSet =
true;
215 template <
typename KmsKeyArnT = Aws::String>
217 m_kmsKeyArnHasBeenSet =
true;
218 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
220 template <
typename KmsKeyArnT = Aws::String>
234 template <
typename TargetT = Target>
236 m_targetHasBeenSet =
true;
237 m_target = std::forward<TargetT>(value);
239 template <
typename TargetT = Target>
253 template <
typename FlexibleTimeWindowT = FlexibleTimeWindow>
255 m_flexibleTimeWindowHasBeenSet =
true;
256 m_flexibleTimeWindow = std::forward<FlexibleTimeWindowT>(value);
258 template <
typename FlexibleTimeWindowT = FlexibleTimeWindow>
273 template <
typename ClientTokenT = Aws::String>
275 m_clientTokenHasBeenSet =
true;
276 m_clientToken = std::forward<ClientTokenT>(value);
278 template <
typename ClientTokenT = Aws::String>
293 m_actionAfterCompletionHasBeenSet =
true;
294 m_actionAfterCompletion = value;
322 FlexibleTimeWindow m_flexibleTimeWindow;
327 bool m_nameHasBeenSet =
false;
328 bool m_groupNameHasBeenSet =
false;
329 bool m_scheduleExpressionHasBeenSet =
false;
330 bool m_startDateHasBeenSet =
false;
331 bool m_endDateHasBeenSet =
false;
332 bool m_descriptionHasBeenSet =
false;
333 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
334 bool m_stateHasBeenSet =
false;
335 bool m_kmsKeyArnHasBeenSet =
false;
336 bool m_targetHasBeenSet =
false;
337 bool m_flexibleTimeWindowHasBeenSet =
false;
338 bool m_clientTokenHasBeenSet =
true;
339 bool m_actionAfterCompletionHasBeenSet =
false;
void SetScheduleExpressionTimezone(ScheduleExpressionTimezoneT &&value)
bool StartDateHasBeenSet() const
UpdateScheduleRequest & WithState(ScheduleState value)
const Aws::String & GetScheduleExpression() const
UpdateScheduleRequest & WithScheduleExpressionTimezone(ScheduleExpressionTimezoneT &&value)
const Aws::String & GetName() const
void SetScheduleExpression(ScheduleExpressionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateScheduleRequest & WithDescription(DescriptionT &&value)
AWS_SCHEDULER_API UpdateScheduleRequest()=default
void SetGroupName(GroupNameT &&value)
UpdateScheduleRequest & WithStartDate(StartDateT &&value)
const Aws::Utils::DateTime & GetStartDate() const
bool EndDateHasBeenSet() const
void SetState(ScheduleState value)
void SetClientToken(ClientTokenT &&value)
ActionAfterCompletion GetActionAfterCompletion() const
const Aws::String & GetGroupName() const
void SetStartDate(StartDateT &&value)
UpdateScheduleRequest & WithKmsKeyArn(KmsKeyArnT &&value)
UpdateScheduleRequest & WithFlexibleTimeWindow(FlexibleTimeWindowT &&value)
void SetName(NameT &&value)
bool TargetHasBeenSet() const
UpdateScheduleRequest & WithName(NameT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetClientToken() const
bool ActionAfterCompletionHasBeenSet() const
UpdateScheduleRequest & WithEndDate(EndDateT &&value)
void SetActionAfterCompletion(ActionAfterCompletion value)
UpdateScheduleRequest & WithActionAfterCompletion(ActionAfterCompletion value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
const Target & GetTarget() const
void SetEndDate(EndDateT &&value)
bool KmsKeyArnHasBeenSet() const
bool ScheduleExpressionHasBeenSet() const
bool ScheduleExpressionTimezoneHasBeenSet() const
bool GroupNameHasBeenSet() const
void SetFlexibleTimeWindow(FlexibleTimeWindowT &&value)
const Aws::Utils::DateTime & GetEndDate() const
bool StateHasBeenSet() const
UpdateScheduleRequest & WithScheduleExpression(ScheduleExpressionT &&value)
const FlexibleTimeWindow & GetFlexibleTimeWindow() const
void SetDescription(DescriptionT &&value)
UpdateScheduleRequest & WithTarget(TargetT &&value)
void SetTarget(TargetT &&value)
bool FlexibleTimeWindowHasBeenSet() const
ScheduleState GetState() const
UpdateScheduleRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetScheduleExpressionTimezone() const
const Aws::String & GetKmsKeyArn() const
UpdateScheduleRequest & WithGroupName(GroupNameT &&value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String