AWS SDK for C++

AWS SDK for C++ Version 1.11.792

Loading...
Searching...
No Matches
GetPluginResult.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/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/CustomPluginConfiguration.h>
12#include <aws/qbusiness/model/PluginAuthConfiguration.h>
13#include <aws/qbusiness/model/PluginBuildStatus.h>
14#include <aws/qbusiness/model/PluginState.h>
15#include <aws/qbusiness/model/PluginType.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace QBusiness {
29namespace Model {
31 public:
32 AWS_QBUSINESS_API GetPluginResult() = default;
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 template <typename ApplicationIdT = Aws::String>
43 m_applicationIdHasBeenSet = true;
44 m_applicationId = std::forward<ApplicationIdT>(value);
45 }
46 template <typename ApplicationIdT = Aws::String>
48 SetApplicationId(std::forward<ApplicationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPluginId() const { return m_pluginId; }
58 template <typename PluginIdT = Aws::String>
59 void SetPluginId(PluginIdT&& value) {
60 m_pluginIdHasBeenSet = true;
61 m_pluginId = std::forward<PluginIdT>(value);
62 }
63 template <typename PluginIdT = Aws::String>
65 SetPluginId(std::forward<PluginIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDisplayName() const { return m_displayName; }
75 template <typename DisplayNameT = Aws::String>
77 m_displayNameHasBeenSet = true;
78 m_displayName = std::forward<DisplayNameT>(value);
79 }
80 template <typename DisplayNameT = Aws::String>
82 SetDisplayName(std::forward<DisplayNameT>(value));
83 return *this;
84 }
86
88
91 inline PluginType GetType() const { return m_type; }
92 inline void SetType(PluginType value) {
93 m_typeHasBeenSet = true;
94 m_type = value;
95 }
97 SetType(value);
98 return *this;
99 }
101
103
106 inline const Aws::String& GetServerUrl() const { return m_serverUrl; }
107 template <typename ServerUrlT = Aws::String>
108 void SetServerUrl(ServerUrlT&& value) {
109 m_serverUrlHasBeenSet = true;
110 m_serverUrl = std::forward<ServerUrlT>(value);
111 }
112 template <typename ServerUrlT = Aws::String>
114 SetServerUrl(std::forward<ServerUrlT>(value));
115 return *this;
116 }
118
120
121 inline const PluginAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
122 template <typename AuthConfigurationT = PluginAuthConfiguration>
124 m_authConfigurationHasBeenSet = true;
125 m_authConfiguration = std::forward<AuthConfigurationT>(value);
126 }
127 template <typename AuthConfigurationT = PluginAuthConfiguration>
129 SetAuthConfiguration(std::forward<AuthConfigurationT>(value));
130 return *this;
131 }
133
135
138 inline const CustomPluginConfiguration& GetCustomPluginConfiguration() const { return m_customPluginConfiguration; }
139 template <typename CustomPluginConfigurationT = CustomPluginConfiguration>
141 m_customPluginConfigurationHasBeenSet = true;
142 m_customPluginConfiguration = std::forward<CustomPluginConfigurationT>(value);
143 }
144 template <typename CustomPluginConfigurationT = CustomPluginConfiguration>
146 SetCustomPluginConfiguration(std::forward<CustomPluginConfigurationT>(value));
147 return *this;
148 }
150
152
155 inline PluginBuildStatus GetBuildStatus() const { return m_buildStatus; }
157 m_buildStatusHasBeenSet = true;
158 m_buildStatus = value;
159 }
161 SetBuildStatus(value);
162 return *this;
163 }
165
167
171 inline const Aws::String& GetPluginArn() const { return m_pluginArn; }
172 template <typename PluginArnT = Aws::String>
173 void SetPluginArn(PluginArnT&& value) {
174 m_pluginArnHasBeenSet = true;
175 m_pluginArn = std::forward<PluginArnT>(value);
176 }
177 template <typename PluginArnT = Aws::String>
179 SetPluginArn(std::forward<PluginArnT>(value));
180 return *this;
181 }
183
185
188 inline PluginState GetState() const { return m_state; }
189 inline void SetState(PluginState value) {
190 m_stateHasBeenSet = true;
191 m_state = value;
192 }
194 SetState(value);
195 return *this;
196 }
198
200
203 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
204 template <typename CreatedAtT = Aws::Utils::DateTime>
205 void SetCreatedAt(CreatedAtT&& value) {
206 m_createdAtHasBeenSet = true;
207 m_createdAt = std::forward<CreatedAtT>(value);
208 }
209 template <typename CreatedAtT = Aws::Utils::DateTime>
211 SetCreatedAt(std::forward<CreatedAtT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
221 template <typename UpdatedAtT = Aws::Utils::DateTime>
222 void SetUpdatedAt(UpdatedAtT&& value) {
223 m_updatedAtHasBeenSet = true;
224 m_updatedAt = std::forward<UpdatedAtT>(value);
225 }
226 template <typename UpdatedAtT = Aws::Utils::DateTime>
228 SetUpdatedAt(std::forward<UpdatedAtT>(value));
229 return *this;
230 }
232
234
235 inline const Aws::String& GetRequestId() const { return m_requestId; }
236 template <typename RequestIdT = Aws::String>
237 void SetRequestId(RequestIdT&& value) {
238 m_requestIdHasBeenSet = true;
239 m_requestId = std::forward<RequestIdT>(value);
240 }
241 template <typename RequestIdT = Aws::String>
243 SetRequestId(std::forward<RequestIdT>(value));
244 return *this;
245 }
247 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
248
249 private:
250 Aws::String m_applicationId;
251
252 Aws::String m_pluginId;
253
254 Aws::String m_displayName;
255
257
258 Aws::String m_serverUrl;
259
260 PluginAuthConfiguration m_authConfiguration;
261
262 CustomPluginConfiguration m_customPluginConfiguration;
263
265
266 Aws::String m_pluginArn;
267
269
270 Aws::Utils::DateTime m_createdAt{};
271
272 Aws::Utils::DateTime m_updatedAt{};
273
274 Aws::String m_requestId;
275 Aws::Http::HttpResponseCode m_HttpResponseCode;
276 bool m_applicationIdHasBeenSet = false;
277 bool m_pluginIdHasBeenSet = false;
278 bool m_displayNameHasBeenSet = false;
279 bool m_typeHasBeenSet = false;
280 bool m_serverUrlHasBeenSet = false;
281 bool m_authConfigurationHasBeenSet = false;
282 bool m_customPluginConfigurationHasBeenSet = false;
283 bool m_buildStatusHasBeenSet = false;
284 bool m_pluginArnHasBeenSet = false;
285 bool m_stateHasBeenSet = false;
286 bool m_createdAtHasBeenSet = false;
287 bool m_updatedAtHasBeenSet = false;
288 bool m_requestIdHasBeenSet = false;
289};
290
291} // namespace Model
292} // namespace QBusiness
293} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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