AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SocialProviderSettings.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/BackendAuthSocialProviderConfig.h>
9#include <aws/amplifybackend/model/BackendAuthAppleProviderConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyBackend
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AMPLIFYBACKEND_API SocialProviderSettings();
37 AWS_AMPLIFYBACKEND_API SocialProviderSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const BackendAuthSocialProviderConfig& GetFacebook() const{ return m_facebook; }
45 inline bool FacebookHasBeenSet() const { return m_facebookHasBeenSet; }
46 inline void SetFacebook(const BackendAuthSocialProviderConfig& value) { m_facebookHasBeenSet = true; m_facebook = value; }
47 inline void SetFacebook(BackendAuthSocialProviderConfig&& value) { m_facebookHasBeenSet = true; m_facebook = std::move(value); }
49 inline SocialProviderSettings& WithFacebook(BackendAuthSocialProviderConfig&& value) { SetFacebook(std::move(value)); return *this;}
51
53
54 inline const BackendAuthSocialProviderConfig& GetGoogle() const{ return m_google; }
55 inline bool GoogleHasBeenSet() const { return m_googleHasBeenSet; }
56 inline void SetGoogle(const BackendAuthSocialProviderConfig& value) { m_googleHasBeenSet = true; m_google = value; }
57 inline void SetGoogle(BackendAuthSocialProviderConfig&& value) { m_googleHasBeenSet = true; m_google = std::move(value); }
58 inline SocialProviderSettings& WithGoogle(const BackendAuthSocialProviderConfig& value) { SetGoogle(value); return *this;}
59 inline SocialProviderSettings& WithGoogle(BackendAuthSocialProviderConfig&& value) { SetGoogle(std::move(value)); return *this;}
61
63
64 inline const BackendAuthSocialProviderConfig& GetLoginWithAmazon() const{ return m_loginWithAmazon; }
65 inline bool LoginWithAmazonHasBeenSet() const { return m_loginWithAmazonHasBeenSet; }
66 inline void SetLoginWithAmazon(const BackendAuthSocialProviderConfig& value) { m_loginWithAmazonHasBeenSet = true; m_loginWithAmazon = value; }
67 inline void SetLoginWithAmazon(BackendAuthSocialProviderConfig&& value) { m_loginWithAmazonHasBeenSet = true; m_loginWithAmazon = std::move(value); }
71
73
74 inline const BackendAuthAppleProviderConfig& GetSignInWithApple() const{ return m_signInWithApple; }
75 inline bool SignInWithAppleHasBeenSet() const { return m_signInWithAppleHasBeenSet; }
76 inline void SetSignInWithApple(const BackendAuthAppleProviderConfig& value) { m_signInWithAppleHasBeenSet = true; m_signInWithApple = value; }
77 inline void SetSignInWithApple(BackendAuthAppleProviderConfig&& value) { m_signInWithAppleHasBeenSet = true; m_signInWithApple = std::move(value); }
81 private:
82
84 bool m_facebookHasBeenSet = false;
85
87 bool m_googleHasBeenSet = false;
88
89 BackendAuthSocialProviderConfig m_loginWithAmazon;
90 bool m_loginWithAmazonHasBeenSet = false;
91
92 BackendAuthAppleProviderConfig m_signInWithApple;
93 bool m_signInWithAppleHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace AmplifyBackend
98} // namespace Aws
SocialProviderSettings & WithLoginWithAmazon(BackendAuthSocialProviderConfig &&value)
SocialProviderSettings & WithGoogle(const BackendAuthSocialProviderConfig &value)
AWS_AMPLIFYBACKEND_API SocialProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLoginWithAmazon(const BackendAuthSocialProviderConfig &value)
AWS_AMPLIFYBACKEND_API SocialProviderSettings(Aws::Utils::Json::JsonView jsonValue)
SocialProviderSettings & WithLoginWithAmazon(const BackendAuthSocialProviderConfig &value)
SocialProviderSettings & WithFacebook(const BackendAuthSocialProviderConfig &value)
const BackendAuthSocialProviderConfig & GetGoogle() const
void SetFacebook(const BackendAuthSocialProviderConfig &value)
SocialProviderSettings & WithSignInWithApple(BackendAuthAppleProviderConfig &&value)
void SetSignInWithApple(BackendAuthAppleProviderConfig &&value)
const BackendAuthSocialProviderConfig & GetLoginWithAmazon() const
const BackendAuthSocialProviderConfig & GetFacebook() const
SocialProviderSettings & WithGoogle(BackendAuthSocialProviderConfig &&value)
const BackendAuthAppleProviderConfig & GetSignInWithApple() const
void SetSignInWithApple(const BackendAuthAppleProviderConfig &value)
void SetFacebook(BackendAuthSocialProviderConfig &&value)
void SetLoginWithAmazon(BackendAuthSocialProviderConfig &&value)
void SetGoogle(const BackendAuthSocialProviderConfig &value)
void SetGoogle(BackendAuthSocialProviderConfig &&value)
SocialProviderSettings & WithSignInWithApple(const BackendAuthAppleProviderConfig &value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
SocialProviderSettings & WithFacebook(BackendAuthSocialProviderConfig &&value)
Aws::Utils::Json::JsonValue JsonValue