AWS SDK for C++

AWS SDK for C++ Version 1.11.758

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