AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetPluginResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/CustomPluginConfiguration.h>
11#include <aws/qbusiness/model/PluginAuthConfiguration.h>
12#include <aws/qbusiness/model/PluginBuildStatus.h>
13#include <aws/qbusiness/model/PluginState.h>
14#include <aws/qbusiness/model/PluginType.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QBusiness {
28namespace Model {
30 public:
31 AWS_QBUSINESS_API GetPluginResult() = default;
34
36
39 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
40 template <typename ApplicationIdT = Aws::String>
42 m_applicationIdHasBeenSet = true;
43 m_applicationId = std::forward<ApplicationIdT>(value);
44 }
45 template <typename ApplicationIdT = Aws::String>
47 SetApplicationId(std::forward<ApplicationIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPluginId() const { return m_pluginId; }
57 template <typename PluginIdT = Aws::String>
58 void SetPluginId(PluginIdT&& value) {
59 m_pluginIdHasBeenSet = true;
60 m_pluginId = std::forward<PluginIdT>(value);
61 }
62 template <typename PluginIdT = Aws::String>
64 SetPluginId(std::forward<PluginIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDisplayName() const { return m_displayName; }
74 template <typename DisplayNameT = Aws::String>
76 m_displayNameHasBeenSet = true;
77 m_displayName = std::forward<DisplayNameT>(value);
78 }
79 template <typename DisplayNameT = Aws::String>
81 SetDisplayName(std::forward<DisplayNameT>(value));
82 return *this;
83 }
85
87
90 inline PluginType GetType() const { return m_type; }
91 inline void SetType(PluginType value) {
92 m_typeHasBeenSet = true;
93 m_type = value;
94 }
96 SetType(value);
97 return *this;
98 }
100
102
105 inline const Aws::String& GetServerUrl() const { return m_serverUrl; }
106 template <typename ServerUrlT = Aws::String>
107 void SetServerUrl(ServerUrlT&& value) {
108 m_serverUrlHasBeenSet = true;
109 m_serverUrl = std::forward<ServerUrlT>(value);
110 }
111 template <typename ServerUrlT = Aws::String>
113 SetServerUrl(std::forward<ServerUrlT>(value));
114 return *this;
115 }
117
119
120 inline const PluginAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
121 template <typename AuthConfigurationT = PluginAuthConfiguration>
123 m_authConfigurationHasBeenSet = true;
124 m_authConfiguration = std::forward<AuthConfigurationT>(value);
125 }
126 template <typename AuthConfigurationT = PluginAuthConfiguration>
128 SetAuthConfiguration(std::forward<AuthConfigurationT>(value));
129 return *this;
130 }
132
134
137 inline const CustomPluginConfiguration& GetCustomPluginConfiguration() const { return m_customPluginConfiguration; }
138 template <typename CustomPluginConfigurationT = CustomPluginConfiguration>
140 m_customPluginConfigurationHasBeenSet = true;
141 m_customPluginConfiguration = std::forward<CustomPluginConfigurationT>(value);
142 }
143 template <typename CustomPluginConfigurationT = CustomPluginConfiguration>
145 SetCustomPluginConfiguration(std::forward<CustomPluginConfigurationT>(value));
146 return *this;
147 }
149
151
154 inline PluginBuildStatus GetBuildStatus() const { return m_buildStatus; }
156 m_buildStatusHasBeenSet = true;
157 m_buildStatus = value;
158 }
160 SetBuildStatus(value);
161 return *this;
162 }
164
166
170 inline const Aws::String& GetPluginArn() const { return m_pluginArn; }
171 template <typename PluginArnT = Aws::String>
172 void SetPluginArn(PluginArnT&& value) {
173 m_pluginArnHasBeenSet = true;
174 m_pluginArn = std::forward<PluginArnT>(value);
175 }
176 template <typename PluginArnT = Aws::String>
178 SetPluginArn(std::forward<PluginArnT>(value));
179 return *this;
180 }
182
184
187 inline PluginState GetState() const { return m_state; }
188 inline void SetState(PluginState value) {
189 m_stateHasBeenSet = true;
190 m_state = value;
191 }
193 SetState(value);
194 return *this;
195 }
197
199
202 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
203 template <typename CreatedAtT = Aws::Utils::DateTime>
204 void SetCreatedAt(CreatedAtT&& value) {
205 m_createdAtHasBeenSet = true;
206 m_createdAt = std::forward<CreatedAtT>(value);
207 }
208 template <typename CreatedAtT = Aws::Utils::DateTime>
210 SetCreatedAt(std::forward<CreatedAtT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
220 template <typename UpdatedAtT = Aws::Utils::DateTime>
221 void SetUpdatedAt(UpdatedAtT&& value) {
222 m_updatedAtHasBeenSet = true;
223 m_updatedAt = std::forward<UpdatedAtT>(value);
224 }
225 template <typename UpdatedAtT = Aws::Utils::DateTime>
227 SetUpdatedAt(std::forward<UpdatedAtT>(value));
228 return *this;
229 }
231
233
234 inline const Aws::String& GetRequestId() const { return m_requestId; }
235 template <typename RequestIdT = Aws::String>
236 void SetRequestId(RequestIdT&& value) {
237 m_requestIdHasBeenSet = true;
238 m_requestId = std::forward<RequestIdT>(value);
239 }
240 template <typename RequestIdT = Aws::String>
242 SetRequestId(std::forward<RequestIdT>(value));
243 return *this;
244 }
246 private:
247 Aws::String m_applicationId;
248
249 Aws::String m_pluginId;
250
251 Aws::String m_displayName;
252
254
255 Aws::String m_serverUrl;
256
257 PluginAuthConfiguration m_authConfiguration;
258
259 CustomPluginConfiguration m_customPluginConfiguration;
260
262
263 Aws::String m_pluginArn;
264
266
267 Aws::Utils::DateTime m_createdAt{};
268
269 Aws::Utils::DateTime m_updatedAt{};
270
271 Aws::String m_requestId;
272 bool m_applicationIdHasBeenSet = false;
273 bool m_pluginIdHasBeenSet = false;
274 bool m_displayNameHasBeenSet = false;
275 bool m_typeHasBeenSet = false;
276 bool m_serverUrlHasBeenSet = false;
277 bool m_authConfigurationHasBeenSet = false;
278 bool m_customPluginConfigurationHasBeenSet = false;
279 bool m_buildStatusHasBeenSet = false;
280 bool m_pluginArnHasBeenSet = false;
281 bool m_stateHasBeenSet = false;
282 bool m_createdAtHasBeenSet = false;
283 bool m_updatedAtHasBeenSet = false;
284 bool m_requestIdHasBeenSet = false;
285};
286
287} // namespace Model
288} // namespace QBusiness
289} // namespace Aws
const Aws::String & GetApplicationId() const
const Aws::String & GetPluginId() const
AWS_QBUSINESS_API GetPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QBUSINESS_API GetPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PluginBuildStatus GetBuildStatus() const
const Aws::String & GetServerUrl() const
GetPluginResult & WithUpdatedAt(UpdatedAtT &&value)
GetPluginResult & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
GetPluginResult & WithRequestId(RequestIdT &&value)
GetPluginResult & WithBuildStatus(PluginBuildStatus value)
GetPluginResult & WithType(PluginType value)
void SetBuildStatus(PluginBuildStatus value)
void SetAuthConfiguration(AuthConfigurationT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetPluginResult & WithPluginId(PluginIdT &&value)
GetPluginResult & WithApplicationId(ApplicationIdT &&value)
void SetCustomPluginConfiguration(CustomPluginConfigurationT &&value)
GetPluginResult & WithPluginArn(PluginArnT &&value)
void SetDisplayName(DisplayNameT &&value)
GetPluginResult & WithState(PluginState value)
GetPluginResult & WithCustomPluginConfiguration(CustomPluginConfigurationT &&value)
const Aws::String & GetRequestId() const
AWS_QBUSINESS_API GetPluginResult()=default
void SetApplicationId(ApplicationIdT &&value)
GetPluginResult & WithServerUrl(ServerUrlT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const PluginAuthConfiguration & GetAuthConfiguration() const
GetPluginResult & WithCreatedAt(CreatedAtT &&value)
const CustomPluginConfiguration & GetCustomPluginConfiguration() const
GetPluginResult & WithAuthConfiguration(AuthConfigurationT &&value)
const Aws::String & GetPluginArn() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue