AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppIntegrationsService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration() = default;
36 AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetFirstExecutionFrom() const { return m_firstExecutionFrom; }
47 inline bool FirstExecutionFromHasBeenSet() const { return m_firstExecutionFromHasBeenSet; }
48 template<typename FirstExecutionFromT = Aws::String>
49 void SetFirstExecutionFrom(FirstExecutionFromT&& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = std::forward<FirstExecutionFromT>(value); }
50 template<typename FirstExecutionFromT = Aws::String>
51 ScheduleConfiguration& WithFirstExecutionFrom(FirstExecutionFromT&& value) { SetFirstExecutionFrom(std::forward<FirstExecutionFromT>(value)); return *this;}
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) { m_objectHasBeenSet = true; m_object = std::forward<ObjectT>(value); }
62 template<typename ObjectT = Aws::String>
63 ScheduleConfiguration& WithObject(ObjectT&& value) { SetObject(std::forward<ObjectT>(value)); return *this;}
65
67
70 inline const Aws::String& GetScheduleExpression() const { return m_scheduleExpression; }
71 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
72 template<typename ScheduleExpressionT = Aws::String>
73 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
74 template<typename ScheduleExpressionT = Aws::String>
75 ScheduleConfiguration& WithScheduleExpression(ScheduleExpressionT&& value) { SetScheduleExpression(std::forward<ScheduleExpressionT>(value)); return *this;}
77 private:
78
79 Aws::String m_firstExecutionFrom;
80 bool m_firstExecutionFromHasBeenSet = false;
81
82 Aws::String m_object;
83 bool m_objectHasBeenSet = false;
84
85 Aws::String m_scheduleExpression;
86 bool m_scheduleExpressionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AppIntegrationsService
91} // 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