AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppIntegrationsService {
20namespace Model {
21
29 public:
30 AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration() = default;
31 AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetFirstExecutionFrom() const { return m_firstExecutionFrom; }
41 inline bool FirstExecutionFromHasBeenSet() const { return m_firstExecutionFromHasBeenSet; }
42 template <typename FirstExecutionFromT = Aws::String>
43 void SetFirstExecutionFrom(FirstExecutionFromT&& value) {
44 m_firstExecutionFromHasBeenSet = true;
45 m_firstExecutionFrom = std::forward<FirstExecutionFromT>(value);
46 }
47 template <typename FirstExecutionFromT = Aws::String>
48 ScheduleConfiguration& WithFirstExecutionFrom(FirstExecutionFromT&& value) {
49 SetFirstExecutionFrom(std::forward<FirstExecutionFromT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetObject() const { return m_object; }
59 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
60 template <typename ObjectT = Aws::String>
61 void SetObject(ObjectT&& value) {
62 m_objectHasBeenSet = true;
63 m_object = std::forward<ObjectT>(value);
64 }
65 template <typename ObjectT = Aws::String>
67 SetObject(std::forward<ObjectT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetScheduleExpression() const { return m_scheduleExpression; }
77 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
78 template <typename ScheduleExpressionT = Aws::String>
79 void SetScheduleExpression(ScheduleExpressionT&& value) {
80 m_scheduleExpressionHasBeenSet = true;
81 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
82 }
83 template <typename ScheduleExpressionT = Aws::String>
84 ScheduleConfiguration& WithScheduleExpression(ScheduleExpressionT&& value) {
85 SetScheduleExpression(std::forward<ScheduleExpressionT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_firstExecutionFrom;
91
92 Aws::String m_object;
93
94 Aws::String m_scheduleExpression;
95 bool m_firstExecutionFromHasBeenSet = false;
96 bool m_objectHasBeenSet = false;
97 bool m_scheduleExpressionHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AppIntegrationsService
102} // namespace Aws
ScheduleConfiguration & WithScheduleExpression(ScheduleExpressionT &&value)
AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithFirstExecutionFrom(FirstExecutionFromT &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue