7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/scheduler/Scheduler_EXPORTS.h>
10#include <aws/scheduler/model/ActionAfterCompletion.h>
11#include <aws/scheduler/model/FlexibleTimeWindow.h>
12#include <aws/scheduler/model/ScheduleState.h>
13#include <aws/scheduler/model/Target.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
41 m_actionAfterCompletionHasBeenSet =
true;
42 m_actionAfterCompletion = value;
55 template <
typename ArnT = Aws::String>
57 m_arnHasBeenSet =
true;
58 m_arn = std::forward<ArnT>(value);
60 template <
typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
72 template <
typename CreationDateT = Aws::Utils::DateTime>
74 m_creationDateHasBeenSet =
true;
75 m_creationDate = std::forward<CreationDateT>(value);
77 template <
typename CreationDateT = Aws::Utils::DateTime>
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
109 template <
typename EndDateT = Aws::Utils::DateTime>
111 m_endDateHasBeenSet =
true;
112 m_endDate = std::forward<EndDateT>(value);
114 template <
typename EndDateT = Aws::Utils::DateTime>
127 template <
typename FlexibleTimeWindowT = FlexibleTimeWindow>
129 m_flexibleTimeWindowHasBeenSet =
true;
130 m_flexibleTimeWindow = std::forward<FlexibleTimeWindowT>(value);
132 template <
typename FlexibleTimeWindowT = FlexibleTimeWindow>
144 template <
typename GroupNameT = Aws::String>
146 m_groupNameHasBeenSet =
true;
147 m_groupName = std::forward<GroupNameT>(value);
149 template <
typename GroupNameT = Aws::String>
162 template <
typename KmsKeyArnT = Aws::String>
164 m_kmsKeyArnHasBeenSet =
true;
165 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
167 template <
typename KmsKeyArnT = Aws::String>
179 template <
typename LastModificationDateT = Aws::Utils::DateTime>
181 m_lastModificationDateHasBeenSet =
true;
182 m_lastModificationDate = std::forward<LastModificationDateT>(value);
184 template <
typename LastModificationDateT = Aws::Utils::DateTime>
196 template <
typename NameT = Aws::String>
198 m_nameHasBeenSet =
true;
199 m_name = std::forward<NameT>(value);
201 template <
typename NameT = Aws::String>
203 SetName(std::forward<NameT>(value));
233 template <
typename ScheduleExpressionT = Aws::String>
235 m_scheduleExpressionHasBeenSet =
true;
236 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
238 template <
typename ScheduleExpressionT = Aws::String>
250 template <
typename ScheduleExpressionTimezoneT = Aws::String>
252 m_scheduleExpressionTimezoneHasBeenSet =
true;
253 m_scheduleExpressionTimezone = std::forward<ScheduleExpressionTimezoneT>(value);
255 template <
typename ScheduleExpressionTimezoneT = Aws::String>
270 template <
typename StartDateT = Aws::Utils::DateTime>
272 m_startDateHasBeenSet =
true;
273 m_startDate = std::forward<StartDateT>(value);
275 template <
typename StartDateT = Aws::Utils::DateTime>
288 m_stateHasBeenSet =
true;
302 template <
typename TargetT = Target>
304 m_targetHasBeenSet =
true;
305 m_target = std::forward<TargetT>(value);
307 template <
typename TargetT = Target>
317 template <
typename RequestIdT = Aws::String>
319 m_requestIdHasBeenSet =
true;
320 m_requestId = std::forward<RequestIdT>(value);
322 template <
typename RequestIdT = Aws::String>
339 FlexibleTimeWindow m_flexibleTimeWindow;
360 bool m_actionAfterCompletionHasBeenSet =
false;
361 bool m_arnHasBeenSet =
false;
362 bool m_creationDateHasBeenSet =
false;
363 bool m_descriptionHasBeenSet =
false;
364 bool m_endDateHasBeenSet =
false;
365 bool m_flexibleTimeWindowHasBeenSet =
false;
366 bool m_groupNameHasBeenSet =
false;
367 bool m_kmsKeyArnHasBeenSet =
false;
368 bool m_lastModificationDateHasBeenSet =
false;
369 bool m_nameHasBeenSet =
false;
370 bool m_scheduleExpressionHasBeenSet =
false;
371 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
372 bool m_startDateHasBeenSet =
false;
373 bool m_stateHasBeenSet =
false;
374 bool m_targetHasBeenSet =
false;
375 bool m_requestIdHasBeenSet =
false;
GetScheduleResult & WithState(ScheduleState value)
const Aws::Utils::DateTime & GetLastModificationDate() const
const Aws::String & GetKmsKeyArn() const
void SetGroupName(GroupNameT &&value)
void SetStartDate(StartDateT &&value)
void SetState(ScheduleState value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
GetScheduleResult & WithGroupName(GroupNameT &&value)
const Aws::String & GetScheduleExpressionTimezone() const
ActionAfterCompletion GetActionAfterCompletion() const
void SetTarget(TargetT &&value)
AWS_SCHEDULER_API GetScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScheduleResult & WithLastModificationDate(LastModificationDateT &&value)
void SetLastModificationDate(LastModificationDateT &&value)
GetScheduleResult & WithTarget(TargetT &&value)
GetScheduleResult & WithCreationDate(CreationDateT &&value)
GetScheduleResult & WithStartDate(StartDateT &&value)
GetScheduleResult & WithActionAfterCompletion(ActionAfterCompletion value)
void SetCreationDate(CreationDateT &&value)
void SetName(NameT &&value)
void SetActionAfterCompletion(ActionAfterCompletion value)
void SetFlexibleTimeWindow(FlexibleTimeWindowT &&value)
const Aws::String & GetScheduleExpression() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetScheduleExpression(ScheduleExpressionT &&value)
AWS_SCHEDULER_API GetScheduleResult()=default
GetScheduleResult & WithArn(ArnT &&value)
const Aws::String & GetDescription() const
AWS_SCHEDULER_API GetScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScheduleResult & WithName(NameT &&value)
GetScheduleResult & WithFlexibleTimeWindow(FlexibleTimeWindowT &&value)
const Aws::Utils::DateTime & GetEndDate() const
void SetScheduleExpressionTimezone(ScheduleExpressionTimezoneT &&value)
GetScheduleResult & WithRequestId(RequestIdT &&value)
GetScheduleResult & WithScheduleExpressionTimezone(ScheduleExpressionTimezoneT &&value)
void SetKmsKeyArn(KmsKeyArnT &&value)
const FlexibleTimeWindow & GetFlexibleTimeWindow() const
ScheduleState GetState() const
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetRequestId() const
GetScheduleResult & WithScheduleExpression(ScheduleExpressionT &&value)
const Aws::Utils::DateTime & GetStartDate() const
const Target & GetTarget() const
GetScheduleResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetScheduleResult & WithEndDate(EndDateT &&value)
GetScheduleResult & WithDescription(DescriptionT &&value)
void SetEndDate(EndDateT &&value)
const Aws::String & GetGroupName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue