AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateCustomPluginResult.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/CustomPluginState.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 CreateCustomPluginResult() = default;
30
32
35 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
36 template <typename CustomPluginArnT = Aws::String>
37 void SetCustomPluginArn(CustomPluginArnT&& value) {
38 m_customPluginArnHasBeenSet = true;
39 m_customPluginArn = std::forward<CustomPluginArnT>(value);
40 }
41 template <typename CustomPluginArnT = Aws::String>
42 CreateCustomPluginResult& WithCustomPluginArn(CustomPluginArnT&& value) {
43 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
44 return *this;
45 }
47
49
52 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
54 m_customPluginStateHasBeenSet = true;
55 m_customPluginState = value;
56 }
59 return *this;
60 }
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 template <typename NameT = Aws::String>
69 void SetName(NameT&& value) {
70 m_nameHasBeenSet = true;
71 m_name = std::forward<NameT>(value);
72 }
73 template <typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
76 return *this;
77 }
79
81
84 inline long long GetRevision() const { return m_revision; }
85 inline void SetRevision(long long value) {
86 m_revisionHasBeenSet = true;
87 m_revision = value;
88 }
89 inline CreateCustomPluginResult& WithRevision(long long value) {
90 SetRevision(value);
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
110
111 private:
112 Aws::String m_customPluginArn;
113
115
116 Aws::String m_name;
117
118 long long m_revision{0};
119
120 Aws::String m_requestId;
121 Aws::Http::HttpResponseCode m_HttpResponseCode;
122 bool m_customPluginArnHasBeenSet = false;
123 bool m_customPluginStateHasBeenSet = false;
124 bool m_nameHasBeenSet = false;
125 bool m_revisionHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace KafkaConnect
131} // namespace Aws
AWS_KAFKACONNECT_API CreateCustomPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomPluginResult & WithCustomPluginState(CustomPluginState value)
CreateCustomPluginResult & WithRequestId(RequestIdT &&value)
CreateCustomPluginResult & WithCustomPluginArn(CustomPluginArnT &&value)
CreateCustomPluginResult & WithRevision(long long value)
CreateCustomPluginResult & WithName(NameT &&value)
AWS_KAFKACONNECT_API CreateCustomPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKACONNECT_API CreateCustomPluginResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue