AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
MonitoringConfigurationDescription.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/ConfigurationType.h>
9#include <aws/kinesisanalyticsv2/model/LogLevel.h>
10#include <aws/kinesisanalyticsv2/model/MetricsLevel.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KinesisAnalyticsV2 {
22namespace Model {
23
31 public:
32 AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription() = default;
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
43 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
45 m_configurationTypeHasBeenSet = true;
46 m_configurationType = value;
47 }
50 return *this;
51 }
53
55
58 inline MetricsLevel GetMetricsLevel() const { return m_metricsLevel; }
59 inline bool MetricsLevelHasBeenSet() const { return m_metricsLevelHasBeenSet; }
60 inline void SetMetricsLevel(MetricsLevel value) {
61 m_metricsLevelHasBeenSet = true;
62 m_metricsLevel = value;
63 }
65 SetMetricsLevel(value);
66 return *this;
67 }
69
71
74 inline LogLevel GetLogLevel() const { return m_logLevel; }
75 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
76 inline void SetLogLevel(LogLevel value) {
77 m_logLevelHasBeenSet = true;
78 m_logLevel = value;
79 }
81 SetLogLevel(value);
82 return *this;
83 }
85 private:
87
88 MetricsLevel m_metricsLevel{MetricsLevel::NOT_SET};
89
90 LogLevel m_logLevel{LogLevel::NOT_SET};
91 bool m_configurationTypeHasBeenSet = false;
92 bool m_metricsLevelHasBeenSet = false;
93 bool m_logLevelHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace KinesisAnalyticsV2
98} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringConfigurationDescription & WithConfigurationType(ConfigurationType value)
AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription()=default
MonitoringConfigurationDescription & WithMetricsLevel(MetricsLevel value)
AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue