AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
OidcConfigInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wickr/Wickr_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Wickr {
20namespace Model {
21
30 public:
31 AWS_WICKR_API OidcConfigInfo() = default;
34 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
42 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
43 template <typename ApplicationNameT = Aws::String>
44 void SetApplicationName(ApplicationNameT&& value) {
45 m_applicationNameHasBeenSet = true;
46 m_applicationName = std::forward<ApplicationNameT>(value);
47 }
48 template <typename ApplicationNameT = Aws::String>
49 OidcConfigInfo& WithApplicationName(ApplicationNameT&& value) {
50 SetApplicationName(std::forward<ApplicationNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetClientId() const { return m_clientId; }
61 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
62 template <typename ClientIdT = Aws::String>
63 void SetClientId(ClientIdT&& value) {
64 m_clientIdHasBeenSet = true;
65 m_clientId = std::forward<ClientIdT>(value);
66 }
67 template <typename ClientIdT = Aws::String>
68 OidcConfigInfo& WithClientId(ClientIdT&& value) {
69 SetClientId(std::forward<ClientIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetCompanyId() const { return m_companyId; }
79 inline bool CompanyIdHasBeenSet() const { return m_companyIdHasBeenSet; }
80 template <typename CompanyIdT = Aws::String>
81 void SetCompanyId(CompanyIdT&& value) {
82 m_companyIdHasBeenSet = true;
83 m_companyId = std::forward<CompanyIdT>(value);
84 }
85 template <typename CompanyIdT = Aws::String>
86 OidcConfigInfo& WithCompanyId(CompanyIdT&& value) {
87 SetCompanyId(std::forward<CompanyIdT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetScopes() const { return m_scopes; }
98 inline bool ScopesHasBeenSet() const { return m_scopesHasBeenSet; }
99 template <typename ScopesT = Aws::String>
100 void SetScopes(ScopesT&& value) {
101 m_scopesHasBeenSet = true;
102 m_scopes = std::forward<ScopesT>(value);
103 }
104 template <typename ScopesT = Aws::String>
105 OidcConfigInfo& WithScopes(ScopesT&& value) {
106 SetScopes(std::forward<ScopesT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetIssuer() const { return m_issuer; }
117 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
118 template <typename IssuerT = Aws::String>
119 void SetIssuer(IssuerT&& value) {
120 m_issuerHasBeenSet = true;
121 m_issuer = std::forward<IssuerT>(value);
122 }
123 template <typename IssuerT = Aws::String>
124 OidcConfigInfo& WithIssuer(IssuerT&& value) {
125 SetIssuer(std::forward<IssuerT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
136 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
137 template <typename ClientSecretT = Aws::String>
138 void SetClientSecret(ClientSecretT&& value) {
139 m_clientSecretHasBeenSet = true;
140 m_clientSecret = std::forward<ClientSecretT>(value);
141 }
142 template <typename ClientSecretT = Aws::String>
143 OidcConfigInfo& WithClientSecret(ClientSecretT&& value) {
144 SetClientSecret(std::forward<ClientSecretT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::String& GetSecret() const { return m_secret; }
155 inline bool SecretHasBeenSet() const { return m_secretHasBeenSet; }
156 template <typename SecretT = Aws::String>
157 void SetSecret(SecretT&& value) {
158 m_secretHasBeenSet = true;
159 m_secret = std::forward<SecretT>(value);
160 }
161 template <typename SecretT = Aws::String>
162 OidcConfigInfo& WithSecret(SecretT&& value) {
163 SetSecret(std::forward<SecretT>(value));
164 return *this;
165 }
167
169
173 inline const Aws::String& GetRedirectUrl() const { return m_redirectUrl; }
174 inline bool RedirectUrlHasBeenSet() const { return m_redirectUrlHasBeenSet; }
175 template <typename RedirectUrlT = Aws::String>
176 void SetRedirectUrl(RedirectUrlT&& value) {
177 m_redirectUrlHasBeenSet = true;
178 m_redirectUrl = std::forward<RedirectUrlT>(value);
179 }
180 template <typename RedirectUrlT = Aws::String>
181 OidcConfigInfo& WithRedirectUrl(RedirectUrlT&& value) {
182 SetRedirectUrl(std::forward<RedirectUrlT>(value));
183 return *this;
184 }
186
188
192 inline const Aws::String& GetUserId() const { return m_userId; }
193 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
194 template <typename UserIdT = Aws::String>
195 void SetUserId(UserIdT&& value) {
196 m_userIdHasBeenSet = true;
197 m_userId = std::forward<UserIdT>(value);
198 }
199 template <typename UserIdT = Aws::String>
200 OidcConfigInfo& WithUserId(UserIdT&& value) {
201 SetUserId(std::forward<UserIdT>(value));
202 return *this;
203 }
205
207
211 inline const Aws::String& GetCustomUsername() const { return m_customUsername; }
212 inline bool CustomUsernameHasBeenSet() const { return m_customUsernameHasBeenSet; }
213 template <typename CustomUsernameT = Aws::String>
214 void SetCustomUsername(CustomUsernameT&& value) {
215 m_customUsernameHasBeenSet = true;
216 m_customUsername = std::forward<CustomUsernameT>(value);
217 }
218 template <typename CustomUsernameT = Aws::String>
219 OidcConfigInfo& WithCustomUsername(CustomUsernameT&& value) {
220 SetCustomUsername(std::forward<CustomUsernameT>(value));
221 return *this;
222 }
224
226
230 inline const Aws::String& GetCaCertificate() const { return m_caCertificate; }
231 inline bool CaCertificateHasBeenSet() const { return m_caCertificateHasBeenSet; }
232 template <typename CaCertificateT = Aws::String>
233 void SetCaCertificate(CaCertificateT&& value) {
234 m_caCertificateHasBeenSet = true;
235 m_caCertificate = std::forward<CaCertificateT>(value);
236 }
237 template <typename CaCertificateT = Aws::String>
238 OidcConfigInfo& WithCaCertificate(CaCertificateT&& value) {
239 SetCaCertificate(std::forward<CaCertificateT>(value));
240 return *this;
241 }
243
245
249 inline int GetApplicationId() const { return m_applicationId; }
250 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
251 inline void SetApplicationId(int value) {
252 m_applicationIdHasBeenSet = true;
253 m_applicationId = value;
254 }
256 SetApplicationId(value);
257 return *this;
258 }
260
262
266 inline int GetSsoTokenBufferMinutes() const { return m_ssoTokenBufferMinutes; }
267 inline bool SsoTokenBufferMinutesHasBeenSet() const { return m_ssoTokenBufferMinutesHasBeenSet; }
268 inline void SetSsoTokenBufferMinutes(int value) {
269 m_ssoTokenBufferMinutesHasBeenSet = true;
270 m_ssoTokenBufferMinutes = value;
271 }
274 return *this;
275 }
277
279
283 inline const Aws::String& GetExtraAuthParams() const { return m_extraAuthParams; }
284 inline bool ExtraAuthParamsHasBeenSet() const { return m_extraAuthParamsHasBeenSet; }
285 template <typename ExtraAuthParamsT = Aws::String>
286 void SetExtraAuthParams(ExtraAuthParamsT&& value) {
287 m_extraAuthParamsHasBeenSet = true;
288 m_extraAuthParams = std::forward<ExtraAuthParamsT>(value);
289 }
290 template <typename ExtraAuthParamsT = Aws::String>
291 OidcConfigInfo& WithExtraAuthParams(ExtraAuthParamsT&& value) {
292 SetExtraAuthParams(std::forward<ExtraAuthParamsT>(value));
293 return *this;
294 }
296 private:
297 Aws::String m_applicationName;
298
299 Aws::String m_clientId;
300
301 Aws::String m_companyId;
302
303 Aws::String m_scopes;
304
305 Aws::String m_issuer;
306
307 Aws::String m_clientSecret;
308
309 Aws::String m_secret;
310
311 Aws::String m_redirectUrl;
312
313 Aws::String m_userId;
314
315 Aws::String m_customUsername;
316
317 Aws::String m_caCertificate;
318
319 int m_applicationId{0};
320
321 int m_ssoTokenBufferMinutes{0};
322
323 Aws::String m_extraAuthParams;
324 bool m_applicationNameHasBeenSet = false;
325 bool m_clientIdHasBeenSet = false;
326 bool m_companyIdHasBeenSet = false;
327 bool m_scopesHasBeenSet = false;
328 bool m_issuerHasBeenSet = false;
329 bool m_clientSecretHasBeenSet = false;
330 bool m_secretHasBeenSet = false;
331 bool m_redirectUrlHasBeenSet = false;
332 bool m_userIdHasBeenSet = false;
333 bool m_customUsernameHasBeenSet = false;
334 bool m_caCertificateHasBeenSet = false;
335 bool m_applicationIdHasBeenSet = false;
336 bool m_ssoTokenBufferMinutesHasBeenSet = false;
337 bool m_extraAuthParamsHasBeenSet = false;
338};
339
340} // namespace Model
341} // namespace Wickr
342} // namespace Aws
void SetCaCertificate(CaCertificateT &&value)
OidcConfigInfo & WithExtraAuthParams(ExtraAuthParamsT &&value)
const Aws::String & GetApplicationName() const
const Aws::String & GetIssuer() const
const Aws::String & GetCaCertificate() const
OidcConfigInfo & WithRedirectUrl(RedirectUrlT &&value)
void SetRedirectUrl(RedirectUrlT &&value)
OidcConfigInfo & WithCaCertificate(CaCertificateT &&value)
OidcConfigInfo & WithSsoTokenBufferMinutes(int value)
void SetClientSecret(ClientSecretT &&value)
OidcConfigInfo & WithUserId(UserIdT &&value)
OidcConfigInfo & WithClientId(ClientIdT &&value)
OidcConfigInfo & WithApplicationName(ApplicationNameT &&value)
OidcConfigInfo & WithIssuer(IssuerT &&value)
const Aws::String & GetClientSecret() const
const Aws::String & GetCustomUsername() const
OidcConfigInfo & WithCompanyId(CompanyIdT &&value)
void SetClientId(ClientIdT &&value)
void SetCompanyId(CompanyIdT &&value)
const Aws::String & GetRedirectUrl() const
OidcConfigInfo & WithCustomUsername(CustomUsernameT &&value)
void SetExtraAuthParams(ExtraAuthParamsT &&value)
const Aws::String & GetCompanyId() const
AWS_WICKR_API OidcConfigInfo(Aws::Utils::Json::JsonView jsonValue)
OidcConfigInfo & WithClientSecret(ClientSecretT &&value)
AWS_WICKR_API OidcConfigInfo()=default
OidcConfigInfo & WithScopes(ScopesT &&value)
AWS_WICKR_API OidcConfigInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserId() const
void SetApplicationName(ApplicationNameT &&value)
const Aws::String & GetScopes() const
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExtraAuthParams() const
const Aws::String & GetClientId() const
const Aws::String & GetSecret() const
void SetCustomUsername(CustomUsernameT &&value)
OidcConfigInfo & WithSecret(SecretT &&value)
OidcConfigInfo & WithApplicationId(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue