AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Schedule.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/PipelineExecutionStartCondition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API Schedule();
37 AWS_IMAGEBUILDER_API Schedule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API Schedule& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
51 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
52 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
53 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
54 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
55 inline Schedule& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;}
56 inline Schedule& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
57 inline Schedule& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
59
61
67 inline const Aws::String& GetTimezone() const{ return m_timezone; }
68 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
69 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
70 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
71 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
72 inline Schedule& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
73 inline Schedule& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
74 inline Schedule& WithTimezone(const char* value) { SetTimezone(value); return *this;}
76
78
91 inline const PipelineExecutionStartCondition& GetPipelineExecutionStartCondition() const{ return m_pipelineExecutionStartCondition; }
92 inline bool PipelineExecutionStartConditionHasBeenSet() const { return m_pipelineExecutionStartConditionHasBeenSet; }
93 inline void SetPipelineExecutionStartCondition(const PipelineExecutionStartCondition& value) { m_pipelineExecutionStartConditionHasBeenSet = true; m_pipelineExecutionStartCondition = value; }
94 inline void SetPipelineExecutionStartCondition(PipelineExecutionStartCondition&& value) { m_pipelineExecutionStartConditionHasBeenSet = true; m_pipelineExecutionStartCondition = std::move(value); }
98 private:
99
100 Aws::String m_scheduleExpression;
101 bool m_scheduleExpressionHasBeenSet = false;
102
103 Aws::String m_timezone;
104 bool m_timezoneHasBeenSet = false;
105
106 PipelineExecutionStartCondition m_pipelineExecutionStartCondition;
107 bool m_pipelineExecutionStartConditionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace imagebuilder
112} // namespace Aws
Schedule & WithPipelineExecutionStartCondition(PipelineExecutionStartCondition &&value)
Definition Schedule.h:96
Schedule & WithTimezone(const char *value)
Definition Schedule.h:74
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Schedule & WithScheduleExpression(Aws::String &&value)
Definition Schedule.h:56
bool PipelineExecutionStartConditionHasBeenSet() const
Definition Schedule.h:92
Schedule & WithScheduleExpression(const char *value)
Definition Schedule.h:57
void SetScheduleExpression(Aws::String &&value)
Definition Schedule.h:53
const PipelineExecutionStartCondition & GetPipelineExecutionStartCondition() const
Definition Schedule.h:91
Schedule & WithScheduleExpression(const Aws::String &value)
Definition Schedule.h:55
const Aws::String & GetTimezone() const
Definition Schedule.h:67
void SetTimezone(const Aws::String &value)
Definition Schedule.h:69
bool ScheduleExpressionHasBeenSet() const
Definition Schedule.h:51
void SetScheduleExpression(const Aws::String &value)
Definition Schedule.h:52
AWS_IMAGEBUILDER_API Schedule(Aws::Utils::Json::JsonView jsonValue)
Schedule & WithTimezone(const Aws::String &value)
Definition Schedule.h:72
const Aws::String & GetScheduleExpression() const
Definition Schedule.h:50
void SetPipelineExecutionStartCondition(PipelineExecutionStartCondition &&value)
Definition Schedule.h:94
Schedule & WithTimezone(Aws::String &&value)
Definition Schedule.h:73
AWS_IMAGEBUILDER_API Schedule()
void SetScheduleExpression(const char *value)
Definition Schedule.h:54
void SetPipelineExecutionStartCondition(const PipelineExecutionStartCondition &value)
Definition Schedule.h:93
void SetTimezone(const char *value)
Definition Schedule.h:71
Schedule & WithPipelineExecutionStartCondition(const PipelineExecutionStartCondition &value)
Definition Schedule.h:95
void SetTimezone(Aws::String &&value)
Definition Schedule.h:70
AWS_IMAGEBUILDER_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue