AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFirstExecutionFrom(const Aws::String& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = value; }
49 inline void SetFirstExecutionFrom(Aws::String&& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = std::move(value); }
50 inline void SetFirstExecutionFrom(const char* value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom.assign(value); }
52 inline ScheduleConfiguration& WithFirstExecutionFrom(Aws::String&& value) { SetFirstExecutionFrom(std::move(value)); return *this;}
53 inline ScheduleConfiguration& WithFirstExecutionFrom(const char* value) { SetFirstExecutionFrom(value); return *this;}
55
57
60 inline const Aws::String& GetObject() const{ return m_object; }
61 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
62 inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; }
63 inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); }
64 inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); }
65 inline ScheduleConfiguration& WithObject(const Aws::String& value) { SetObject(value); return *this;}
66 inline ScheduleConfiguration& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;}
67 inline ScheduleConfiguration& WithObject(const char* value) { SetObject(value); return *this;}
69
71
74 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
75 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
76 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
77 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
78 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
80 inline ScheduleConfiguration& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
81 inline ScheduleConfiguration& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
83 private:
84
85 Aws::String m_firstExecutionFrom;
86 bool m_firstExecutionFromHasBeenSet = false;
87
88 Aws::String m_object;
89 bool m_objectHasBeenSet = false;
90
91 Aws::String m_scheduleExpression;
92 bool m_scheduleExpressionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AppIntegrationsService
97} // namespace Aws
ScheduleConfiguration & WithScheduleExpression(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration()
AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithFirstExecutionFrom(Aws::String &&value)
AWS_APPINTEGRATIONSSERVICE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithObject(Aws::String &&value)
ScheduleConfiguration & WithObject(const Aws::String &value)
ScheduleConfiguration & WithScheduleExpression(Aws::String &&value)
ScheduleConfiguration & WithFirstExecutionFrom(const char *value)
ScheduleConfiguration & WithFirstExecutionFrom(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleConfiguration & WithObject(const char *value)
ScheduleConfiguration & WithScheduleExpression(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue