AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoringConfiguration.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/model/PersistentAppUI.h>
9#include <aws/emr-containers/model/CloudWatchMonitoringConfiguration.h>
10#include <aws/emr-containers/model/S3MonitoringConfiguration.h>
11#include <aws/emr-containers/model/ContainerLogRotationConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EMRContainers
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_EMRCONTAINERS_API MonitoringConfiguration();
38 AWS_EMRCONTAINERS_API MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const PersistentAppUI& GetPersistentAppUI() const{ return m_persistentAppUI; }
48 inline bool PersistentAppUIHasBeenSet() const { return m_persistentAppUIHasBeenSet; }
49 inline void SetPersistentAppUI(const PersistentAppUI& value) { m_persistentAppUIHasBeenSet = true; m_persistentAppUI = value; }
50 inline void SetPersistentAppUI(PersistentAppUI&& value) { m_persistentAppUIHasBeenSet = true; m_persistentAppUI = std::move(value); }
52 inline MonitoringConfiguration& WithPersistentAppUI(PersistentAppUI&& value) { SetPersistentAppUI(std::move(value)); return *this;}
54
56
59 inline const CloudWatchMonitoringConfiguration& GetCloudWatchMonitoringConfiguration() const{ return m_cloudWatchMonitoringConfiguration; }
60 inline bool CloudWatchMonitoringConfigurationHasBeenSet() const { return m_cloudWatchMonitoringConfigurationHasBeenSet; }
61 inline void SetCloudWatchMonitoringConfiguration(const CloudWatchMonitoringConfiguration& value) { m_cloudWatchMonitoringConfigurationHasBeenSet = true; m_cloudWatchMonitoringConfiguration = value; }
62 inline void SetCloudWatchMonitoringConfiguration(CloudWatchMonitoringConfiguration&& value) { m_cloudWatchMonitoringConfigurationHasBeenSet = true; m_cloudWatchMonitoringConfiguration = std::move(value); }
66
68
71 inline const S3MonitoringConfiguration& GetS3MonitoringConfiguration() const{ return m_s3MonitoringConfiguration; }
72 inline bool S3MonitoringConfigurationHasBeenSet() const { return m_s3MonitoringConfigurationHasBeenSet; }
73 inline void SetS3MonitoringConfiguration(const S3MonitoringConfiguration& value) { m_s3MonitoringConfigurationHasBeenSet = true; m_s3MonitoringConfiguration = value; }
74 inline void SetS3MonitoringConfiguration(S3MonitoringConfiguration&& value) { m_s3MonitoringConfigurationHasBeenSet = true; m_s3MonitoringConfiguration = std::move(value); }
78
80
83 inline const ContainerLogRotationConfiguration& GetContainerLogRotationConfiguration() const{ return m_containerLogRotationConfiguration; }
84 inline bool ContainerLogRotationConfigurationHasBeenSet() const { return m_containerLogRotationConfigurationHasBeenSet; }
85 inline void SetContainerLogRotationConfiguration(const ContainerLogRotationConfiguration& value) { m_containerLogRotationConfigurationHasBeenSet = true; m_containerLogRotationConfiguration = value; }
86 inline void SetContainerLogRotationConfiguration(ContainerLogRotationConfiguration&& value) { m_containerLogRotationConfigurationHasBeenSet = true; m_containerLogRotationConfiguration = std::move(value); }
90 private:
91
92 PersistentAppUI m_persistentAppUI;
93 bool m_persistentAppUIHasBeenSet = false;
94
95 CloudWatchMonitoringConfiguration m_cloudWatchMonitoringConfiguration;
96 bool m_cloudWatchMonitoringConfigurationHasBeenSet = false;
97
98 S3MonitoringConfiguration m_s3MonitoringConfiguration;
99 bool m_s3MonitoringConfigurationHasBeenSet = false;
100
101 ContainerLogRotationConfiguration m_containerLogRotationConfiguration;
102 bool m_containerLogRotationConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EMRContainers
107} // namespace Aws
AWS_EMRCONTAINERS_API MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetContainerLogRotationConfiguration(ContainerLogRotationConfiguration &&value)
MonitoringConfiguration & WithCloudWatchMonitoringConfiguration(const CloudWatchMonitoringConfiguration &value)
MonitoringConfiguration & WithContainerLogRotationConfiguration(ContainerLogRotationConfiguration &&value)
MonitoringConfiguration & WithS3MonitoringConfiguration(S3MonitoringConfiguration &&value)
const S3MonitoringConfiguration & GetS3MonitoringConfiguration() const
void SetContainerLogRotationConfiguration(const ContainerLogRotationConfiguration &value)
void SetCloudWatchMonitoringConfiguration(const CloudWatchMonitoringConfiguration &value)
MonitoringConfiguration & WithPersistentAppUI(const PersistentAppUI &value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringConfiguration & WithContainerLogRotationConfiguration(const ContainerLogRotationConfiguration &value)
MonitoringConfiguration & WithPersistentAppUI(PersistentAppUI &&value)
void SetCloudWatchMonitoringConfiguration(CloudWatchMonitoringConfiguration &&value)
const CloudWatchMonitoringConfiguration & GetCloudWatchMonitoringConfiguration() const
MonitoringConfiguration & WithS3MonitoringConfiguration(const S3MonitoringConfiguration &value)
MonitoringConfiguration & WithCloudWatchMonitoringConfiguration(CloudWatchMonitoringConfiguration &&value)
void SetS3MonitoringConfiguration(const S3MonitoringConfiguration &value)
void SetS3MonitoringConfiguration(S3MonitoringConfiguration &&value)
AWS_EMRCONTAINERS_API MonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ContainerLogRotationConfiguration & GetContainerLogRotationConfiguration() const
Aws::Utils::Json::JsonValue JsonValue