AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ClusterArnT = Aws::String>
51 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
52 template<typename ClusterArnT = Aws::String>
53 UpdateMonitoringRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
55
57
65 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
66 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
67 template<typename CurrentVersionT = Aws::String>
68 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
69 template<typename CurrentVersionT = Aws::String>
70 UpdateMonitoringRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
72
74
80 inline EnhancedMonitoring GetEnhancedMonitoring() const { return m_enhancedMonitoring; }
81 inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
82 inline void SetEnhancedMonitoring(EnhancedMonitoring value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; }
85
87
92 inline const OpenMonitoringInfo& GetOpenMonitoring() const { return m_openMonitoring; }
93 inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
94 template<typename OpenMonitoringT = OpenMonitoringInfo>
95 void SetOpenMonitoring(OpenMonitoringT&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::forward<OpenMonitoringT>(value); }
96 template<typename OpenMonitoringT = OpenMonitoringInfo>
97 UpdateMonitoringRequest& WithOpenMonitoring(OpenMonitoringT&& value) { SetOpenMonitoring(std::forward<OpenMonitoringT>(value)); return *this;}
99
101
102 inline const LoggingInfo& GetLoggingInfo() const { return m_loggingInfo; }
103 inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
104 template<typename LoggingInfoT = LoggingInfo>
105 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
106 template<typename LoggingInfoT = LoggingInfo>
107 UpdateMonitoringRequest& WithLoggingInfo(LoggingInfoT&& value) { SetLoggingInfo(std::forward<LoggingInfoT>(value)); return *this;}
109 private:
110
111 Aws::String m_clusterArn;
112 bool m_clusterArnHasBeenSet = false;
113
114 Aws::String m_currentVersion;
115 bool m_currentVersionHasBeenSet = false;
116
118 bool m_enhancedMonitoringHasBeenSet = false;
119
120 OpenMonitoringInfo m_openMonitoring;
121 bool m_openMonitoringHasBeenSet = false;
122
123 LoggingInfo m_loggingInfo;
124 bool m_loggingInfoHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Kafka
129} // namespace Aws
UpdateMonitoringRequest & WithOpenMonitoring(OpenMonitoringT &&value)
UpdateMonitoringRequest & WithCurrentVersion(CurrentVersionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateMonitoringRequest & WithClusterArn(ClusterArnT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
void SetEnhancedMonitoring(EnhancedMonitoring value)
UpdateMonitoringRequest & WithLoggingInfo(LoggingInfoT &&value)
const OpenMonitoringInfo & GetOpenMonitoring() const
AWS_KAFKA_API UpdateMonitoringRequest()=default
UpdateMonitoringRequest & WithEnhancedMonitoring(EnhancedMonitoring value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String