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); }
121 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
136 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
150 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
184 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
237 inline void SetTarget(
const Target& value) { m_targetHasBeenSet =
true; m_target = value; }
238 inline void SetTarget(
Target&& value) { m_targetHasBeenSet =
true; m_target = std::move(value); }
245 bool m_actionAfterCompletionHasBeenSet =
false;
248 bool m_clientTokenHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
254 bool m_endDateHasBeenSet =
false;
257 bool m_flexibleTimeWindowHasBeenSet =
false;
260 bool m_groupNameHasBeenSet =
false;
263 bool m_kmsKeyArnHasBeenSet =
false;
266 bool m_nameHasBeenSet =
false;
269 bool m_scheduleExpressionHasBeenSet =
false;
272 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
275 bool m_startDateHasBeenSet =
false;
278 bool m_stateHasBeenSet =
false;
281 bool m_targetHasBeenSet =
false;
void SetDescription(Aws::String &&value)
CreateScheduleRequest & WithScheduleExpression(const Aws::String &value)
void SetClientToken(const char *value)
bool FlexibleTimeWindowHasBeenSet() const
const Aws::String & GetScheduleExpression() const
void SetTarget(Target &&value)
bool ClientTokenHasBeenSet() const
AWS_SCHEDULER_API Aws::String SerializePayload() const override
CreateScheduleRequest & WithKmsKeyArn(const Aws::String &value)
CreateScheduleRequest & WithDescription(const char *value)
const ActionAfterCompletion & GetActionAfterCompletion() const
void SetClientToken(const Aws::String &value)
void SetScheduleExpressionTimezone(Aws::String &&value)
void SetGroupName(const char *value)
CreateScheduleRequest & WithEndDate(const Aws::Utils::DateTime &value)
void SetEndDate(Aws::Utils::DateTime &&value)
CreateScheduleRequest & WithActionAfterCompletion(const ActionAfterCompletion &value)
CreateScheduleRequest & WithClientToken(const char *value)
void SetKmsKeyArn(const char *value)
void SetGroupName(Aws::String &&value)
CreateScheduleRequest & WithDescription(const Aws::String &value)
void SetKmsKeyArn(Aws::String &&value)
void SetStartDate(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
CreateScheduleRequest & WithGroupName(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetClientToken() const
void SetEndDate(const Aws::Utils::DateTime &value)
CreateScheduleRequest & WithActionAfterCompletion(ActionAfterCompletion &&value)
bool GroupNameHasBeenSet() const
void SetFlexibleTimeWindow(FlexibleTimeWindow &&value)
CreateScheduleRequest & WithScheduleExpressionTimezone(const Aws::String &value)
const Aws::String & GetScheduleExpressionTimezone() const
bool StartDateHasBeenSet() const
AWS_SCHEDULER_API CreateScheduleRequest()
CreateScheduleRequest & WithGroupName(Aws::String &&value)
void SetKmsKeyArn(const Aws::String &value)
CreateScheduleRequest & WithStartDate(Aws::Utils::DateTime &&value)
const Aws::String & GetKmsKeyArn() const
void SetScheduleExpression(const char *value)
void SetActionAfterCompletion(const ActionAfterCompletion &value)
CreateScheduleRequest & WithScheduleExpression(Aws::String &&value)
CreateScheduleRequest & WithFlexibleTimeWindow(const FlexibleTimeWindow &value)
CreateScheduleRequest & WithTarget(const Target &value)
CreateScheduleRequest & WithClientToken(Aws::String &&value)
void SetScheduleExpressionTimezone(const char *value)
CreateScheduleRequest & WithName(const char *value)
const Aws::String & GetDescription() const
bool ActionAfterCompletionHasBeenSet() const
void SetTarget(const Target &value)
CreateScheduleRequest & WithTarget(Target &&value)
const FlexibleTimeWindow & GetFlexibleTimeWindow() const
CreateScheduleRequest & WithScheduleExpressionTimezone(Aws::String &&value)
bool StateHasBeenSet() const
CreateScheduleRequest & WithStartDate(const Aws::Utils::DateTime &value)
CreateScheduleRequest & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetGroupName(const Aws::String &value)
void SetDescription(const char *value)
CreateScheduleRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetName(const Aws::String &value)
const Aws::String & GetGroupName() const
const ScheduleState & GetState() const
bool KmsKeyArnHasBeenSet() const
CreateScheduleRequest & WithScheduleExpression(const char *value)
bool TargetHasBeenSet() const
CreateScheduleRequest & WithFlexibleTimeWindow(FlexibleTimeWindow &&value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
CreateScheduleRequest & WithState(ScheduleState &&value)
CreateScheduleRequest & WithName(Aws::String &&value)
void SetState(const ScheduleState &value)
void SetClientToken(Aws::String &&value)
const Aws::Utils::DateTime & GetEndDate() const
void SetScheduleExpressionTimezone(const Aws::String &value)
CreateScheduleRequest & WithKmsKeyArn(const char *value)
void SetScheduleExpression(Aws::String &&value)
bool EndDateHasBeenSet() const
void SetScheduleExpression(const Aws::String &value)
CreateScheduleRequest & WithGroupName(const char *value)
void SetDescription(const Aws::String &value)
CreateScheduleRequest & WithClientToken(const Aws::String &value)
const Aws::Utils::DateTime & GetStartDate() const
void SetStartDate(Aws::Utils::DateTime &&value)
CreateScheduleRequest & WithScheduleExpressionTimezone(const char *value)
bool ScheduleExpressionHasBeenSet() const
const Target & GetTarget() const
bool ScheduleExpressionTimezoneHasBeenSet() const
void SetState(ScheduleState &&value)
CreateScheduleRequest & WithState(const ScheduleState &value)
CreateScheduleRequest & WithKmsKeyArn(Aws::String &&value)
CreateScheduleRequest & WithEndDate(Aws::Utils::DateTime &&value)
void SetActionAfterCompletion(ActionAfterCompletion &&value)
void SetFlexibleTimeWindow(const FlexibleTimeWindow &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String