AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetScheduleResult.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Scheduler
28{
29namespace Model
30{
32 {
33 public:
37
38
42 inline const Aws::String& GetArn() const{ return m_arn; }
43
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48
52 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58
62 inline GetScheduleResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63
67 inline GetScheduleResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68
72 inline GetScheduleResult& WithArn(const char* value) { SetArn(value); return *this;}
73
74
78 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
79
83 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
84
88 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
89
93 inline GetScheduleResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
94
98 inline GetScheduleResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
99
100
104 inline const Aws::String& GetDescription() const{ return m_description; }
105
109 inline void SetDescription(const Aws::String& value) { m_description = value; }
110
114 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
115
119 inline void SetDescription(const char* value) { m_description.assign(value); }
120
124 inline GetScheduleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125
129 inline GetScheduleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
130
134 inline GetScheduleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
135
136
143 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
144
151 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDate = value; }
152
159 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDate = std::move(value); }
160
167 inline GetScheduleResult& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
168
175 inline GetScheduleResult& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
176
177
182 inline const FlexibleTimeWindow& GetFlexibleTimeWindow() const{ return m_flexibleTimeWindow; }
183
188 inline void SetFlexibleTimeWindow(const FlexibleTimeWindow& value) { m_flexibleTimeWindow = value; }
189
194 inline void SetFlexibleTimeWindow(FlexibleTimeWindow&& value) { m_flexibleTimeWindow = std::move(value); }
195
201
206 inline GetScheduleResult& WithFlexibleTimeWindow(FlexibleTimeWindow&& value) { SetFlexibleTimeWindow(std::move(value)); return *this;}
207
208
212 inline const Aws::String& GetGroupName() const{ return m_groupName; }
213
217 inline void SetGroupName(const Aws::String& value) { m_groupName = value; }
218
222 inline void SetGroupName(Aws::String&& value) { m_groupName = std::move(value); }
223
227 inline void SetGroupName(const char* value) { m_groupName.assign(value); }
228
232 inline GetScheduleResult& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
233
237 inline GetScheduleResult& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
238
242 inline GetScheduleResult& WithGroupName(const char* value) { SetGroupName(value); return *this;}
243
244
249 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
250
255 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
256
261 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
262
267 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
268
273 inline GetScheduleResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
274
279 inline GetScheduleResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
280
285 inline GetScheduleResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
286
287
291 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
292
296 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDate = value; }
297
301 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDate = std::move(value); }
302
307
312
313
317 inline const Aws::String& GetName() const{ return m_name; }
318
322 inline void SetName(const Aws::String& value) { m_name = value; }
323
327 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
328
332 inline void SetName(const char* value) { m_name.assign(value); }
333
337 inline GetScheduleResult& WithName(const Aws::String& value) { SetName(value); return *this;}
338
342 inline GetScheduleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
343
347 inline GetScheduleResult& WithName(const char* value) { SetName(value); return *this;}
348
349
373 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
374
398 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpression = value; }
399
423 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpression = std::move(value); }
424
448 inline void SetScheduleExpression(const char* value) { m_scheduleExpression.assign(value); }
449
473 inline GetScheduleResult& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;}
474
498 inline GetScheduleResult& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
499
523 inline GetScheduleResult& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
524
525
529 inline const Aws::String& GetScheduleExpressionTimezone() const{ return m_scheduleExpressionTimezone; }
530
534 inline void SetScheduleExpressionTimezone(const Aws::String& value) { m_scheduleExpressionTimezone = value; }
535
539 inline void SetScheduleExpressionTimezone(Aws::String&& value) { m_scheduleExpressionTimezone = std::move(value); }
540
544 inline void SetScheduleExpressionTimezone(const char* value) { m_scheduleExpressionTimezone.assign(value); }
545
550
555
559 inline GetScheduleResult& WithScheduleExpressionTimezone(const char* value) { SetScheduleExpressionTimezone(value); return *this;}
560
561
568 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
569
576 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
577
584 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
585
592 inline GetScheduleResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
593
600 inline GetScheduleResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
601
602
606 inline const ScheduleState& GetState() const{ return m_state; }
607
611 inline void SetState(const ScheduleState& value) { m_state = value; }
612
616 inline void SetState(ScheduleState&& value) { m_state = std::move(value); }
617
621 inline GetScheduleResult& WithState(const ScheduleState& value) { SetState(value); return *this;}
622
626 inline GetScheduleResult& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;}
627
628
632 inline const Target& GetTarget() const{ return m_target; }
633
637 inline void SetTarget(const Target& value) { m_target = value; }
638
642 inline void SetTarget(Target&& value) { m_target = std::move(value); }
643
647 inline GetScheduleResult& WithTarget(const Target& value) { SetTarget(value); return *this;}
648
652 inline GetScheduleResult& WithTarget(Target&& value) { SetTarget(std::move(value)); return *this;}
653
654 private:
655
656 Aws::String m_arn;
657
658 Aws::Utils::DateTime m_creationDate;
659
660 Aws::String m_description;
661
662 Aws::Utils::DateTime m_endDate;
663
664 FlexibleTimeWindow m_flexibleTimeWindow;
665
666 Aws::String m_groupName;
667
668 Aws::String m_kmsKeyArn;
669
670 Aws::Utils::DateTime m_lastModificationDate;
671
672 Aws::String m_name;
673
674 Aws::String m_scheduleExpression;
675
676 Aws::String m_scheduleExpressionTimezone;
677
678 Aws::Utils::DateTime m_startDate;
679
680 ScheduleState m_state;
681
682 Target m_target;
683 };
684
685} // namespace Model
686} // namespace Scheduler
687} // namespace Aws
#define AWS_SCHEDULER_API
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)
const Aws::Utils::DateTime & GetLastModificationDate() const
const Aws::String & GetKmsKeyArn() const
GetScheduleResult & WithDescription(Aws::String &&value)
const Aws::String & GetScheduleExpressionTimezone() const
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)
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)
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)
const Aws::Utils::DateTime & GetStartDate() const
GetScheduleResult & WithDescription(const char *value)
GetScheduleResult & WithFlexibleTimeWindow(const FlexibleTimeWindow &value)
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)
const Aws::String & GetGroupName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String