7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/scheduler/SchedulerRequest.h>
9#include <aws/scheduler/model/ActionAfterCompletion.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/scheduler/model/FlexibleTimeWindow.h>
13#include <aws/scheduler/model/ScheduleState.h>
14#include <aws/scheduler/model/Target.h>
16#include <aws/core/utils/UUID.h>
64 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
78 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
123 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
138 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
152 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
186 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
240 inline void SetTarget(
const Target& value) { m_targetHasBeenSet =
true; m_target = value; }
241 inline void SetTarget(
Target&& value) { m_targetHasBeenSet =
true; m_target = std::move(value); }
248 bool m_actionAfterCompletionHasBeenSet =
false;
251 bool m_clientTokenHasBeenSet =
false;
254 bool m_descriptionHasBeenSet =
false;
257 bool m_endDateHasBeenSet =
false;
260 bool m_flexibleTimeWindowHasBeenSet =
false;
263 bool m_groupNameHasBeenSet =
false;
266 bool m_kmsKeyArnHasBeenSet =
false;
269 bool m_nameHasBeenSet =
false;
272 bool m_scheduleExpressionHasBeenSet =
false;
275 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
278 bool m_startDateHasBeenSet =
false;
281 bool m_stateHasBeenSet =
false;
284 bool m_targetHasBeenSet =
false;
void SetStartDate(const Aws::Utils::DateTime &value)
void SetEndDate(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
bool StartDateHasBeenSet() const
const Aws::String & GetScheduleExpression() const
UpdateScheduleRequest & WithState(const ScheduleState &value)
void SetGroupName(const char *value)
const Aws::String & GetName() const
UpdateScheduleRequest & WithGroupName(Aws::String &&value)
UpdateScheduleRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetGroupName(const Aws::String &value)
const ScheduleState & GetState() const
UpdateScheduleRequest & WithFlexibleTimeWindow(const FlexibleTimeWindow &value)
UpdateScheduleRequest & WithActionAfterCompletion(ActionAfterCompletion &&value)
const Aws::Utils::DateTime & GetStartDate() const
UpdateScheduleRequest & WithKmsKeyArn(Aws::String &&value)
bool EndDateHasBeenSet() const
void SetScheduleExpression(Aws::String &&value)
UpdateScheduleRequest & WithScheduleExpressionTimezone(const Aws::String &value)
UpdateScheduleRequest & WithActionAfterCompletion(const ActionAfterCompletion &value)
void SetScheduleExpression(const Aws::String &value)
const Aws::String & GetGroupName() const
UpdateScheduleRequest & WithName(const char *value)
void SetScheduleExpressionTimezone(Aws::String &&value)
UpdateScheduleRequest & WithState(ScheduleState &&value)
void SetDescription(const Aws::String &value)
UpdateScheduleRequest & WithScheduleExpressionTimezone(Aws::String &&value)
UpdateScheduleRequest & WithGroupName(const Aws::String &value)
void SetClientToken(Aws::String &&value)
UpdateScheduleRequest & WithName(const Aws::String &value)
void SetState(ScheduleState &&value)
UpdateScheduleRequest & WithGroupName(const char *value)
UpdateScheduleRequest & WithClientToken(const char *value)
void SetState(const ScheduleState &value)
bool TargetHasBeenSet() const
UpdateScheduleRequest & WithName(Aws::String &&value)
const Aws::String & GetDescription() const
UpdateScheduleRequest & WithKmsKeyArn(const Aws::String &value)
const Aws::String & GetClientToken() const
UpdateScheduleRequest & WithTarget(Target &&value)
bool ActionAfterCompletionHasBeenSet() const
UpdateScheduleRequest & WithEndDate(Aws::Utils::DateTime &&value)
void SetClientToken(const char *value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
void SetName(Aws::String &&value)
const Target & GetTarget() const
void SetStartDate(Aws::Utils::DateTime &&value)
void SetGroupName(Aws::String &&value)
bool KmsKeyArnHasBeenSet() const
AWS_SCHEDULER_API UpdateScheduleRequest()
void SetFlexibleTimeWindow(const FlexibleTimeWindow &value)
bool ScheduleExpressionHasBeenSet() const
bool ScheduleExpressionTimezoneHasBeenSet() const
bool GroupNameHasBeenSet() const
const Aws::Utils::DateTime & GetEndDate() const
bool StateHasBeenSet() const
void SetDescription(const char *value)
void SetActionAfterCompletion(const ActionAfterCompletion &value)
void SetTarget(const Target &value)
const FlexibleTimeWindow & GetFlexibleTimeWindow() const
void SetKmsKeyArn(const Aws::String &value)
UpdateScheduleRequest & WithFlexibleTimeWindow(FlexibleTimeWindow &&value)
UpdateScheduleRequest & WithDescription(const char *value)
UpdateScheduleRequest & WithClientToken(Aws::String &&value)
bool FlexibleTimeWindowHasBeenSet() const
void SetName(const char *value)
UpdateScheduleRequest & WithScheduleExpression(const Aws::String &value)
void SetKmsKeyArn(const char *value)
void SetTarget(Target &&value)
UpdateScheduleRequest & WithDescription(const Aws::String &value)
void SetActionAfterCompletion(ActionAfterCompletion &&value)
void SetFlexibleTimeWindow(FlexibleTimeWindow &&value)
bool ClientTokenHasBeenSet() const
UpdateScheduleRequest & WithScheduleExpression(const char *value)
void SetKmsKeyArn(Aws::String &&value)
UpdateScheduleRequest & WithStartDate(const Aws::Utils::DateTime &value)
void SetScheduleExpressionTimezone(const Aws::String &value)
UpdateScheduleRequest & WithTarget(const Target &value)
void SetEndDate(Aws::Utils::DateTime &&value)
const Aws::String & GetScheduleExpressionTimezone() const
const Aws::String & GetKmsKeyArn() const
void SetClientToken(const Aws::String &value)
void SetScheduleExpression(const char *value)
UpdateScheduleRequest & WithKmsKeyArn(const char *value)
bool DescriptionHasBeenSet() const
UpdateScheduleRequest & WithScheduleExpression(Aws::String &&value)
UpdateScheduleRequest & WithClientToken(const Aws::String &value)
bool NameHasBeenSet() const
UpdateScheduleRequest & WithStartDate(Aws::Utils::DateTime &&value)
UpdateScheduleRequest & WithScheduleExpressionTimezone(const char *value)
void SetDescription(Aws::String &&value)
UpdateScheduleRequest & WithEndDate(const Aws::Utils::DateTime &value)
const ActionAfterCompletion & GetActionAfterCompletion() const
void SetScheduleExpressionTimezone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String