AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 ConfigurationType GetConfigurationType() const { return m_configurationType; }
52 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
53 inline void SetConfigurationType(ConfigurationType value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
56
58
63 inline MetricsLevel GetMetricsLevel() const { return m_metricsLevel; }
64 inline bool MetricsLevelHasBeenSet() const { return m_metricsLevelHasBeenSet; }
65 inline void SetMetricsLevel(MetricsLevel value) { m_metricsLevelHasBeenSet = true; m_metricsLevel = value; }
68
70
73 inline LogLevel GetLogLevel() const { return m_logLevel; }
74 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
75 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
76 inline MonitoringConfiguration& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
78 private:
79
81 bool m_configurationTypeHasBeenSet = false;
82
83 MetricsLevel m_metricsLevel{MetricsLevel::NOT_SET};
84 bool m_metricsLevelHasBeenSet = false;
85
86 LogLevel m_logLevel{LogLevel::NOT_SET};
87 bool m_logLevelHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace KinesisAnalyticsV2
92} // namespace Aws
AWS_KINESISANALYTICSV2_API MonitoringConfiguration()=default
MonitoringConfiguration & WithLogLevel(LogLevel value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API MonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringConfiguration & WithConfigurationType(ConfigurationType value)
MonitoringConfiguration & WithMetricsLevel(MetricsLevel value)
Aws::Utils::Json::JsonValue JsonValue