7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifybackend/model/OAuthGrantType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/amplifybackend/model/SocialProviderSettings.h>
12#include <aws/amplifybackend/model/OAuthScopesElement.h>
25namespace AmplifyBackend
51 template<
typename DomainPrefixT = Aws::String>
52 void SetDomainPrefix(DomainPrefixT&& value) { m_domainPrefixHasBeenSet =
true; m_domainPrefix = std::forward<DomainPrefixT>(value); }
53 template<
typename DomainPrefixT = Aws::String>
75 template<
typename OAuthScopesT = Aws::Vector<OAuthScopesElement>>
76 void SetOAuthScopes(OAuthScopesT&& value) { m_oAuthScopesHasBeenSet =
true; m_oAuthScopes = std::forward<OAuthScopesT>(value); }
77 template<
typename OAuthScopesT = Aws::Vector<OAuthScopesElement>>
88 template<
typename RedirectSignInURIsT = Aws::Vector<Aws::String>>
89 void SetRedirectSignInURIs(RedirectSignInURIsT&& value) { m_redirectSignInURIsHasBeenSet =
true; m_redirectSignInURIs = std::forward<RedirectSignInURIsT>(value); }
90 template<
typename RedirectSignInURIsT = Aws::Vector<Aws::String>>
92 template<
typename RedirectSignInURIsT = Aws::String>
102 template<
typename RedirectSignOutURIsT = Aws::Vector<Aws::String>>
103 void SetRedirectSignOutURIs(RedirectSignOutURIsT&& value) { m_redirectSignOutURIsHasBeenSet =
true; m_redirectSignOutURIs = std::forward<RedirectSignOutURIsT>(value); }
104 template<
typename RedirectSignOutURIsT = Aws::Vector<Aws::String>>
106 template<
typename RedirectSignOutURIsT = Aws::String>
116 template<
typename SocialProv
iderSettingsT = SocialProv
iderSettings>
117 void SetSocialProviderSettings(SocialProviderSettingsT&& value) { m_socialProviderSettingsHasBeenSet =
true; m_socialProviderSettings = std::forward<SocialProviderSettingsT>(value); }
118 template<
typename SocialProv
iderSettingsT = SocialProv
iderSettings>
124 bool m_domainPrefixHasBeenSet =
false;
127 bool m_oAuthGrantTypeHasBeenSet =
false;
130 bool m_oAuthScopesHasBeenSet =
false;
133 bool m_redirectSignInURIsHasBeenSet =
false;
136 bool m_redirectSignOutURIsHasBeenSet =
false;
138 SocialProviderSettings m_socialProviderSettings;
139 bool m_socialProviderSettingsHasBeenSet =
false;
bool RedirectSignOutURIsHasBeenSet() const
bool DomainPrefixHasBeenSet() const
void SetRedirectSignInURIs(RedirectSignInURIsT &&value)
bool SocialProviderSettingsHasBeenSet() const
void SetOAuthGrantType(OAuthGrantType value)
bool RedirectSignInURIsHasBeenSet() const
CreateBackendAuthOAuthConfig & WithRedirectSignInURIs(RedirectSignInURIsT &&value)
CreateBackendAuthOAuthConfig & AddOAuthScopes(OAuthScopesElement value)
CreateBackendAuthOAuthConfig & AddRedirectSignOutURIs(RedirectSignOutURIsT &&value)
CreateBackendAuthOAuthConfig & WithDomainPrefix(DomainPrefixT &&value)
const SocialProviderSettings & GetSocialProviderSettings() const
CreateBackendAuthOAuthConfig & WithRedirectSignOutURIs(RedirectSignOutURIsT &&value)
CreateBackendAuthOAuthConfig & WithOAuthScopes(OAuthScopesT &&value)
OAuthGrantType GetOAuthGrantType() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthOAuthConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< OAuthScopesElement > & GetOAuthScopes() const
void SetSocialProviderSettings(SocialProviderSettingsT &&value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
bool OAuthScopesHasBeenSet() const
CreateBackendAuthOAuthConfig & WithOAuthGrantType(OAuthGrantType value)
bool OAuthGrantTypeHasBeenSet() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthOAuthConfig()=default
void SetRedirectSignOutURIs(RedirectSignOutURIsT &&value)
CreateBackendAuthOAuthConfig & WithSocialProviderSettings(SocialProviderSettingsT &&value)
const Aws::Vector< Aws::String > & GetRedirectSignInURIs() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthOAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOAuthScopes(OAuthScopesT &&value)
const Aws::String & GetDomainPrefix() const
void SetDomainPrefix(DomainPrefixT &&value)
CreateBackendAuthOAuthConfig & AddRedirectSignInURIs(RedirectSignInURIsT &&value)
const Aws::Vector< Aws::String > & GetRedirectSignOutURIs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue