AWS SDK for C++

AWS SDK for C++ Version 1.11.866

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