7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/scheduler/model/ActionAfterCompletion.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.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;
55 template<
typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
57 template<
typename ArnT = Aws::String>
66 template<
typename CreationDateT = Aws::Utils::DateTime>
67 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
68 template<
typename CreationDateT = Aws::Utils::DateTime>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
91 template<
typename EndDateT = Aws::Utils::DateTime>
92 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
93 template<
typename EndDateT = Aws::Utils::DateTime>
103 template<
typename FlexibleTimeWindowT = FlexibleTimeWindow>
104 void SetFlexibleTimeWindow(FlexibleTimeWindowT&& value) { m_flexibleTimeWindowHasBeenSet =
true; m_flexibleTimeWindow = std::forward<FlexibleTimeWindowT>(value); }
105 template<
typename FlexibleTimeWindowT = FlexibleTimeWindow>
114 template<
typename GroupNameT = Aws::String>
115 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
116 template<
typename GroupNameT = Aws::String>
126 template<
typename KmsKeyArnT = Aws::String>
127 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
128 template<
typename KmsKeyArnT = Aws::String>
137 template<
typename LastModificationDateT = Aws::Utils::DateTime>
138 void SetLastModificationDate(LastModificationDateT&& value) { m_lastModificationDateHasBeenSet =
true; m_lastModificationDate = std::forward<LastModificationDateT>(value); }
139 template<
typename LastModificationDateT = Aws::Utils::DateTime>
148 template<
typename NameT = Aws::String>
149 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
150 template<
typename NameT = Aws::String>
179 template<
typename ScheduleExpressionT = Aws::String>
180 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
181 template<
typename ScheduleExpressionT = Aws::String>
190 template<
typename ScheduleExpressionTimezoneT = Aws::String>
191 void SetScheduleExpressionTimezone(ScheduleExpressionTimezoneT&& value) { m_scheduleExpressionTimezoneHasBeenSet =
true; m_scheduleExpressionTimezone = std::forward<ScheduleExpressionTimezoneT>(value); }
192 template<
typename ScheduleExpressionTimezoneT = Aws::String>
204 template<
typename StartDateT = Aws::Utils::DateTime>
205 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
206 template<
typename StartDateT = Aws::Utils::DateTime>
224 template<
typename TargetT = Target>
225 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
226 template<
typename TargetT = Target>
233 template<
typename RequestIdT = Aws::String>
234 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
235 template<
typename RequestIdT = Aws::String>
241 bool m_actionAfterCompletionHasBeenSet =
false;
244 bool m_arnHasBeenSet =
false;
247 bool m_creationDateHasBeenSet =
false;
250 bool m_descriptionHasBeenSet =
false;
253 bool m_endDateHasBeenSet =
false;
255 FlexibleTimeWindow m_flexibleTimeWindow;
256 bool m_flexibleTimeWindowHasBeenSet =
false;
259 bool m_groupNameHasBeenSet =
false;
262 bool m_kmsKeyArnHasBeenSet =
false;
265 bool m_lastModificationDateHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
271 bool m_scheduleExpressionHasBeenSet =
false;
274 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
277 bool m_startDateHasBeenSet =
false;
280 bool m_stateHasBeenSet =
false;
283 bool m_targetHasBeenSet =
false;
286 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