AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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/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
33 public:
34 AWS_KINESISANALYTICSV2_API MonitoringConfiguration() = default;
35 AWS_KINESISANALYTICSV2_API MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KINESISANALYTICSV2_API MonitoringConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline ConfigurationType GetConfigurationType() const { return m_configurationType; }
46 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
48 m_configurationTypeHasBeenSet = true;
49 m_configurationType = value;
50 }
53 return *this;
54 }
56
58
63 inline MetricsLevel GetMetricsLevel() const { return m_metricsLevel; }
64 inline bool MetricsLevelHasBeenSet() const { return m_metricsLevelHasBeenSet; }
65 inline void SetMetricsLevel(MetricsLevel value) {
66 m_metricsLevelHasBeenSet = true;
67 m_metricsLevel = value;
68 }
70 SetMetricsLevel(value);
71 return *this;
72 }
74
76
79 inline LogLevel GetLogLevel() const { return m_logLevel; }
80 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
81 inline void SetLogLevel(LogLevel value) {
82 m_logLevelHasBeenSet = true;
83 m_logLevel = value;
84 }
86 SetLogLevel(value);
87 return *this;
88 }
90 private:
92
93 MetricsLevel m_metricsLevel{MetricsLevel::NOT_SET};
94
95 LogLevel m_logLevel{LogLevel::NOT_SET};
96 bool m_configurationTypeHasBeenSet = false;
97 bool m_metricsLevelHasBeenSet = false;
98 bool m_logLevelHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace KinesisAnalyticsV2
103} // 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