AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteConnectorResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
10#include <aws/kafkaconnect/model/ConnectorState.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 KafkaConnect {
24namespace Model {
26 public:
27 AWS_KAFKACONNECT_API DeleteConnectorResult() = default;
30
32
36 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
37 template <typename ConnectorArnT = Aws::String>
38 void SetConnectorArn(ConnectorArnT&& value) {
39 m_connectorArnHasBeenSet = true;
40 m_connectorArn = std::forward<ConnectorArnT>(value);
41 }
42 template <typename ConnectorArnT = Aws::String>
43 DeleteConnectorResult& WithConnectorArn(ConnectorArnT&& value) {
44 SetConnectorArn(std::forward<ConnectorArnT>(value));
45 return *this;
46 }
48
50
53 inline ConnectorState GetConnectorState() const { return m_connectorState; }
54 inline void SetConnectorState(ConnectorState value) {
55 m_connectorStateHasBeenSet = true;
56 m_connectorState = value;
57 }
59 SetConnectorState(value);
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 DeleteConnectorResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_connectorArn;
82
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_connectorArnHasBeenSet = false;
88 bool m_connectorStateHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace KafkaConnect
94} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KAFKACONNECT_API DeleteConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKACONNECT_API DeleteConnectorResult()=default
DeleteConnectorResult & WithRequestId(RequestIdT &&value)
DeleteConnectorResult & WithConnectorState(ConnectorState value)
DeleteConnectorResult & WithConnectorArn(ConnectorArnT &&value)
AWS_KAFKACONNECT_API DeleteConnectorResult & 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