AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
DeleteReplicatorResult.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/ReplicatorState.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 {
26 public:
27 AWS_KAFKA_API DeleteReplicatorResult() = default;
30
32
35 inline const Aws::String& GetReplicatorArn() const { return m_replicatorArn; }
36 template <typename ReplicatorArnT = Aws::String>
37 void SetReplicatorArn(ReplicatorArnT&& value) {
38 m_replicatorArnHasBeenSet = true;
39 m_replicatorArn = std::forward<ReplicatorArnT>(value);
40 }
41 template <typename ReplicatorArnT = Aws::String>
42 DeleteReplicatorResult& WithReplicatorArn(ReplicatorArnT&& value) {
43 SetReplicatorArn(std::forward<ReplicatorArnT>(value));
44 return *this;
45 }
47
49
52 inline ReplicatorState GetReplicatorState() const { return m_replicatorState; }
54 m_replicatorStateHasBeenSet = true;
55 m_replicatorState = value;
56 }
58 SetReplicatorState(value);
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
78
79 private:
80 Aws::String m_replicatorArn;
81
83
84 Aws::String m_requestId;
85 Aws::Http::HttpResponseCode m_HttpResponseCode;
86 bool m_replicatorArnHasBeenSet = false;
87 bool m_replicatorStateHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Kafka
93} // namespace Aws
DeleteReplicatorResult & WithRequestId(RequestIdT &&value)
AWS_KAFKA_API DeleteReplicatorResult()=default
AWS_KAFKA_API DeleteReplicatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteReplicatorResult & WithReplicatorArn(ReplicatorArnT &&value)
DeleteReplicatorResult & WithReplicatorState(ReplicatorState value)
AWS_KAFKA_API DeleteReplicatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue