AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
DeleteChannelResult.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 {
31 public:
32 AWS_KAFKA_API DeleteChannelResult() = default;
35
37
43 inline const Aws::String& GetChannelArn() const { return m_channelArn; }
44 template <typename ChannelArnT = Aws::String>
45 void SetChannelArn(ChannelArnT&& value) {
46 m_channelArnHasBeenSet = true;
47 m_channelArn = std::forward<ChannelArnT>(value);
48 }
49 template <typename ChannelArnT = Aws::String>
50 DeleteChannelResult& WithChannelArn(ChannelArnT&& value) {
51 SetChannelArn(std::forward<ChannelArnT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetClusterOperationArn() const { return m_clusterOperationArn; }
64 template <typename ClusterOperationArnT = Aws::String>
65 void SetClusterOperationArn(ClusterOperationArnT&& value) {
66 m_clusterOperationArnHasBeenSet = true;
67 m_clusterOperationArn = std::forward<ClusterOperationArnT>(value);
68 }
69 template <typename ClusterOperationArnT = Aws::String>
70 DeleteChannelResult& WithClusterOperationArn(ClusterOperationArnT&& value) {
71 SetClusterOperationArn(std::forward<ClusterOperationArnT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
85 DeleteChannelResult& WithRequestId(RequestIdT&& value) {
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
91
92 private:
93 Aws::String m_channelArn;
94
95 Aws::String m_clusterOperationArn;
96
97 Aws::String m_requestId;
98 Aws::Http::HttpResponseCode m_HttpResponseCode;
99 bool m_channelArnHasBeenSet = false;
100 bool m_clusterOperationArnHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Kafka
106} // namespace Aws
const Aws::String & GetRequestId() const
DeleteChannelResult & WithChannelArn(ChannelArnT &&value)
void SetClusterOperationArn(ClusterOperationArnT &&value)
AWS_KAFKA_API DeleteChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KAFKA_API DeleteChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteChannelResult & WithRequestId(RequestIdT &&value)
DeleteChannelResult & WithClusterOperationArn(ClusterOperationArnT &&value)
const Aws::String & GetClusterOperationArn() const
const Aws::String & GetChannelArn() const
AWS_KAFKA_API DeleteChannelResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue