AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
UpdateRebalancingResult.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 UpdateRebalancingResult() = default;
29
31
37 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
38 template <typename ClusterArnT = Aws::String>
39 void SetClusterArn(ClusterArnT&& value) {
40 m_clusterArnHasBeenSet = true;
41 m_clusterArn = std::forward<ClusterArnT>(value);
42 }
43 template <typename ClusterArnT = Aws::String>
45 SetClusterArn(std::forward<ClusterArnT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::String& GetClusterOperationArn() const { return m_clusterOperationArn; }
58 template <typename ClusterOperationArnT = Aws::String>
59 void SetClusterOperationArn(ClusterOperationArnT&& value) {
60 m_clusterOperationArnHasBeenSet = true;
61 m_clusterOperationArn = std::forward<ClusterOperationArnT>(value);
62 }
63 template <typename ClusterOperationArnT = Aws::String>
64 UpdateRebalancingResult& WithClusterOperationArn(ClusterOperationArnT&& value) {
65 SetClusterOperationArn(std::forward<ClusterOperationArnT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_clusterArn;
88
89 Aws::String m_clusterOperationArn;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_clusterArnHasBeenSet = false;
94 bool m_clusterOperationArnHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Kafka
100} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KAFKA_API UpdateRebalancingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API UpdateRebalancingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API UpdateRebalancingResult()=default
void SetClusterOperationArn(ClusterOperationArnT &&value)
UpdateRebalancingResult & WithRequestId(RequestIdT &&value)
UpdateRebalancingResult & WithClusterOperationArn(ClusterOperationArnT &&value)
UpdateRebalancingResult & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue