AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
MonitoringConfigurationUpdate.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 MonitoringConfigurationUpdate() = default;
33 AWS_KINESISANALYTICSV2_API MonitoringConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline ConfigurationType GetConfigurationTypeUpdate() const { return m_configurationTypeUpdate; }
45 inline bool ConfigurationTypeUpdateHasBeenSet() const { return m_configurationTypeUpdateHasBeenSet; }
47 m_configurationTypeUpdateHasBeenSet = true;
48 m_configurationTypeUpdate = value;
49 }
52 return *this;
53 }
55
57
62 inline MetricsLevel GetMetricsLevelUpdate() const { return m_metricsLevelUpdate; }
63 inline bool MetricsLevelUpdateHasBeenSet() const { return m_metricsLevelUpdateHasBeenSet; }
65 m_metricsLevelUpdateHasBeenSet = true;
66 m_metricsLevelUpdate = value;
67 }
70 return *this;
71 }
73
75
79 inline LogLevel GetLogLevelUpdate() const { return m_logLevelUpdate; }
80 inline bool LogLevelUpdateHasBeenSet() const { return m_logLevelUpdateHasBeenSet; }
81 inline void SetLogLevelUpdate(LogLevel value) {
82 m_logLevelUpdateHasBeenSet = true;
83 m_logLevelUpdate = value;
84 }
86 SetLogLevelUpdate(value);
87 return *this;
88 }
90 private:
91 ConfigurationType m_configurationTypeUpdate{ConfigurationType::NOT_SET};
92
93 MetricsLevel m_metricsLevelUpdate{MetricsLevel::NOT_SET};
94
95 LogLevel m_logLevelUpdate{LogLevel::NOT_SET};
96 bool m_configurationTypeUpdateHasBeenSet = false;
97 bool m_metricsLevelUpdateHasBeenSet = false;
98 bool m_logLevelUpdateHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace KinesisAnalyticsV2
103} // namespace Aws
MonitoringConfigurationUpdate & WithMetricsLevelUpdate(MetricsLevel value)
AWS_KINESISANALYTICSV2_API MonitoringConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API MonitoringConfigurationUpdate()=default
AWS_KINESISANALYTICSV2_API MonitoringConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
MonitoringConfigurationUpdate & WithLogLevelUpdate(LogLevel value)
MonitoringConfigurationUpdate & WithConfigurationTypeUpdate(ConfigurationType value)
Aws::Utils::Json::JsonValue JsonValue