AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/FlinkRunConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesisanalyticsv2/model/ApplicationRestoreConfiguration.h>
11#include <aws/kinesisanalyticsv2/model/SqlRunConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisAnalyticsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_KINESISANALYTICSV2_API RunConfiguration();
39 AWS_KINESISANALYTICSV2_API RunConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API RunConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const FlinkRunConfiguration& GetFlinkRunConfiguration() const{ return m_flinkRunConfiguration; }
50 inline bool FlinkRunConfigurationHasBeenSet() const { return m_flinkRunConfigurationHasBeenSet; }
51 inline void SetFlinkRunConfiguration(const FlinkRunConfiguration& value) { m_flinkRunConfigurationHasBeenSet = true; m_flinkRunConfiguration = value; }
52 inline void SetFlinkRunConfiguration(FlinkRunConfiguration&& value) { m_flinkRunConfigurationHasBeenSet = true; m_flinkRunConfiguration = std::move(value); }
56
58
62 inline const Aws::Vector<SqlRunConfiguration>& GetSqlRunConfigurations() const{ return m_sqlRunConfigurations; }
63 inline bool SqlRunConfigurationsHasBeenSet() const { return m_sqlRunConfigurationsHasBeenSet; }
64 inline void SetSqlRunConfigurations(const Aws::Vector<SqlRunConfiguration>& value) { m_sqlRunConfigurationsHasBeenSet = true; m_sqlRunConfigurations = value; }
65 inline void SetSqlRunConfigurations(Aws::Vector<SqlRunConfiguration>&& value) { m_sqlRunConfigurationsHasBeenSet = true; m_sqlRunConfigurations = std::move(value); }
68 inline RunConfiguration& AddSqlRunConfigurations(const SqlRunConfiguration& value) { m_sqlRunConfigurationsHasBeenSet = true; m_sqlRunConfigurations.push_back(value); return *this; }
69 inline RunConfiguration& AddSqlRunConfigurations(SqlRunConfiguration&& value) { m_sqlRunConfigurationsHasBeenSet = true; m_sqlRunConfigurations.push_back(std::move(value)); return *this; }
71
73
76 inline const ApplicationRestoreConfiguration& GetApplicationRestoreConfiguration() const{ return m_applicationRestoreConfiguration; }
77 inline bool ApplicationRestoreConfigurationHasBeenSet() const { return m_applicationRestoreConfigurationHasBeenSet; }
78 inline void SetApplicationRestoreConfiguration(const ApplicationRestoreConfiguration& value) { m_applicationRestoreConfigurationHasBeenSet = true; m_applicationRestoreConfiguration = value; }
79 inline void SetApplicationRestoreConfiguration(ApplicationRestoreConfiguration&& value) { m_applicationRestoreConfigurationHasBeenSet = true; m_applicationRestoreConfiguration = std::move(value); }
83 private:
84
85 FlinkRunConfiguration m_flinkRunConfiguration;
86 bool m_flinkRunConfigurationHasBeenSet = false;
87
88 Aws::Vector<SqlRunConfiguration> m_sqlRunConfigurations;
89 bool m_sqlRunConfigurationsHasBeenSet = false;
90
91 ApplicationRestoreConfiguration m_applicationRestoreConfiguration;
92 bool m_applicationRestoreConfigurationHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace KinesisAnalyticsV2
97} // namespace Aws
void SetSqlRunConfigurations(const Aws::Vector< SqlRunConfiguration > &value)
void SetSqlRunConfigurations(Aws::Vector< SqlRunConfiguration > &&value)
const FlinkRunConfiguration & GetFlinkRunConfiguration() const
RunConfiguration & WithFlinkRunConfiguration(const FlinkRunConfiguration &value)
AWS_KINESISANALYTICSV2_API RunConfiguration()
const ApplicationRestoreConfiguration & GetApplicationRestoreConfiguration() const
const Aws::Vector< SqlRunConfiguration > & GetSqlRunConfigurations() const
RunConfiguration & WithApplicationRestoreConfiguration(ApplicationRestoreConfiguration &&value)
RunConfiguration & AddSqlRunConfigurations(const SqlRunConfiguration &value)
AWS_KINESISANALYTICSV2_API RunConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RunConfiguration & WithSqlRunConfigurations(Aws::Vector< SqlRunConfiguration > &&value)
void SetFlinkRunConfiguration(const FlinkRunConfiguration &value)
RunConfiguration & WithSqlRunConfigurations(const Aws::Vector< SqlRunConfiguration > &value)
RunConfiguration & WithFlinkRunConfiguration(FlinkRunConfiguration &&value)
void SetApplicationRestoreConfiguration(const ApplicationRestoreConfiguration &value)
RunConfiguration & AddSqlRunConfigurations(SqlRunConfiguration &&value)
RunConfiguration & WithApplicationRestoreConfiguration(const ApplicationRestoreConfiguration &value)
void SetApplicationRestoreConfiguration(ApplicationRestoreConfiguration &&value)
AWS_KINESISANALYTICSV2_API RunConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFlinkRunConfiguration(FlinkRunConfiguration &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue