AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateMonitoringResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
24 public:
25 AWS_KAFKA_API UpdateMonitoringResult() = default;
28
30
35 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
36 template <typename ClusterArnT = Aws::String>
37 void SetClusterArn(ClusterArnT&& value) {
38 m_clusterArnHasBeenSet = true;
39 m_clusterArn = std::forward<ClusterArnT>(value);
40 }
41 template <typename ClusterArnT = Aws::String>
42 UpdateMonitoringResult& WithClusterArn(ClusterArnT&& value) {
43 SetClusterArn(std::forward<ClusterArnT>(value));
44 return *this;
45 }
47
49
55 inline const Aws::String& GetClusterOperationArn() const { return m_clusterOperationArn; }
56 template <typename ClusterOperationArnT = Aws::String>
57 void SetClusterOperationArn(ClusterOperationArnT&& value) {
58 m_clusterOperationArnHasBeenSet = true;
59 m_clusterOperationArn = std::forward<ClusterOperationArnT>(value);
60 }
61 template <typename ClusterOperationArnT = Aws::String>
62 UpdateMonitoringResult& WithClusterOperationArn(ClusterOperationArnT&& value) {
63 SetClusterOperationArn(std::forward<ClusterOperationArnT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_clusterArn;
84
85 Aws::String m_clusterOperationArn;
86
87 Aws::String m_requestId;
88 bool m_clusterArnHasBeenSet = false;
89 bool m_clusterOperationArnHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Kafka
95} // namespace Aws
UpdateMonitoringResult & WithRequestId(RequestIdT &&value)
UpdateMonitoringResult & WithClusterOperationArn(ClusterOperationArnT &&value)
AWS_KAFKA_API UpdateMonitoringResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetClusterOperationArn(ClusterOperationArnT &&value)
AWS_KAFKA_API UpdateMonitoringResult()=default
AWS_KAFKA_API UpdateMonitoringResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMonitoringResult & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue