AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppIntegrationsService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration();
38 AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ExecutionMode& GetExecutionMode() const{ return m_executionMode; }
48 inline bool ExecutionModeHasBeenSet() const { return m_executionModeHasBeenSet; }
49 inline void SetExecutionMode(const ExecutionMode& value) { m_executionModeHasBeenSet = true; m_executionMode = value; }
50 inline void SetExecutionMode(ExecutionMode&& value) { m_executionModeHasBeenSet = true; m_executionMode = std::move(value); }
51 inline ExecutionConfiguration& WithExecutionMode(const ExecutionMode& value) { SetExecutionMode(value); return *this;}
52 inline ExecutionConfiguration& WithExecutionMode(ExecutionMode&& value) { SetExecutionMode(std::move(value)); return *this;}
54
56
57 inline const OnDemandConfiguration& GetOnDemandConfiguration() const{ return m_onDemandConfiguration; }
58 inline bool OnDemandConfigurationHasBeenSet() const { return m_onDemandConfigurationHasBeenSet; }
59 inline void SetOnDemandConfiguration(const OnDemandConfiguration& value) { m_onDemandConfigurationHasBeenSet = true; m_onDemandConfiguration = value; }
60 inline void SetOnDemandConfiguration(OnDemandConfiguration&& value) { m_onDemandConfigurationHasBeenSet = true; m_onDemandConfiguration = std::move(value); }
64
66
67 inline const ScheduleConfiguration& GetScheduleConfiguration() const{ return m_scheduleConfiguration; }
68 inline bool ScheduleConfigurationHasBeenSet() const { return m_scheduleConfigurationHasBeenSet; }
69 inline void SetScheduleConfiguration(const ScheduleConfiguration& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = value; }
70 inline void SetScheduleConfiguration(ScheduleConfiguration&& value) { m_scheduleConfigurationHasBeenSet = true; m_scheduleConfiguration = std::move(value); }
74 private:
75
76 ExecutionMode m_executionMode;
77 bool m_executionModeHasBeenSet = false;
78
79 OnDemandConfiguration m_onDemandConfiguration;
80 bool m_onDemandConfigurationHasBeenSet = false;
81
82 ScheduleConfiguration m_scheduleConfiguration;
83 bool m_scheduleConfigurationHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace AppIntegrationsService
88} // namespace Aws
ExecutionConfiguration & WithScheduleConfiguration(const ScheduleConfiguration &value)
ExecutionConfiguration & WithScheduleConfiguration(ScheduleConfiguration &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration()
AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API ExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOnDemandConfiguration(const OnDemandConfiguration &value)
ExecutionConfiguration & WithOnDemandConfiguration(OnDemandConfiguration &&value)
ExecutionConfiguration & WithExecutionMode(ExecutionMode &&value)
ExecutionConfiguration & WithExecutionMode(const ExecutionMode &value)
ExecutionConfiguration & WithOnDemandConfiguration(const OnDemandConfiguration &value)
void SetScheduleConfiguration(const ScheduleConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue