AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeCustomPluginResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
10#include <aws/kafkaconnect/model/CustomPluginRevisionSummary.h>
11#include <aws/kafkaconnect/model/CustomPluginState.h>
12#include <aws/kafkaconnect/model/StateDescription.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace KafkaConnect {
26namespace Model {
28 public:
29 AWS_KAFKACONNECT_API DescribeCustomPluginResult() = default;
32
34
37 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
38 template <typename CreationTimeT = Aws::Utils::DateTime>
39 void SetCreationTime(CreationTimeT&& value) {
40 m_creationTimeHasBeenSet = true;
41 m_creationTime = std::forward<CreationTimeT>(value);
42 }
43 template <typename CreationTimeT = Aws::Utils::DateTime>
45 SetCreationTime(std::forward<CreationTimeT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
55 template <typename CustomPluginArnT = Aws::String>
56 void SetCustomPluginArn(CustomPluginArnT&& value) {
57 m_customPluginArnHasBeenSet = true;
58 m_customPluginArn = std::forward<CustomPluginArnT>(value);
59 }
60 template <typename CustomPluginArnT = Aws::String>
62 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
63 return *this;
64 }
66
68
71 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
73 m_customPluginStateHasBeenSet = true;
74 m_customPluginState = value;
75 }
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
104 inline const CustomPluginRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
105 template <typename LatestRevisionT = CustomPluginRevisionSummary>
106 void SetLatestRevision(LatestRevisionT&& value) {
107 m_latestRevisionHasBeenSet = true;
108 m_latestRevision = std::forward<LatestRevisionT>(value);
109 }
110 template <typename LatestRevisionT = CustomPluginRevisionSummary>
112 SetLatestRevision(std::forward<LatestRevisionT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetName() const { return m_name; }
122 template <typename NameT = Aws::String>
123 void SetName(NameT&& value) {
124 m_nameHasBeenSet = true;
125 m_name = std::forward<NameT>(value);
126 }
127 template <typename NameT = Aws::String>
129 SetName(std::forward<NameT>(value));
130 return *this;
131 }
133
135
138 inline const StateDescription& GetStateDescription() const { return m_stateDescription; }
139 template <typename StateDescriptionT = StateDescription>
140 void SetStateDescription(StateDescriptionT&& value) {
141 m_stateDescriptionHasBeenSet = true;
142 m_stateDescription = std::forward<StateDescriptionT>(value);
143 }
144 template <typename StateDescriptionT = StateDescription>
146 SetStateDescription(std::forward<StateDescriptionT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template <typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) {
156 m_requestIdHasBeenSet = true;
157 m_requestId = std::forward<RequestIdT>(value);
158 }
159 template <typename RequestIdT = Aws::String>
161 SetRequestId(std::forward<RequestIdT>(value));
162 return *this;
163 }
165 private:
166 Aws::Utils::DateTime m_creationTime{};
167
168 Aws::String m_customPluginArn;
169
171
172 Aws::String m_description;
173
174 CustomPluginRevisionSummary m_latestRevision;
175
176 Aws::String m_name;
177
178 StateDescription m_stateDescription;
179
180 Aws::String m_requestId;
181 bool m_creationTimeHasBeenSet = false;
182 bool m_customPluginArnHasBeenSet = false;
183 bool m_customPluginStateHasBeenSet = false;
184 bool m_descriptionHasBeenSet = false;
185 bool m_latestRevisionHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_stateDescriptionHasBeenSet = false;
188 bool m_requestIdHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace KafkaConnect
193} // 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