AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ScheduleExpressionT = Aws::String>
53 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
54 template<typename ScheduleExpressionT = Aws::String>
55 Schedule& WithScheduleExpression(ScheduleExpressionT&& value) { SetScheduleExpression(std::forward<ScheduleExpressionT>(value)); return *this;}
57
59
65 inline const Aws::String& GetTimezone() const { return m_timezone; }
66 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
67 template<typename TimezoneT = Aws::String>
68 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
69 template<typename TimezoneT = Aws::String>
70 Schedule& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
72
74
88 inline PipelineExecutionStartCondition GetPipelineExecutionStartCondition() const { return m_pipelineExecutionStartCondition; }
89 inline bool PipelineExecutionStartConditionHasBeenSet() const { return m_pipelineExecutionStartConditionHasBeenSet; }
90 inline void SetPipelineExecutionStartCondition(PipelineExecutionStartCondition value) { m_pipelineExecutionStartConditionHasBeenSet = true; m_pipelineExecutionStartCondition = value; }
93 private:
94
95 Aws::String m_scheduleExpression;
96 bool m_scheduleExpressionHasBeenSet = false;
97
98 Aws::String m_timezone;
99 bool m_timezoneHasBeenSet = false;
100
102 bool m_pipelineExecutionStartConditionHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace imagebuilder
107} // namespace Aws
void SetTimezone(TimezoneT &&value)
Definition Schedule.h:68
PipelineExecutionStartCondition GetPipelineExecutionStartCondition() const
Definition Schedule.h:88
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Schedule & WithScheduleExpression(ScheduleExpressionT &&value)
Definition Schedule.h:55
bool PipelineExecutionStartConditionHasBeenSet() const
Definition Schedule.h:89
const Aws::String & GetTimezone() const
Definition Schedule.h:65
bool ScheduleExpressionHasBeenSet() const
Definition Schedule.h:51
Schedule & WithTimezone(TimezoneT &&value)
Definition Schedule.h:70
AWS_IMAGEBUILDER_API Schedule()=default
Schedule & WithPipelineExecutionStartCondition(PipelineExecutionStartCondition value)
Definition Schedule.h:91
AWS_IMAGEBUILDER_API Schedule(Aws::Utils::Json::JsonView jsonValue)
void SetPipelineExecutionStartCondition(PipelineExecutionStartCondition value)
Definition Schedule.h:90
const Aws::String & GetScheduleExpression() const
Definition Schedule.h:50
void SetScheduleExpression(ScheduleExpressionT &&value)
Definition Schedule.h:53
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