AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RegisterOidcConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Wickr {
23namespace Model {
25 public:
26 AWS_WICKR_API RegisterOidcConfigResult() = default;
29
31
34 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
35 template <typename ApplicationNameT = Aws::String>
36 void SetApplicationName(ApplicationNameT&& value) {
37 m_applicationNameHasBeenSet = true;
38 m_applicationName = std::forward<ApplicationNameT>(value);
39 }
40 template <typename ApplicationNameT = Aws::String>
41 RegisterOidcConfigResult& WithApplicationName(ApplicationNameT&& value) {
42 SetApplicationName(std::forward<ApplicationNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetClientId() const { return m_clientId; }
52 template <typename ClientIdT = Aws::String>
53 void SetClientId(ClientIdT&& value) {
54 m_clientIdHasBeenSet = true;
55 m_clientId = std::forward<ClientIdT>(value);
56 }
57 template <typename ClientIdT = Aws::String>
59 SetClientId(std::forward<ClientIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetCompanyId() const { return m_companyId; }
69 template <typename CompanyIdT = Aws::String>
70 void SetCompanyId(CompanyIdT&& value) {
71 m_companyIdHasBeenSet = true;
72 m_companyId = std::forward<CompanyIdT>(value);
73 }
74 template <typename CompanyIdT = Aws::String>
76 SetCompanyId(std::forward<CompanyIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetScopes() const { return m_scopes; }
86 template <typename ScopesT = Aws::String>
87 void SetScopes(ScopesT&& value) {
88 m_scopesHasBeenSet = true;
89 m_scopes = std::forward<ScopesT>(value);
90 }
91 template <typename ScopesT = Aws::String>
93 SetScopes(std::forward<ScopesT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetIssuer() const { return m_issuer; }
103 template <typename IssuerT = Aws::String>
104 void SetIssuer(IssuerT&& value) {
105 m_issuerHasBeenSet = true;
106 m_issuer = std::forward<IssuerT>(value);
107 }
108 template <typename IssuerT = Aws::String>
110 SetIssuer(std::forward<IssuerT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
120 template <typename ClientSecretT = Aws::String>
121 void SetClientSecret(ClientSecretT&& value) {
122 m_clientSecretHasBeenSet = true;
123 m_clientSecret = std::forward<ClientSecretT>(value);
124 }
125 template <typename ClientSecretT = Aws::String>
127 SetClientSecret(std::forward<ClientSecretT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetSecret() const { return m_secret; }
137 template <typename SecretT = Aws::String>
138 void SetSecret(SecretT&& value) {
139 m_secretHasBeenSet = true;
140 m_secret = std::forward<SecretT>(value);
141 }
142 template <typename SecretT = Aws::String>
144 SetSecret(std::forward<SecretT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetRedirectUrl() const { return m_redirectUrl; }
154 template <typename RedirectUrlT = Aws::String>
155 void SetRedirectUrl(RedirectUrlT&& value) {
156 m_redirectUrlHasBeenSet = true;
157 m_redirectUrl = std::forward<RedirectUrlT>(value);
158 }
159 template <typename RedirectUrlT = Aws::String>
161 SetRedirectUrl(std::forward<RedirectUrlT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetUserId() const { return m_userId; }
171 template <typename UserIdT = Aws::String>
172 void SetUserId(UserIdT&& value) {
173 m_userIdHasBeenSet = true;
174 m_userId = std::forward<UserIdT>(value);
175 }
176 template <typename UserIdT = Aws::String>
178 SetUserId(std::forward<UserIdT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetCustomUsername() const { return m_customUsername; }
188 template <typename CustomUsernameT = Aws::String>
189 void SetCustomUsername(CustomUsernameT&& value) {
190 m_customUsernameHasBeenSet = true;
191 m_customUsername = std::forward<CustomUsernameT>(value);
192 }
193 template <typename CustomUsernameT = Aws::String>
195 SetCustomUsername(std::forward<CustomUsernameT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::String& GetCaCertificate() const { return m_caCertificate; }
205 template <typename CaCertificateT = Aws::String>
206 void SetCaCertificate(CaCertificateT&& value) {
207 m_caCertificateHasBeenSet = true;
208 m_caCertificate = std::forward<CaCertificateT>(value);
209 }
210 template <typename CaCertificateT = Aws::String>
212 SetCaCertificate(std::forward<CaCertificateT>(value));
213 return *this;
214 }
216
218
221 inline int GetApplicationId() const { return m_applicationId; }
222 inline void SetApplicationId(int value) {
223 m_applicationIdHasBeenSet = true;
224 m_applicationId = value;
225 }
227 SetApplicationId(value);
228 return *this;
229 }
231
233
236 inline int GetSsoTokenBufferMinutes() const { return m_ssoTokenBufferMinutes; }
237 inline void SetSsoTokenBufferMinutes(int value) {
238 m_ssoTokenBufferMinutesHasBeenSet = true;
239 m_ssoTokenBufferMinutes = value;
240 }
243 return *this;
244 }
246
248
251 inline const Aws::String& GetExtraAuthParams() const { return m_extraAuthParams; }
252 template <typename ExtraAuthParamsT = Aws::String>
253 void SetExtraAuthParams(ExtraAuthParamsT&& value) {
254 m_extraAuthParamsHasBeenSet = true;
255 m_extraAuthParams = std::forward<ExtraAuthParamsT>(value);
256 }
257 template <typename ExtraAuthParamsT = Aws::String>
259 SetExtraAuthParams(std::forward<ExtraAuthParamsT>(value));
260 return *this;
261 }
263
265
266 inline const Aws::String& GetRequestId() const { return m_requestId; }
267 template <typename RequestIdT = Aws::String>
268 void SetRequestId(RequestIdT&& value) {
269 m_requestIdHasBeenSet = true;
270 m_requestId = std::forward<RequestIdT>(value);
271 }
272 template <typename RequestIdT = Aws::String>
274 SetRequestId(std::forward<RequestIdT>(value));
275 return *this;
276 }
278 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
279
280 private:
281 Aws::String m_applicationName;
282
283 Aws::String m_clientId;
284
285 Aws::String m_companyId;
286
287 Aws::String m_scopes;
288
289 Aws::String m_issuer;
290
291 Aws::String m_clientSecret;
292
293 Aws::String m_secret;
294
295 Aws::String m_redirectUrl;
296
297 Aws::String m_userId;
298
299 Aws::String m_customUsername;
300
301 Aws::String m_caCertificate;
302
303 int m_applicationId{0};
304
305 int m_ssoTokenBufferMinutes{0};
306
307 Aws::String m_extraAuthParams;
308
309 Aws::String m_requestId;
310 Aws::Http::HttpResponseCode m_HttpResponseCode;
311 bool m_applicationNameHasBeenSet = false;
312 bool m_clientIdHasBeenSet = false;
313 bool m_companyIdHasBeenSet = false;
314 bool m_scopesHasBeenSet = false;
315 bool m_issuerHasBeenSet = false;
316 bool m_clientSecretHasBeenSet = false;
317 bool m_secretHasBeenSet = false;
318 bool m_redirectUrlHasBeenSet = false;
319 bool m_userIdHasBeenSet = false;
320 bool m_customUsernameHasBeenSet = false;
321 bool m_caCertificateHasBeenSet = false;
322 bool m_applicationIdHasBeenSet = false;
323 bool m_ssoTokenBufferMinutesHasBeenSet = false;
324 bool m_extraAuthParamsHasBeenSet = false;
325 bool m_requestIdHasBeenSet = false;
326};
327
328} // namespace Model
329} // namespace Wickr
330} // namespace Aws
RegisterOidcConfigResult & WithUserId(UserIdT &&value)
RegisterOidcConfigResult & WithApplicationId(int value)
RegisterOidcConfigResult & WithClientSecret(ClientSecretT &&value)
RegisterOidcConfigResult & WithSsoTokenBufferMinutes(int value)
AWS_WICKR_API RegisterOidcConfigResult()=default
RegisterOidcConfigResult & WithExtraAuthParams(ExtraAuthParamsT &&value)
RegisterOidcConfigResult & WithApplicationName(ApplicationNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
RegisterOidcConfigResult & WithIssuer(IssuerT &&value)
RegisterOidcConfigResult & WithScopes(ScopesT &&value)
RegisterOidcConfigResult & WithRedirectUrl(RedirectUrlT &&value)
RegisterOidcConfigResult & WithRequestId(RequestIdT &&value)
RegisterOidcConfigResult & WithSecret(SecretT &&value)
AWS_WICKR_API RegisterOidcConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterOidcConfigResult & WithClientId(ClientIdT &&value)
RegisterOidcConfigResult & WithCaCertificate(CaCertificateT &&value)
AWS_WICKR_API RegisterOidcConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterOidcConfigResult & WithCompanyId(CompanyIdT &&value)
RegisterOidcConfigResult & WithCustomUsername(CustomUsernameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue