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/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ScheduleState.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API Schedule();
37 AWS_GLUE_API Schedule(Aws::Utils::Json::JsonView jsonValue);
40
41
43
49 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
50 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
51 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
52 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
53 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
54 inline Schedule& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;}
55 inline Schedule& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
56 inline Schedule& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
58
60
63 inline const ScheduleState& GetState() const{ return m_state; }
64 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
65 inline void SetState(const ScheduleState& value) { m_stateHasBeenSet = true; m_state = value; }
66 inline void SetState(ScheduleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
67 inline Schedule& WithState(const ScheduleState& value) { SetState(value); return *this;}
68 inline Schedule& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_scheduleExpression;
73 bool m_scheduleExpressionHasBeenSet = false;
74
75 ScheduleState m_state;
76 bool m_stateHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Glue
81} // namespace Aws
void SetScheduleExpression(const char *value)
Definition Schedule.h:53
bool ScheduleExpressionHasBeenSet() const
Definition Schedule.h:50
void SetState(const ScheduleState &value)
Definition Schedule.h:65
Schedule & WithState(const ScheduleState &value)
Definition Schedule.h:67
Schedule & WithState(ScheduleState &&value)
Definition Schedule.h:68
void SetState(ScheduleState &&value)
Definition Schedule.h:66
AWS_GLUE_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetScheduleExpression() const
Definition Schedule.h:49
AWS_GLUE_API Schedule(Aws::Utils::Json::JsonView jsonValue)
void SetScheduleExpression(Aws::String &&value)
Definition Schedule.h:52
Schedule & WithScheduleExpression(Aws::String &&value)
Definition Schedule.h:55
Schedule & WithScheduleExpression(const char *value)
Definition Schedule.h:56
bool StateHasBeenSet() const
Definition Schedule.h:64
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Schedule & WithScheduleExpression(const Aws::String &value)
Definition Schedule.h:54
void SetScheduleExpression(const Aws::String &value)
Definition Schedule.h:51
const ScheduleState & GetState() const
Definition Schedule.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue