AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
StartTopicReassignmentResult.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#include <aws/kafka/model/TopicReassignmentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Kafka {
24namespace Model {
32 public:
33 AWS_KAFKA_API StartTopicReassignmentResult() = default;
36
38
41 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
42 template <typename ClusterArnT = Aws::String>
43 void SetClusterArn(ClusterArnT&& value) {
44 m_clusterArnHasBeenSet = true;
45 m_clusterArn = std::forward<ClusterArnT>(value);
46 }
47 template <typename ClusterArnT = Aws::String>
49 SetClusterArn(std::forward<ClusterArnT>(value));
50 return *this;
51 }
53
55
58 inline TopicReassignmentStatus GetStatus() const { return m_status; }
60 m_statusHasBeenSet = true;
61 m_status = value;
62 }
64 SetStatus(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetTopicReassignmentOperationArn() const { return m_topicReassignmentOperationArn; }
74 template <typename TopicReassignmentOperationArnT = Aws::String>
75 void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT&& value) {
76 m_topicReassignmentOperationArnHasBeenSet = true;
77 m_topicReassignmentOperationArn = std::forward<TopicReassignmentOperationArnT>(value);
78 }
79 template <typename TopicReassignmentOperationArnT = Aws::String>
80 StartTopicReassignmentResult& WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT&& value) {
81 SetTopicReassignmentOperationArn(std::forward<TopicReassignmentOperationArnT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_clusterArn;
104
106
107 Aws::String m_topicReassignmentOperationArn;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_clusterArnHasBeenSet = false;
112 bool m_statusHasBeenSet = false;
113 bool m_topicReassignmentOperationArnHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Kafka
119} // namespace Aws
void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
AWS_KAFKA_API StartTopicReassignmentResult()=default
StartTopicReassignmentResult & WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
AWS_KAFKA_API StartTopicReassignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API StartTopicReassignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTopicReassignmentResult & WithStatus(TopicReassignmentStatus value)
StartTopicReassignmentResult & WithRequestId(RequestIdT &&value)
StartTopicReassignmentResult & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue