AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
StopTopicReassignmentResult.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 StopTopicReassignmentResult() = default;
36
38
41 inline TopicReassignmentStatus GetStatus() const { return m_status; }
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTopicReassignmentOperationArn() const { return m_topicReassignmentOperationArn; }
57 template <typename TopicReassignmentOperationArnT = Aws::String>
58 void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT&& value) {
59 m_topicReassignmentOperationArnHasBeenSet = true;
60 m_topicReassignmentOperationArn = std::forward<TopicReassignmentOperationArnT>(value);
61 }
62 template <typename TopicReassignmentOperationArnT = Aws::String>
63 StopTopicReassignmentResult& WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT&& value) {
64 SetTopicReassignmentOperationArn(std::forward<TopicReassignmentOperationArnT>(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:
87
88 Aws::String m_topicReassignmentOperationArn;
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_statusHasBeenSet = false;
93 bool m_topicReassignmentOperationArnHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Kafka
99} // namespace Aws
AWS_KAFKA_API StopTopicReassignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KAFKA_API StopTopicReassignmentResult()=default
AWS_KAFKA_API StopTopicReassignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopTopicReassignmentResult & WithStatus(TopicReassignmentStatus value)
StopTopicReassignmentResult & WithRequestId(RequestIdT &&value)
StopTopicReassignmentResult & WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue