AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/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
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription();
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
49 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
50 inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
51 inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
55
57
60 inline const MetricsLevel& GetMetricsLevel() const{ return m_metricsLevel; }
61 inline bool MetricsLevelHasBeenSet() const { return m_metricsLevelHasBeenSet; }
62 inline void SetMetricsLevel(const MetricsLevel& value) { m_metricsLevelHasBeenSet = true; m_metricsLevel = value; }
63 inline void SetMetricsLevel(MetricsLevel&& value) { m_metricsLevelHasBeenSet = true; m_metricsLevel = std::move(value); }
65 inline MonitoringConfigurationDescription& WithMetricsLevel(MetricsLevel&& value) { SetMetricsLevel(std::move(value)); return *this;}
67
69
72 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
73 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
74 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
75 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
76 inline MonitoringConfigurationDescription& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
77 inline MonitoringConfigurationDescription& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
79 private:
80
81 ConfigurationType m_configurationType;
82 bool m_configurationTypeHasBeenSet = false;
83
84 MetricsLevel m_metricsLevel;
85 bool m_metricsLevelHasBeenSet = false;
86
87 LogLevel m_logLevel;
88 bool m_logLevelHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KinesisAnalyticsV2
93} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
MonitoringConfigurationDescription & WithMetricsLevel(MetricsLevel &&value)
MonitoringConfigurationDescription & WithLogLevel(const LogLevel &value)
MonitoringConfigurationDescription & WithMetricsLevel(const MetricsLevel &value)
AWS_KINESISANALYTICSV2_API MonitoringConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringConfigurationDescription & WithConfigurationType(const ConfigurationType &value)
MonitoringConfigurationDescription & WithConfigurationType(ConfigurationType &&value)
Aws::Utils::Json::JsonValue JsonValue