AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMonitoringRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/model/EnhancedMonitoring.h>
11#include <aws/kafka/model/OpenMonitoringInfo.h>
12#include <aws/kafka/model/LoggingInfo.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Kafka
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_KAFKA_API UpdateMonitoringRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitoring"; }
37
38 AWS_KAFKA_API Aws::String SerializePayload() const override;
39
40
42
48 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
49 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
50 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
51 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
52 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
53 inline UpdateMonitoringRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
54 inline UpdateMonitoringRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
55 inline UpdateMonitoringRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
57
59
67 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
68 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
69 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
70 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
71 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
72 inline UpdateMonitoringRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
73 inline UpdateMonitoringRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
74 inline UpdateMonitoringRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
76
78
84 inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; }
85 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
86 inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; }
87 inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); }
91
93
98 inline const OpenMonitoringInfo& GetOpenMonitoring() const{ return m_openMonitoring; }
99 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
100 inline void SetOpenMonitoring(const OpenMonitoringInfo& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; }
101 inline void SetOpenMonitoring(OpenMonitoringInfo&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); }
103 inline UpdateMonitoringRequest& WithOpenMonitoring(OpenMonitoringInfo&& value) { SetOpenMonitoring(std::move(value)); return *this;}
105
107
108 inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; }
109 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
110 inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; }
111 inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); }
112 inline UpdateMonitoringRequest& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;}
113 inline UpdateMonitoringRequest& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_clusterArn;
118 bool m_clusterArnHasBeenSet = false;
119
120 Aws::String m_currentVersion;
121 bool m_currentVersionHasBeenSet = false;
122
123 EnhancedMonitoring m_enhancedMonitoring;
124 bool m_enhancedMonitoringHasBeenSet = false;
125
126 OpenMonitoringInfo m_openMonitoring;
127 bool m_openMonitoringHasBeenSet = false;
128
129 LoggingInfo m_loggingInfo;
130 bool m_loggingInfoHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Kafka
135} // namespace Aws
UpdateMonitoringRequest & WithCurrentVersion(const char *value)
UpdateMonitoringRequest & WithOpenMonitoring(const OpenMonitoringInfo &value)
UpdateMonitoringRequest & WithCurrentVersion(Aws::String &&value)
UpdateMonitoringRequest & WithClusterArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const EnhancedMonitoring & GetEnhancedMonitoring() const
void SetOpenMonitoring(OpenMonitoringInfo &&value)
void SetEnhancedMonitoring(const EnhancedMonitoring &value)
void SetEnhancedMonitoring(EnhancedMonitoring &&value)
UpdateMonitoringRequest & WithCurrentVersion(const Aws::String &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateMonitoringRequest & WithOpenMonitoring(OpenMonitoringInfo &&value)
UpdateMonitoringRequest & WithLoggingInfo(const LoggingInfo &value)
UpdateMonitoringRequest & WithClusterArn(const char *value)
UpdateMonitoringRequest & WithLoggingInfo(LoggingInfo &&value)
UpdateMonitoringRequest & WithClusterArn(Aws::String &&value)
UpdateMonitoringRequest & WithEnhancedMonitoring(EnhancedMonitoring &&value)
const OpenMonitoringInfo & GetOpenMonitoring() const
void SetOpenMonitoring(const OpenMonitoringInfo &value)
UpdateMonitoringRequest & WithEnhancedMonitoring(const EnhancedMonitoring &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String