AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetPluginResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/PluginType.h>
10#include <aws/qbusiness/model/PluginAuthConfiguration.h>
11#include <aws/qbusiness/model/CustomPluginConfiguration.h>
12#include <aws/qbusiness/model/PluginBuildStatus.h>
13#include <aws/qbusiness/model/PluginState.h>
14#include <aws/core/utils/DateTime.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace QBusiness
30{
31namespace Model
32{
34 {
35 public:
36 AWS_QBUSINESS_API GetPluginResult() = default;
39
40
42
45 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
46 template<typename ApplicationIdT = Aws::String>
47 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
48 template<typename ApplicationIdT = Aws::String>
49 GetPluginResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetPluginId() const { return m_pluginId; }
57 template<typename PluginIdT = Aws::String>
58 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::forward<PluginIdT>(value); }
59 template<typename PluginIdT = Aws::String>
60 GetPluginResult& WithPluginId(PluginIdT&& value) { SetPluginId(std::forward<PluginIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDisplayName() const { return m_displayName; }
68 template<typename DisplayNameT = Aws::String>
69 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
70 template<typename DisplayNameT = Aws::String>
71 GetPluginResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
73
75
78 inline PluginType GetType() const { return m_type; }
79 inline void SetType(PluginType value) { m_typeHasBeenSet = true; m_type = value; }
80 inline GetPluginResult& WithType(PluginType value) { SetType(value); return *this;}
82
84
87 inline const Aws::String& GetServerUrl() const { return m_serverUrl; }
88 template<typename ServerUrlT = Aws::String>
89 void SetServerUrl(ServerUrlT&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::forward<ServerUrlT>(value); }
90 template<typename ServerUrlT = Aws::String>
91 GetPluginResult& WithServerUrl(ServerUrlT&& value) { SetServerUrl(std::forward<ServerUrlT>(value)); return *this;}
93
95
96 inline const PluginAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
97 template<typename AuthConfigurationT = PluginAuthConfiguration>
98 void SetAuthConfiguration(AuthConfigurationT&& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = std::forward<AuthConfigurationT>(value); }
99 template<typename AuthConfigurationT = PluginAuthConfiguration>
100 GetPluginResult& WithAuthConfiguration(AuthConfigurationT&& value) { SetAuthConfiguration(std::forward<AuthConfigurationT>(value)); return *this;}
102
104
107 inline const CustomPluginConfiguration& GetCustomPluginConfiguration() const { return m_customPluginConfiguration; }
108 template<typename CustomPluginConfigurationT = CustomPluginConfiguration>
109 void SetCustomPluginConfiguration(CustomPluginConfigurationT&& value) { m_customPluginConfigurationHasBeenSet = true; m_customPluginConfiguration = std::forward<CustomPluginConfigurationT>(value); }
110 template<typename CustomPluginConfigurationT = CustomPluginConfiguration>
111 GetPluginResult& WithCustomPluginConfiguration(CustomPluginConfigurationT&& value) { SetCustomPluginConfiguration(std::forward<CustomPluginConfigurationT>(value)); return *this;}
113
115
118 inline PluginBuildStatus GetBuildStatus() const { return m_buildStatus; }
119 inline void SetBuildStatus(PluginBuildStatus value) { m_buildStatusHasBeenSet = true; m_buildStatus = value; }
120 inline GetPluginResult& WithBuildStatus(PluginBuildStatus value) { SetBuildStatus(value); return *this;}
122
124
128 inline const Aws::String& GetPluginArn() const { return m_pluginArn; }
129 template<typename PluginArnT = Aws::String>
130 void SetPluginArn(PluginArnT&& value) { m_pluginArnHasBeenSet = true; m_pluginArn = std::forward<PluginArnT>(value); }
131 template<typename PluginArnT = Aws::String>
132 GetPluginResult& WithPluginArn(PluginArnT&& value) { SetPluginArn(std::forward<PluginArnT>(value)); return *this;}
134
136
139 inline PluginState GetState() const { return m_state; }
140 inline void SetState(PluginState value) { m_stateHasBeenSet = true; m_state = value; }
141 inline GetPluginResult& WithState(PluginState value) { SetState(value); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
149 template<typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
151 template<typename CreatedAtT = Aws::Utils::DateTime>
152 GetPluginResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
160 template<typename UpdatedAtT = Aws::Utils::DateTime>
161 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
162 template<typename UpdatedAtT = Aws::Utils::DateTime>
163 GetPluginResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template<typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
171 template<typename RequestIdT = Aws::String>
172 GetPluginResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
174 private:
175
176 Aws::String m_applicationId;
177 bool m_applicationIdHasBeenSet = false;
178
179 Aws::String m_pluginId;
180 bool m_pluginIdHasBeenSet = false;
181
182 Aws::String m_displayName;
183 bool m_displayNameHasBeenSet = false;
184
186 bool m_typeHasBeenSet = false;
187
188 Aws::String m_serverUrl;
189 bool m_serverUrlHasBeenSet = false;
190
191 PluginAuthConfiguration m_authConfiguration;
192 bool m_authConfigurationHasBeenSet = false;
193
194 CustomPluginConfiguration m_customPluginConfiguration;
195 bool m_customPluginConfigurationHasBeenSet = false;
196
198 bool m_buildStatusHasBeenSet = false;
199
200 Aws::String m_pluginArn;
201 bool m_pluginArnHasBeenSet = false;
202
204 bool m_stateHasBeenSet = false;
205
206 Aws::Utils::DateTime m_createdAt{};
207 bool m_createdAtHasBeenSet = false;
208
209 Aws::Utils::DateTime m_updatedAt{};
210 bool m_updatedAtHasBeenSet = false;
211
212 Aws::String m_requestId;
213 bool m_requestIdHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace QBusiness
218} // 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 SetServerUrl(ServerUrlT &&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