7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/model/AuthorizationCodeGrant.h>
9#include <aws/sso-admin/model/JwtBearerGrant.h>
10#include <aws/sso-admin/model/RefreshTokenGrant.h>
11#include <aws/sso-admin/model/TokenExchangeGrant.h>
97 bool m_authorizationCodeHasBeenSet =
false;
100 bool m_jwtBearerHasBeenSet =
false;
103 bool m_refreshTokenHasBeenSet =
false;
106 bool m_tokenExchangeHasBeenSet =
false;
AWS_SSOADMIN_API Grant(Aws::Utils::Json::JsonView jsonValue)
void SetTokenExchange(const TokenExchangeGrant &value)
bool AuthorizationCodeHasBeenSet() const
Grant & WithJwtBearer(const JwtBearerGrant &value)
const RefreshTokenGrant & GetRefreshToken() const
Grant & WithJwtBearer(JwtBearerGrant &&value)
void SetTokenExchange(TokenExchangeGrant &&value)
void SetRefreshToken(const RefreshTokenGrant &value)
Grant & WithTokenExchange(TokenExchangeGrant &&value)
bool TokenExchangeHasBeenSet() const
Grant & WithRefreshToken(RefreshTokenGrant &&value)
bool JwtBearerHasBeenSet() const
Grant & WithAuthorizationCode(AuthorizationCodeGrant &&value)
void SetRefreshToken(RefreshTokenGrant &&value)
AWS_SSOADMIN_API Grant & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJwtBearer(const JwtBearerGrant &value)
void SetJwtBearer(JwtBearerGrant &&value)
Grant & WithRefreshToken(const RefreshTokenGrant &value)
const AuthorizationCodeGrant & GetAuthorizationCode() const
const TokenExchangeGrant & GetTokenExchange() const
const JwtBearerGrant & GetJwtBearer() const
Grant & WithTokenExchange(const TokenExchangeGrant &value)
Grant & WithAuthorizationCode(const AuthorizationCodeGrant &value)
void SetAuthorizationCode(const AuthorizationCodeGrant &value)
void SetAuthorizationCode(AuthorizationCodeGrant &&value)
bool RefreshTokenHasBeenSet() const
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue