AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetScheduleResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Scheduler
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SCHEDULER_API GetScheduleResult();
38
39
41
45 inline const ActionAfterCompletion& GetActionAfterCompletion() const{ return m_actionAfterCompletion; }
46 inline void SetActionAfterCompletion(const ActionAfterCompletion& value) { m_actionAfterCompletion = value; }
47 inline void SetActionAfterCompletion(ActionAfterCompletion&& value) { m_actionAfterCompletion = std::move(value); }
51
53
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline void SetArn(const Aws::String& value) { m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arn.assign(value); }
60 inline GetScheduleResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline GetScheduleResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline GetScheduleResult& WithArn(const char* value) { SetArn(value); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
70 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
71 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
72 inline GetScheduleResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
73 inline GetScheduleResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline void SetDescription(const Aws::String& value) { m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_description.assign(value); }
84 inline GetScheduleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline GetScheduleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline GetScheduleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
96 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
97 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDate = value; }
98 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDate = std::move(value); }
99 inline GetScheduleResult& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
100 inline GetScheduleResult& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
102
104
108 inline const FlexibleTimeWindow& GetFlexibleTimeWindow() const{ return m_flexibleTimeWindow; }
109 inline void SetFlexibleTimeWindow(const FlexibleTimeWindow& value) { m_flexibleTimeWindow = value; }
110 inline void SetFlexibleTimeWindow(FlexibleTimeWindow&& value) { m_flexibleTimeWindow = std::move(value); }
112 inline GetScheduleResult& WithFlexibleTimeWindow(FlexibleTimeWindow&& value) { SetFlexibleTimeWindow(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetGroupName() const{ return m_groupName; }
120 inline void SetGroupName(const Aws::String& value) { m_groupName = value; }
121 inline void SetGroupName(Aws::String&& value) { m_groupName = std::move(value); }
122 inline void SetGroupName(const char* value) { m_groupName.assign(value); }
123 inline GetScheduleResult& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
124 inline GetScheduleResult& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
125 inline GetScheduleResult& WithGroupName(const char* value) { SetGroupName(value); return *this;}
127
129
133 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
134 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
135 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
136 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
137 inline GetScheduleResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
138 inline GetScheduleResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
139 inline GetScheduleResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
147 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDate = value; }
148 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDate = std::move(value); }
152
154
157 inline const Aws::String& GetName() const{ return m_name; }
158 inline void SetName(const Aws::String& value) { m_name = value; }
159 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
160 inline void SetName(const char* value) { m_name.assign(value); }
161 inline GetScheduleResult& WithName(const Aws::String& value) { SetName(value); return *this;}
162 inline GetScheduleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
163 inline GetScheduleResult& WithName(const char* value) { SetName(value); return *this;}
165
167
190 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
191 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpression = value; }
192 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpression = std::move(value); }
193 inline void SetScheduleExpression(const char* value) { m_scheduleExpression.assign(value); }
194 inline GetScheduleResult& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;}
195 inline GetScheduleResult& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
196 inline GetScheduleResult& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
198
200
203 inline const Aws::String& GetScheduleExpressionTimezone() const{ return m_scheduleExpressionTimezone; }
204 inline void SetScheduleExpressionTimezone(const Aws::String& value) { m_scheduleExpressionTimezone = value; }
205 inline void SetScheduleExpressionTimezone(Aws::String&& value) { m_scheduleExpressionTimezone = std::move(value); }
206 inline void SetScheduleExpressionTimezone(const char* value) { m_scheduleExpressionTimezone.assign(value); }
209 inline GetScheduleResult& WithScheduleExpressionTimezone(const char* value) { SetScheduleExpressionTimezone(value); return *this;}
211
213
219 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
220 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
221 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
222 inline GetScheduleResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
223 inline GetScheduleResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
225
227
230 inline const ScheduleState& GetState() const{ return m_state; }
231 inline void SetState(const ScheduleState& value) { m_state = value; }
232 inline void SetState(ScheduleState&& value) { m_state = std::move(value); }
233 inline GetScheduleResult& WithState(const ScheduleState& value) { SetState(value); return *this;}
234 inline GetScheduleResult& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;}
236
238
241 inline const Target& GetTarget() const{ return m_target; }
242 inline void SetTarget(const Target& value) { m_target = value; }
243 inline void SetTarget(Target&& value) { m_target = std::move(value); }
244 inline GetScheduleResult& WithTarget(const Target& value) { SetTarget(value); return *this;}
245 inline GetScheduleResult& WithTarget(Target&& value) { SetTarget(std::move(value)); return *this;}
247
249
250 inline const Aws::String& GetRequestId() const{ return m_requestId; }
251 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
252 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
253 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
254 inline GetScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
255 inline GetScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
256 inline GetScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
258 private:
259
260 ActionAfterCompletion m_actionAfterCompletion;
261
262 Aws::String m_arn;
263
264 Aws::Utils::DateTime m_creationDate;
265
266 Aws::String m_description;
267
268 Aws::Utils::DateTime m_endDate;
269
270 FlexibleTimeWindow m_flexibleTimeWindow;
271
272 Aws::String m_groupName;
273
274 Aws::String m_kmsKeyArn;
275
276 Aws::Utils::DateTime m_lastModificationDate;
277
278 Aws::String m_name;
279
280 Aws::String m_scheduleExpression;
281
282 Aws::String m_scheduleExpressionTimezone;
283
284 Aws::Utils::DateTime m_startDate;
285
286 ScheduleState m_state;
287
288 Target m_target;
289
290 Aws::String m_requestId;
291 };
292
293} // namespace Model
294} // namespace Scheduler
295} // namespace Aws
GetScheduleResult & WithLastModificationDate(Aws::Utils::DateTime &&value)
GetScheduleResult & WithTarget(const Target &value)
void SetScheduleExpression(const Aws::String &value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
GetScheduleResult & WithScheduleExpressionTimezone(const Aws::String &value)
GetScheduleResult & WithRequestId(const Aws::String &value)
GetScheduleResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLastModificationDate() const
GetScheduleResult & WithActionAfterCompletion(ActionAfterCompletion &&value)
GetScheduleResult & WithDescription(Aws::String &&value)
void SetActionAfterCompletion(ActionAfterCompletion &&value)
const Aws::String & GetScheduleExpressionTimezone() const
GetScheduleResult & WithActionAfterCompletion(const ActionAfterCompletion &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
GetScheduleResult & WithScheduleExpression(const Aws::String &value)
GetScheduleResult & WithKmsKeyArn(const char *value)
AWS_SCHEDULER_API GetScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStartDate(const Aws::Utils::DateTime &value)
GetScheduleResult & WithDescription(const Aws::String &value)
GetScheduleResult & WithScheduleExpression(Aws::String &&value)
GetScheduleResult & WithArn(const Aws::String &value)
GetScheduleResult & WithScheduleExpression(const char *value)
void SetKmsKeyArn(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
void SetGroupName(const Aws::String &value)
GetScheduleResult & WithScheduleExpressionTimezone(Aws::String &&value)
GetScheduleResult & WithName(const char *value)
GetScheduleResult & WithEndDate(Aws::Utils::DateTime &&value)
GetScheduleResult & WithGroupName(const Aws::String &value)
const Aws::String & GetScheduleExpression() const
GetScheduleResult & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const ScheduleState & GetState() const
GetScheduleResult & WithArn(Aws::String &&value)
const Aws::String & GetDescription() const
AWS_SCHEDULER_API GetScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEndDate(Aws::Utils::DateTime &&value)
GetScheduleResult & WithName(const Aws::String &value)
void SetScheduleExpressionTimezone(const char *value)
void SetActionAfterCompletion(const ActionAfterCompletion &value)
GetScheduleResult & WithState(const ScheduleState &value)
GetScheduleResult & WithKmsKeyArn(Aws::String &&value)
void SetScheduleExpressionTimezone(const Aws::String &value)
GetScheduleResult & WithScheduleExpressionTimezone(const char *value)
void SetEndDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndDate() const
void SetFlexibleTimeWindow(const FlexibleTimeWindow &value)
void SetState(const ScheduleState &value)
GetScheduleResult & WithArn(const char *value)
GetScheduleResult & WithState(ScheduleState &&value)
void SetStartDate(Aws::Utils::DateTime &&value)
const FlexibleTimeWindow & GetFlexibleTimeWindow() const
GetScheduleResult & WithTarget(Target &&value)
void SetScheduleExpression(Aws::String &&value)
GetScheduleResult & WithLastModificationDate(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
GetScheduleResult & WithFlexibleTimeWindow(FlexibleTimeWindow &&value)
GetScheduleResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetScheduleResult & WithEndDate(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
GetScheduleResult & WithStartDate(Aws::Utils::DateTime &&value)
GetScheduleResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartDate() const
GetScheduleResult & WithDescription(const char *value)
GetScheduleResult & WithFlexibleTimeWindow(const FlexibleTimeWindow &value)
const ActionAfterCompletion & GetActionAfterCompletion() const
void SetArn(const Aws::String &value)
GetScheduleResult & WithGroupName(Aws::String &&value)
void SetScheduleExpressionTimezone(Aws::String &&value)
GetScheduleResult & WithName(Aws::String &&value)
GetScheduleResult & WithGroupName(const char *value)
GetScheduleResult & WithStartDate(const Aws::Utils::DateTime &value)
GetScheduleResult & WithKmsKeyArn(const Aws::String &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
void SetFlexibleTimeWindow(FlexibleTimeWindow &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue