AWS SDK for C++  1.9.105
AWS SDK for C++
UpdateMonitoringRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Kafka
18 {
19 namespace Model
20 {
21 
28  {
29  public:
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::String SerializePayload() const override;
39 
40 
47  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
48 
55  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
56 
63  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
64 
71  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
72 
79  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
80 
87  inline UpdateMonitoringRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
88 
95  inline UpdateMonitoringRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
96 
103  inline UpdateMonitoringRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
104 
105 
114  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
115 
124  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
125 
134  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
135 
144  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
145 
154  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
155 
164  inline UpdateMonitoringRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
165 
174  inline UpdateMonitoringRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
175 
184  inline UpdateMonitoringRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
185 
186 
193  inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; }
194 
201  inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; }
202 
209  inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; }
210 
217  inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); }
218 
225  inline UpdateMonitoringRequest& WithEnhancedMonitoring(const EnhancedMonitoring& value) { SetEnhancedMonitoring(value); return *this;}
226 
233  inline UpdateMonitoringRequest& WithEnhancedMonitoring(EnhancedMonitoring&& value) { SetEnhancedMonitoring(std::move(value)); return *this;}
234 
235 
241  inline const OpenMonitoringInfo& GetOpenMonitoring() const{ return m_openMonitoring; }
242 
248  inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; }
249 
255  inline void SetOpenMonitoring(const OpenMonitoringInfo& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; }
256 
262  inline void SetOpenMonitoring(OpenMonitoringInfo&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); }
263 
269  inline UpdateMonitoringRequest& WithOpenMonitoring(const OpenMonitoringInfo& value) { SetOpenMonitoring(value); return *this;}
270 
276  inline UpdateMonitoringRequest& WithOpenMonitoring(OpenMonitoringInfo&& value) { SetOpenMonitoring(std::move(value)); return *this;}
277 
278 
279 
280  inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; }
281 
282 
283  inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; }
284 
285 
286  inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; }
287 
288 
289  inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); }
290 
291 
292  inline UpdateMonitoringRequest& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;}
293 
294 
295  inline UpdateMonitoringRequest& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;}
296 
297  private:
298 
299  Aws::String m_clusterArn;
300  bool m_clusterArnHasBeenSet;
301 
302  Aws::String m_currentVersion;
303  bool m_currentVersionHasBeenSet;
304 
305  EnhancedMonitoring m_enhancedMonitoring;
306  bool m_enhancedMonitoringHasBeenSet;
307 
308  OpenMonitoringInfo m_openMonitoring;
309  bool m_openMonitoringHasBeenSet;
310 
311  LoggingInfo m_loggingInfo;
312  bool m_loggingInfoHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace Kafka
317 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::UpdateMonitoringRequest::WithCurrentVersion
UpdateMonitoringRequest & WithCurrentVersion(Aws::String &&value)
Definition: UpdateMonitoringRequest.h:174
Aws::Kafka::Model::UpdateMonitoringRequest::WithClusterArn
UpdateMonitoringRequest & WithClusterArn(const char *value)
Definition: UpdateMonitoringRequest.h:103
EnhancedMonitoring.h
Aws::Kafka::Model::EnhancedMonitoring
EnhancedMonitoring
Definition: EnhancedMonitoring.h:17
Aws::Kafka::Model::UpdateMonitoringRequest::WithOpenMonitoring
UpdateMonitoringRequest & WithOpenMonitoring(OpenMonitoringInfo &&value)
Definition: UpdateMonitoringRequest.h:276
OpenMonitoringInfo.h
Aws::Kafka::Model::UpdateMonitoringRequest::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: UpdateMonitoringRequest.h:124
Aws::Kafka::Model::UpdateMonitoringRequest::WithClusterArn
UpdateMonitoringRequest & WithClusterArn(Aws::String &&value)
Definition: UpdateMonitoringRequest.h:95
Aws::Kafka::Model::UpdateMonitoringRequest::GetOpenMonitoring
const OpenMonitoringInfo & GetOpenMonitoring() const
Definition: UpdateMonitoringRequest.h:241
Aws::Kafka::Model::UpdateMonitoringRequest::WithCurrentVersion
UpdateMonitoringRequest & WithCurrentVersion(const Aws::String &value)
Definition: UpdateMonitoringRequest.h:164
Aws::Kafka::Model::UpdateMonitoringRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::UpdateMonitoringRequest::WithLoggingInfo
UpdateMonitoringRequest & WithLoggingInfo(LoggingInfo &&value)
Definition: UpdateMonitoringRequest.h:295
Aws::Kafka::Model::UpdateMonitoringRequest
Definition: UpdateMonitoringRequest.h:28
Aws::Kafka::Model::UpdateMonitoringRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: UpdateMonitoringRequest.h:47
LoggingInfo.h
Aws::Kafka::Model::UpdateMonitoringRequest::GetCurrentVersion
const Aws::String & GetCurrentVersion() const
Definition: UpdateMonitoringRequest.h:114
Aws::Kafka::Model::UpdateMonitoringRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: UpdateMonitoringRequest.h:71
Aws::Kafka::Model::LoggingInfo
Definition: LoggingInfo.h:27
Aws::Kafka::Model::UpdateMonitoringRequest::OpenMonitoringHasBeenSet
bool OpenMonitoringHasBeenSet() const
Definition: UpdateMonitoringRequest.h:248
Aws::Kafka::Model::UpdateMonitoringRequest::SetCurrentVersion
void SetCurrentVersion(const char *value)
Definition: UpdateMonitoringRequest.h:154
Aws::Kafka::Model::UpdateMonitoringRequest::SetLoggingInfo
void SetLoggingInfo(LoggingInfo &&value)
Definition: UpdateMonitoringRequest.h:289
Aws::Kafka::Model::UpdateMonitoringRequest::WithEnhancedMonitoring
UpdateMonitoringRequest & WithEnhancedMonitoring(EnhancedMonitoring &&value)
Definition: UpdateMonitoringRequest.h:233
Aws::Kafka::Model::UpdateMonitoringRequest::UpdateMonitoringRequest
UpdateMonitoringRequest()
Aws::Kafka::Model::UpdateMonitoringRequest::LoggingInfoHasBeenSet
bool LoggingInfoHasBeenSet() const
Definition: UpdateMonitoringRequest.h:283
AWSString.h
Aws::Kafka::Model::UpdateMonitoringRequest::WithEnhancedMonitoring
UpdateMonitoringRequest & WithEnhancedMonitoring(const EnhancedMonitoring &value)
Definition: UpdateMonitoringRequest.h:225
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::OpenMonitoringInfo
Definition: OpenMonitoringInfo.h:35
Aws::Kafka::Model::UpdateMonitoringRequest::GetEnhancedMonitoring
const EnhancedMonitoring & GetEnhancedMonitoring() const
Definition: UpdateMonitoringRequest.h:193
Aws::Kafka::Model::UpdateMonitoringRequest::GetLoggingInfo
const LoggingInfo & GetLoggingInfo() const
Definition: UpdateMonitoringRequest.h:280
Aws::Kafka::Model::UpdateMonitoringRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: UpdateMonitoringRequest.h:63
Aws::Kafka::Model::UpdateMonitoringRequest::EnhancedMonitoringHasBeenSet
bool EnhancedMonitoringHasBeenSet() const
Definition: UpdateMonitoringRequest.h:201
Aws::Kafka::Model::UpdateMonitoringRequest::SetOpenMonitoring
void SetOpenMonitoring(OpenMonitoringInfo &&value)
Definition: UpdateMonitoringRequest.h:262
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::UpdateMonitoringRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: UpdateMonitoringRequest.h:55
Aws::Kafka::Model::UpdateMonitoringRequest::SetOpenMonitoring
void SetOpenMonitoring(const OpenMonitoringInfo &value)
Definition: UpdateMonitoringRequest.h:255
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::UpdateMonitoringRequest::SetEnhancedMonitoring
void SetEnhancedMonitoring(EnhancedMonitoring &&value)
Definition: UpdateMonitoringRequest.h:217
Aws::Kafka::Model::UpdateMonitoringRequest::SetCurrentVersion
void SetCurrentVersion(Aws::String &&value)
Definition: UpdateMonitoringRequest.h:144
Aws::Kafka::Model::UpdateMonitoringRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: UpdateMonitoringRequest.h:79
Aws::Kafka::Model::UpdateMonitoringRequest::WithClusterArn
UpdateMonitoringRequest & WithClusterArn(const Aws::String &value)
Definition: UpdateMonitoringRequest.h:87
Aws::Kafka::Model::UpdateMonitoringRequest::WithCurrentVersion
UpdateMonitoringRequest & WithCurrentVersion(const char *value)
Definition: UpdateMonitoringRequest.h:184
Aws::Kafka::Model::UpdateMonitoringRequest::SetCurrentVersion
void SetCurrentVersion(const Aws::String &value)
Definition: UpdateMonitoringRequest.h:134
Aws::Kafka::Model::UpdateMonitoringRequest::SetEnhancedMonitoring
void SetEnhancedMonitoring(const EnhancedMonitoring &value)
Definition: UpdateMonitoringRequest.h:209
Aws::Kafka::Model::UpdateMonitoringRequest::WithOpenMonitoring
UpdateMonitoringRequest & WithOpenMonitoring(const OpenMonitoringInfo &value)
Definition: UpdateMonitoringRequest.h:269
Aws::Kafka::Model::UpdateMonitoringRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMonitoringRequest.h:36
Aws::Kafka::Model::UpdateMonitoringRequest::SetLoggingInfo
void SetLoggingInfo(const LoggingInfo &value)
Definition: UpdateMonitoringRequest.h:286
Aws::Kafka::Model::UpdateMonitoringRequest::WithLoggingInfo
UpdateMonitoringRequest & WithLoggingInfo(const LoggingInfo &value)
Definition: UpdateMonitoringRequest.h:292