7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AccessControlGrantType.h>
9#include <aws/amplifygen3/model/AccessControlTokenType.h>
10#include <aws/amplifygen3/model/RefreshTokenStrategy.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace AmplifyGen3 {
46 template <
typename IssuerUrlT = Aws::String>
48 m_issuerUrlHasBeenSet =
true;
49 m_issuerUrl = std::forward<IssuerUrlT>(value);
51 template <
typename IssuerUrlT = Aws::String>
64 template <
typename ClientIdT = Aws::String>
66 m_clientIdHasBeenSet =
true;
67 m_clientId = std::forward<ClientIdT>(value);
69 template <
typename ClientIdT = Aws::String>
83 m_tokenTypeHasBeenSet =
true;
98 template <
typename TokenVal
idationsT = Aws::Vector<Aws::String>>
100 m_tokenValidationsHasBeenSet =
true;
101 m_tokenValidations = std::forward<TokenValidationsT>(value);
103 template <
typename TokenVal
idationsT = Aws::Vector<Aws::String>>
108 template <
typename TokenVal
idationsT = Aws::String>
110 m_tokenValidationsHasBeenSet =
true;
111 m_tokenValidations.emplace_back(std::forward<TokenValidationsT>(value));
122 template <
typename AuthorizationEndpo
intT = Aws::String>
124 m_authorizationEndpointHasBeenSet =
true;
125 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
127 template <
typename AuthorizationEndpo
intT = Aws::String>
140 template <
typename TokenEndpo
intT = Aws::String>
142 m_tokenEndpointHasBeenSet =
true;
143 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
145 template <
typename TokenEndpo
intT = Aws::String>
159 m_grantTypeHasBeenSet =
true;
175 m_refreshTokenStrategyHasBeenSet =
true;
176 m_refreshTokenStrategy = value;
190 template <
typename AuthorizeRequestParamsT = Aws::Map<Aws::String, Aws::String>>
192 m_authorizeRequestParamsHasBeenSet =
true;
193 m_authorizeRequestParams = std::forward<AuthorizeRequestParamsT>(value);
195 template <
typename AuthorizeRequestParamsT = Aws::Map<Aws::String, Aws::String>>
200 template <
typename AuthorizeRequestParamsKeyT = Aws::String,
typename AuthorizeRequestParamsValueT = Aws::String>
202 m_authorizeRequestParamsHasBeenSet =
true;
203 m_authorizeRequestParams.emplace(std::forward<AuthorizeRequestParamsKeyT>(key), std::forward<AuthorizeRequestParamsValueT>(value));
214 template <
typename TokenRequestParamsT = Aws::Map<Aws::String, Aws::String>>
216 m_tokenRequestParamsHasBeenSet =
true;
217 m_tokenRequestParams = std::forward<TokenRequestParamsT>(value);
219 template <
typename TokenRequestParamsT = Aws::Map<Aws::String, Aws::String>>
224 template <
typename TokenRequestParamsKeyT = Aws::String,
typename TokenRequestParamsValueT = Aws::String>
226 m_tokenRequestParamsHasBeenSet =
true;
227 m_tokenRequestParams.emplace(std::forward<TokenRequestParamsKeyT>(key), std::forward<TokenRequestParamsValueT>(value));
251 bool m_issuerUrlHasBeenSet =
false;
252 bool m_clientIdHasBeenSet =
false;
253 bool m_tokenTypeHasBeenSet =
false;
254 bool m_tokenValidationsHasBeenSet =
false;
255 bool m_authorizationEndpointHasBeenSet =
false;
256 bool m_tokenEndpointHasBeenSet =
false;
257 bool m_grantTypeHasBeenSet =
false;
258 bool m_refreshTokenStrategyHasBeenSet =
false;
259 bool m_authorizeRequestParamsHasBeenSet =
false;
260 bool m_tokenRequestParamsHasBeenSet =
false;
AccessControlGrantType GetGrantType() const
OidcConfigOutput & WithTokenRequestParams(TokenRequestParamsT &&value)
bool AuthorizationEndpointHasBeenSet() const
bool RefreshTokenStrategyHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTokenRequestParams() const
const Aws::String & GetAuthorizationEndpoint() const
OidcConfigOutput & WithGrantType(AccessControlGrantType value)
OidcConfigOutput & WithTokenValidations(TokenValidationsT &&value)
void SetAuthorizeRequestParams(AuthorizeRequestParamsT &&value)
AWS_AMPLIFYGEN3_API OidcConfigOutput(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizationEndpoint(AuthorizationEndpointT &&value)
OidcConfigOutput & WithClientId(ClientIdT &&value)
bool IssuerUrlHasBeenSet() const
AWS_AMPLIFYGEN3_API OidcConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIssuerUrl() const
bool GrantTypeHasBeenSet() const
void SetTokenRequestParams(TokenRequestParamsT &&value)
OidcConfigOutput & AddAuthorizeRequestParams(AuthorizeRequestParamsKeyT &&key, AuthorizeRequestParamsValueT &&value)
OidcConfigOutput & AddTokenRequestParams(TokenRequestParamsKeyT &&key, TokenRequestParamsValueT &&value)
bool AuthorizeRequestParamsHasBeenSet() const
void SetIssuerUrl(IssuerUrlT &&value)
OidcConfigOutput & WithTokenEndpoint(TokenEndpointT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
OidcConfigOutput & WithRefreshTokenStrategy(RefreshTokenStrategy value)
void SetTokenValidations(TokenValidationsT &&value)
OidcConfigOutput & AddTokenValidations(TokenValidationsT &&value)
bool TokenValidationsHasBeenSet() const
OidcConfigOutput & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
void SetRefreshTokenStrategy(RefreshTokenStrategy value)
OidcConfigOutput & WithAuthorizeRequestParams(AuthorizeRequestParamsT &&value)
const Aws::String & GetClientId() const
bool TokenRequestParamsHasBeenSet() const
AWS_AMPLIFYGEN3_API OidcConfigOutput()=default
AccessControlTokenType GetTokenType() const
OidcConfigOutput & WithTokenType(AccessControlTokenType value)
const Aws::String & GetTokenEndpoint() const
bool ClientIdHasBeenSet() const
void SetTokenEndpoint(TokenEndpointT &&value)
void SetGrantType(AccessControlGrantType value)
void SetTokenType(AccessControlTokenType value)
bool TokenEndpointHasBeenSet() const
const Aws::Vector< Aws::String > & GetTokenValidations() const
OidcConfigOutput & WithIssuerUrl(IssuerUrlT &&value)
void SetClientId(ClientIdT &&value)
RefreshTokenStrategy GetRefreshTokenStrategy() const
const Aws::Map< Aws::String, Aws::String > & GetAuthorizeRequestParams() const
bool TokenTypeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue