AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeCustomPluginResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
11#include <aws/kafkaconnect/model/CustomPluginRevisionSummary.h>
12#include <aws/kafkaconnect/model/CustomPluginState.h>
13#include <aws/kafkaconnect/model/StateDescription.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace KafkaConnect {
27namespace Model {
29 public:
30 AWS_KAFKACONNECT_API DescribeCustomPluginResult() = default;
33
35
38 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
39 template <typename CreationTimeT = Aws::Utils::DateTime>
40 void SetCreationTime(CreationTimeT&& value) {
41 m_creationTimeHasBeenSet = true;
42 m_creationTime = std::forward<CreationTimeT>(value);
43 }
44 template <typename CreationTimeT = Aws::Utils::DateTime>
46 SetCreationTime(std::forward<CreationTimeT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
56 template <typename CustomPluginArnT = Aws::String>
57 void SetCustomPluginArn(CustomPluginArnT&& value) {
58 m_customPluginArnHasBeenSet = true;
59 m_customPluginArn = std::forward<CustomPluginArnT>(value);
60 }
61 template <typename CustomPluginArnT = Aws::String>
63 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
64 return *this;
65 }
67
69
72 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
74 m_customPluginStateHasBeenSet = true;
75 m_customPluginState = value;
76 }
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
105 inline const CustomPluginRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
106 template <typename LatestRevisionT = CustomPluginRevisionSummary>
107 void SetLatestRevision(LatestRevisionT&& value) {
108 m_latestRevisionHasBeenSet = true;
109 m_latestRevision = std::forward<LatestRevisionT>(value);
110 }
111 template <typename LatestRevisionT = CustomPluginRevisionSummary>
113 SetLatestRevision(std::forward<LatestRevisionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetName() const { return m_name; }
123 template <typename NameT = Aws::String>
124 void SetName(NameT&& value) {
125 m_nameHasBeenSet = true;
126 m_name = std::forward<NameT>(value);
127 }
128 template <typename NameT = Aws::String>
130 SetName(std::forward<NameT>(value));
131 return *this;
132 }
134
136
139 inline const StateDescription& GetStateDescription() const { return m_stateDescription; }
140 template <typename StateDescriptionT = StateDescription>
141 void SetStateDescription(StateDescriptionT&& value) {
142 m_stateDescriptionHasBeenSet = true;
143 m_stateDescription = std::forward<StateDescriptionT>(value);
144 }
145 template <typename StateDescriptionT = StateDescription>
147 SetStateDescription(std::forward<StateDescriptionT>(value));
148 return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template <typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) {
157 m_requestIdHasBeenSet = true;
158 m_requestId = std::forward<RequestIdT>(value);
159 }
160 template <typename RequestIdT = Aws::String>
162 SetRequestId(std::forward<RequestIdT>(value));
163 return *this;
164 }
166 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
167
168 private:
169 Aws::Utils::DateTime m_creationTime{};
170
171 Aws::String m_customPluginArn;
172
174
175 Aws::String m_description;
176
177 CustomPluginRevisionSummary m_latestRevision;
178
179 Aws::String m_name;
180
181 StateDescription m_stateDescription;
182
183 Aws::String m_requestId;
184 Aws::Http::HttpResponseCode m_HttpResponseCode;
185 bool m_creationTimeHasBeenSet = false;
186 bool m_customPluginArnHasBeenSet = false;
187 bool m_customPluginStateHasBeenSet = false;
188 bool m_descriptionHasBeenSet = false;
189 bool m_latestRevisionHasBeenSet = false;
190 bool m_nameHasBeenSet = false;
191 bool m_stateDescriptionHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace KafkaConnect
197} // namespace Aws
DescribeCustomPluginResult & WithCustomPluginState(CustomPluginState value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult()=default
DescribeCustomPluginResult & WithStateDescription(StateDescriptionT &&value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomPluginResult & WithCreationTime(CreationTimeT &&value)
const CustomPluginRevisionSummary & GetLatestRevision() const
DescribeCustomPluginResult & WithLatestRevision(LatestRevisionT &&value)
DescribeCustomPluginResult & WithRequestId(RequestIdT &&value)
DescribeCustomPluginResult & WithName(NameT &&value)
DescribeCustomPluginResult & WithCustomPluginArn(CustomPluginArnT &&value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomPluginResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue