7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/AuthResources.h>
9#include <aws/amplifybackend/model/CreateBackendAuthIdentityPoolConfig.h>
10#include <aws/amplifybackend/model/CreateBackendAuthUserPoolConfig.h>
11#include <aws/amplifybackend/model/Service.h>
22namespace AmplifyBackend {
46 m_authResourcesHasBeenSet =
true;
47 m_authResources = value;
62 template <
typename IdentityPoolConfigsT = CreateBackendAuthIdentityPoolConfig>
64 m_identityPoolConfigsHasBeenSet =
true;
65 m_identityPoolConfigs = std::forward<IdentityPoolConfigsT>(value);
67 template <
typename IdentityPoolConfigsT = CreateBackendAuthIdentityPoolConfig>
82 m_serviceHasBeenSet =
true;
98 template <
typename UserPoolConfigsT = CreateBackendAuthUserPoolConfig>
100 m_userPoolConfigsHasBeenSet =
true;
101 m_userPoolConfigs = std::forward<UserPoolConfigsT>(value);
103 template <
typename UserPoolConfigsT = CreateBackendAuthUserPoolConfig>
112 CreateBackendAuthIdentityPoolConfig m_identityPoolConfigs;
116 CreateBackendAuthUserPoolConfig m_userPoolConfigs;
117 bool m_authResourcesHasBeenSet =
false;
118 bool m_identityPoolConfigsHasBeenSet =
false;
119 bool m_serviceHasBeenSet =
false;
120 bool m_userPoolConfigsHasBeenSet =
false;
AWS_AMPLIFYBACKEND_API CreateBackendAuthResourceConfig(Aws::Utils::Json::JsonView jsonValue)
bool IdentityPoolConfigsHasBeenSet() const
bool ServiceHasBeenSet() const
const CreateBackendAuthIdentityPoolConfig & GetIdentityPoolConfigs() const
void SetIdentityPoolConfigs(IdentityPoolConfigsT &&value)
CreateBackendAuthResourceConfig & WithService(Service value)
CreateBackendAuthResourceConfig & WithIdentityPoolConfigs(IdentityPoolConfigsT &&value)
void SetUserPoolConfigs(UserPoolConfigsT &&value)
CreateBackendAuthResourceConfig & WithAuthResources(AuthResources value)
AWS_AMPLIFYBACKEND_API CreateBackendAuthResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYBACKEND_API CreateBackendAuthResourceConfig()=default
Service GetService() const
CreateBackendAuthResourceConfig & WithUserPoolConfigs(UserPoolConfigsT &&value)
AuthResources GetAuthResources() const
void SetAuthResources(AuthResources value)
const CreateBackendAuthUserPoolConfig & GetUserPoolConfigs() const
bool UserPoolConfigsHasBeenSet() const
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetService(Service value)
bool AuthResourcesHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue