AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ExecutionConfiguration.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/ExecutionMode.h>
9#include <aws/appintegrations/model/OnDemandConfiguration.h>
10#include <aws/appintegrations/model/ScheduleConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppIntegrationsService {
22namespace Model {
23
31 public:
32 AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration() = default;
33 AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline ExecutionMode GetExecutionMode() const { return m_executionMode; }
42 inline bool ExecutionModeHasBeenSet() const { return m_executionModeHasBeenSet; }
43 inline void SetExecutionMode(ExecutionMode value) {
44 m_executionModeHasBeenSet = true;
45 m_executionMode = value;
46 }
48 SetExecutionMode(value);
49 return *this;
50 }
52
54
55 inline const OnDemandConfiguration& GetOnDemandConfiguration() const { return m_onDemandConfiguration; }
56 inline bool OnDemandConfigurationHasBeenSet() const { return m_onDemandConfigurationHasBeenSet; }
57 template <typename OnDemandConfigurationT = OnDemandConfiguration>
58 void SetOnDemandConfiguration(OnDemandConfigurationT&& value) {
59 m_onDemandConfigurationHasBeenSet = true;
60 m_onDemandConfiguration = std::forward<OnDemandConfigurationT>(value);
61 }
62 template <typename OnDemandConfigurationT = OnDemandConfiguration>
63 ExecutionConfiguration& WithOnDemandConfiguration(OnDemandConfigurationT&& value) {
64 SetOnDemandConfiguration(std::forward<OnDemandConfigurationT>(value));
65 return *this;
66 }
68
70
71 inline const ScheduleConfiguration& GetScheduleConfiguration() const { return m_scheduleConfiguration; }
72 inline bool ScheduleConfigurationHasBeenSet() const { return m_scheduleConfigurationHasBeenSet; }
73 template <typename ScheduleConfigurationT = ScheduleConfiguration>
74 void SetScheduleConfiguration(ScheduleConfigurationT&& value) {
75 m_scheduleConfigurationHasBeenSet = true;
76 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
77 }
78 template <typename ScheduleConfigurationT = ScheduleConfiguration>
79 ExecutionConfiguration& WithScheduleConfiguration(ScheduleConfigurationT&& value) {
80 SetScheduleConfiguration(std::forward<ScheduleConfigurationT>(value));
81 return *this;
82 }
84 private:
86
87 OnDemandConfiguration m_onDemandConfiguration;
88
89 ScheduleConfiguration m_scheduleConfiguration;
90 bool m_executionModeHasBeenSet = false;
91 bool m_onDemandConfigurationHasBeenSet = false;
92 bool m_scheduleConfigurationHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace AppIntegrationsService
97} // namespace Aws
AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration()=default
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecutionConfiguration & WithExecutionMode(ExecutionMode value)
ExecutionConfiguration & WithScheduleConfiguration(ScheduleConfigurationT &&value)
ExecutionConfiguration & WithOnDemandConfiguration(OnDemandConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue