AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoringConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/ConfigurationType.h>
9#include <aws/kinesisanalyticsv2/model/MetricsLevel.h>
10#include <aws/kinesisanalyticsv2/model/LogLevel.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 KinesisAnalyticsV2
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_KINESISANALYTICSV2_API MonitoringConfiguration();
40 AWS_KINESISANALYTICSV2_API MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API MonitoringConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
52 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
53 inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
54 inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
56 inline MonitoringConfiguration& WithConfigurationType(ConfigurationType&& value) { SetConfigurationType(std::move(value)); return *this;}
58
60
65 inline const MetricsLevel& GetMetricsLevel() const{ return m_metricsLevel; }
66 inline bool MetricsLevelHasBeenSet() const { return m_metricsLevelHasBeenSet; }
67 inline void SetMetricsLevel(const MetricsLevel& value) { m_metricsLevelHasBeenSet = true; m_metricsLevel = value; }
68 inline void SetMetricsLevel(MetricsLevel&& value) { m_metricsLevelHasBeenSet = true; m_metricsLevel = std::move(value); }
69 inline MonitoringConfiguration& WithMetricsLevel(const MetricsLevel& value) { SetMetricsLevel(value); return *this;}
70 inline MonitoringConfiguration& WithMetricsLevel(MetricsLevel&& value) { SetMetricsLevel(std::move(value)); return *this;}
72
74
77 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
78 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
79 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
80 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
81 inline MonitoringConfiguration& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
82 inline MonitoringConfiguration& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
84 private:
85
86 ConfigurationType m_configurationType;
87 bool m_configurationTypeHasBeenSet = false;
88
89 MetricsLevel m_metricsLevel;
90 bool m_metricsLevelHasBeenSet = false;
91
92 LogLevel m_logLevel;
93 bool m_logLevelHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace KinesisAnalyticsV2
98} // namespace Aws
MonitoringConfiguration & WithMetricsLevel(MetricsLevel &&value)
MonitoringConfiguration & WithMetricsLevel(const MetricsLevel &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringConfiguration & WithLogLevel(LogLevel &&value)
AWS_KINESISANALYTICSV2_API MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API MonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringConfiguration & WithConfigurationType(ConfigurationType &&value)
MonitoringConfiguration & WithConfigurationType(const ConfigurationType &value)
MonitoringConfiguration & WithLogLevel(const LogLevel &value)
Aws::Utils::Json::JsonValue JsonValue