7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/OpenIdConnectAccessTokenConfiguration.h>
9#include <aws/verifiedpermissions/model/OpenIdConnectIdentityTokenConfiguration.h>
22namespace VerifiedPermissions
55 template<
typename AccessTokenOnlyT = OpenIdConnectAccessTokenConfiguration>
56 void SetAccessTokenOnly(AccessTokenOnlyT&& value) { m_accessTokenOnlyHasBeenSet =
true; m_accessTokenOnly = std::forward<AccessTokenOnlyT>(value); }
57 template<
typename AccessTokenOnlyT = OpenIdConnectAccessTokenConfiguration>
69 template<
typename IdentityTokenOnlyT = OpenIdConnectIdentityTokenConfiguration>
70 void SetIdentityTokenOnly(IdentityTokenOnlyT&& value) { m_identityTokenOnlyHasBeenSet =
true; m_identityTokenOnly = std::forward<IdentityTokenOnlyT>(value); }
71 template<
typename IdentityTokenOnlyT = OpenIdConnectIdentityTokenConfiguration>
77 bool m_accessTokenOnlyHasBeenSet =
false;
80 bool m_identityTokenOnlyHasBeenSet =
false;
void SetAccessTokenOnly(AccessTokenOnlyT &&value)
OpenIdConnectTokenSelection & WithIdentityTokenOnly(IdentityTokenOnlyT &&value)
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection(Aws::Utils::Json::JsonView jsonValue)
OpenIdConnectTokenSelection & WithAccessTokenOnly(AccessTokenOnlyT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccessTokenOnlyHasBeenSet() const
const OpenIdConnectIdentityTokenConfiguration & GetIdentityTokenOnly() const
bool IdentityTokenOnlyHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API OpenIdConnectTokenSelection()=default
const OpenIdConnectAccessTokenConfiguration & GetAccessTokenOnly() const
void SetIdentityTokenOnly(IdentityTokenOnlyT &&value)
Aws::Utils::Json::JsonValue JsonValue