7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/scheduler/Scheduler_EXPORTS.h>
11#include <aws/scheduler/model/ActionAfterCompletion.h>
12#include <aws/scheduler/model/FlexibleTimeWindow.h>
13#include <aws/scheduler/model/ScheduleState.h>
14#include <aws/scheduler/model/Target.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
42 m_actionAfterCompletionHasBeenSet =
true;
43 m_actionAfterCompletion = value;
56 template <
typename ArnT = Aws::String>
58 m_arnHasBeenSet =
true;
59 m_arn = std::forward<ArnT>(value);
61 template <
typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
73 template <
typename CreationDateT = Aws::Utils::DateTime>
75 m_creationDateHasBeenSet =
true;
76 m_creationDate = std::forward<CreationDateT>(value);
78 template <
typename CreationDateT = Aws::Utils::DateTime>
90 template <
typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet =
true;
93 m_description = std::forward<DescriptionT>(value);
95 template <
typename DescriptionT = Aws::String>
110 template <
typename EndDateT = Aws::Utils::DateTime>
112 m_endDateHasBeenSet =
true;
113 m_endDate = std::forward<EndDateT>(value);
115 template <
typename EndDateT = Aws::Utils::DateTime>
128 template <
typename FlexibleTimeWindowT = FlexibleTimeWindow>
130 m_flexibleTimeWindowHasBeenSet =
true;
131 m_flexibleTimeWindow = std::forward<FlexibleTimeWindowT>(value);
133 template <
typename FlexibleTimeWindowT = FlexibleTimeWindow>
145 template <
typename GroupNameT = Aws::String>
147 m_groupNameHasBeenSet =
true;
148 m_groupName = std::forward<GroupNameT>(value);
150 template <
typename GroupNameT = Aws::String>
163 template <
typename KmsKeyArnT = Aws::String>
165 m_kmsKeyArnHasBeenSet =
true;
166 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
168 template <
typename KmsKeyArnT = Aws::String>
180 template <
typename LastModificationDateT = Aws::Utils::DateTime>
182 m_lastModificationDateHasBeenSet =
true;
183 m_lastModificationDate = std::forward<LastModificationDateT>(value);
185 template <
typename LastModificationDateT = Aws::Utils::DateTime>
197 template <
typename NameT = Aws::String>
199 m_nameHasBeenSet =
true;
200 m_name = std::forward<NameT>(value);
202 template <
typename NameT = Aws::String>
204 SetName(std::forward<NameT>(value));
234 template <
typename ScheduleExpressionT = Aws::String>
236 m_scheduleExpressionHasBeenSet =
true;
237 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
239 template <
typename ScheduleExpressionT = Aws::String>
251 template <
typename ScheduleExpressionTimezoneT = Aws::String>
253 m_scheduleExpressionTimezoneHasBeenSet =
true;
254 m_scheduleExpressionTimezone = std::forward<ScheduleExpressionTimezoneT>(value);
256 template <
typename ScheduleExpressionTimezoneT = Aws::String>
271 template <
typename StartDateT = Aws::Utils::DateTime>
273 m_startDateHasBeenSet =
true;
274 m_startDate = std::forward<StartDateT>(value);
276 template <
typename StartDateT = Aws::Utils::DateTime>
289 m_stateHasBeenSet =
true;
303 template <
typename TargetT = Target>
305 m_targetHasBeenSet =
true;
306 m_target = std::forward<TargetT>(value);
308 template <
typename TargetT = Target>
318 template <
typename RequestIdT = Aws::String>
320 m_requestIdHasBeenSet =
true;
321 m_requestId = std::forward<RequestIdT>(value);
323 template <
typename RequestIdT = Aws::String>
342 FlexibleTimeWindow m_flexibleTimeWindow;
364 bool m_actionAfterCompletionHasBeenSet =
false;
365 bool m_arnHasBeenSet =
false;
366 bool m_creationDateHasBeenSet =
false;
367 bool m_descriptionHasBeenSet =
false;
368 bool m_endDateHasBeenSet =
false;
369 bool m_flexibleTimeWindowHasBeenSet =
false;
370 bool m_groupNameHasBeenSet =
false;
371 bool m_kmsKeyArnHasBeenSet =
false;
372 bool m_lastModificationDateHasBeenSet =
false;
373 bool m_nameHasBeenSet =
false;
374 bool m_scheduleExpressionHasBeenSet =
false;
375 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
376 bool m_startDateHasBeenSet =
false;
377 bool m_stateHasBeenSet =
false;
378 bool m_targetHasBeenSet =
false;
379 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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