AWS SDK for C++  1.9.152
AWS SDK for C++
SocialProviderSettings.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AmplifyBackend
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
42 
43  inline const BackendAuthSocialProviderConfig& GetFacebook() const{ return m_facebook; }
44 
45 
46  inline bool FacebookHasBeenSet() const { return m_facebookHasBeenSet; }
47 
48 
49  inline void SetFacebook(const BackendAuthSocialProviderConfig& value) { m_facebookHasBeenSet = true; m_facebook = value; }
50 
51 
52  inline void SetFacebook(BackendAuthSocialProviderConfig&& value) { m_facebookHasBeenSet = true; m_facebook = std::move(value); }
53 
54 
55  inline SocialProviderSettings& WithFacebook(const BackendAuthSocialProviderConfig& value) { SetFacebook(value); return *this;}
56 
57 
58  inline SocialProviderSettings& WithFacebook(BackendAuthSocialProviderConfig&& value) { SetFacebook(std::move(value)); return *this;}
59 
60 
61 
62  inline const BackendAuthSocialProviderConfig& GetGoogle() const{ return m_google; }
63 
64 
65  inline bool GoogleHasBeenSet() const { return m_googleHasBeenSet; }
66 
67 
68  inline void SetGoogle(const BackendAuthSocialProviderConfig& value) { m_googleHasBeenSet = true; m_google = value; }
69 
70 
71  inline void SetGoogle(BackendAuthSocialProviderConfig&& value) { m_googleHasBeenSet = true; m_google = std::move(value); }
72 
73 
74  inline SocialProviderSettings& WithGoogle(const BackendAuthSocialProviderConfig& value) { SetGoogle(value); return *this;}
75 
76 
77  inline SocialProviderSettings& WithGoogle(BackendAuthSocialProviderConfig&& value) { SetGoogle(std::move(value)); return *this;}
78 
79 
80 
81  inline const BackendAuthSocialProviderConfig& GetLoginWithAmazon() const{ return m_loginWithAmazon; }
82 
83 
84  inline bool LoginWithAmazonHasBeenSet() const { return m_loginWithAmazonHasBeenSet; }
85 
86 
87  inline void SetLoginWithAmazon(const BackendAuthSocialProviderConfig& value) { m_loginWithAmazonHasBeenSet = true; m_loginWithAmazon = value; }
88 
89 
90  inline void SetLoginWithAmazon(BackendAuthSocialProviderConfig&& value) { m_loginWithAmazonHasBeenSet = true; m_loginWithAmazon = std::move(value); }
91 
92 
93  inline SocialProviderSettings& WithLoginWithAmazon(const BackendAuthSocialProviderConfig& value) { SetLoginWithAmazon(value); return *this;}
94 
95 
96  inline SocialProviderSettings& WithLoginWithAmazon(BackendAuthSocialProviderConfig&& value) { SetLoginWithAmazon(std::move(value)); return *this;}
97 
98 
99 
100  inline const BackendAuthAppleProviderConfig& GetSignInWithApple() const{ return m_signInWithApple; }
101 
102 
103  inline bool SignInWithAppleHasBeenSet() const { return m_signInWithAppleHasBeenSet; }
104 
105 
106  inline void SetSignInWithApple(const BackendAuthAppleProviderConfig& value) { m_signInWithAppleHasBeenSet = true; m_signInWithApple = value; }
107 
108 
109  inline void SetSignInWithApple(BackendAuthAppleProviderConfig&& value) { m_signInWithAppleHasBeenSet = true; m_signInWithApple = std::move(value); }
110 
111 
112  inline SocialProviderSettings& WithSignInWithApple(const BackendAuthAppleProviderConfig& value) { SetSignInWithApple(value); return *this;}
113 
114 
115  inline SocialProviderSettings& WithSignInWithApple(BackendAuthAppleProviderConfig&& value) { SetSignInWithApple(std::move(value)); return *this;}
116 
117  private:
118 
120  bool m_facebookHasBeenSet;
121 
123  bool m_googleHasBeenSet;
124 
125  BackendAuthSocialProviderConfig m_loginWithAmazon;
126  bool m_loginWithAmazonHasBeenSet;
127 
128  BackendAuthAppleProviderConfig m_signInWithApple;
129  bool m_signInWithAppleHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace AmplifyBackend
134 } // namespace Aws
Aws::AmplifyBackend::Model::SocialProviderSettings::SetFacebook
void SetFacebook(const BackendAuthSocialProviderConfig &value)
Definition: SocialProviderSettings.h:49
Aws::AmplifyBackend::Model::SocialProviderSettings::GetSignInWithApple
const BackendAuthAppleProviderConfig & GetSignInWithApple() const
Definition: SocialProviderSettings.h:100
Aws::AmplifyBackend::Model::SocialProviderSettings::GetLoginWithAmazon
const BackendAuthSocialProviderConfig & GetLoginWithAmazon() const
Definition: SocialProviderSettings.h:81
Aws::AmplifyBackend::Model::SocialProviderSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AmplifyBackend::Model::SocialProviderSettings
Definition: SocialProviderSettings.h:34
AWS_AMPLIFYBACKEND_API
#define AWS_AMPLIFYBACKEND_API
Definition: AmplifyBackend_EXPORTS.h:28
Aws::AmplifyBackend::Model::SocialProviderSettings::SetSignInWithApple
void SetSignInWithApple(BackendAuthAppleProviderConfig &&value)
Definition: SocialProviderSettings.h:109
Aws::AmplifyBackend::Model::SocialProviderSettings::SocialProviderSettings
SocialProviderSettings()
Aws::AmplifyBackend::Model::SocialProviderSettings::GoogleHasBeenSet
bool GoogleHasBeenSet() const
Definition: SocialProviderSettings.h:65
Aws::AmplifyBackend::Model::SocialProviderSettings::SetLoginWithAmazon
void SetLoginWithAmazon(BackendAuthSocialProviderConfig &&value)
Definition: SocialProviderSettings.h:90
BackendAuthAppleProviderConfig.h
Aws::AmplifyBackend::Model::SocialProviderSettings::FacebookHasBeenSet
bool FacebookHasBeenSet() const
Definition: SocialProviderSettings.h:46
Aws::AmplifyBackend::Model::SocialProviderSettings::SignInWithAppleHasBeenSet
bool SignInWithAppleHasBeenSet() const
Definition: SocialProviderSettings.h:103
Aws::AmplifyBackend::Model::BackendAuthAppleProviderConfig
Definition: BackendAuthAppleProviderConfig.h:33
Aws::AmplifyBackend::Model::SocialProviderSettings::WithGoogle
SocialProviderSettings & WithGoogle(const BackendAuthSocialProviderConfig &value)
Definition: SocialProviderSettings.h:74
Aws::AmplifyBackend::Model::SocialProviderSettings::operator=
SocialProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AmplifyBackend::Model::SocialProviderSettings::SetGoogle
void SetGoogle(const BackendAuthSocialProviderConfig &value)
Definition: SocialProviderSettings.h:68
Aws::AmplifyBackend::Model::SocialProviderSettings::GetGoogle
const BackendAuthSocialProviderConfig & GetGoogle() const
Definition: SocialProviderSettings.h:62
Aws::AmplifyBackend::Model::SocialProviderSettings::WithLoginWithAmazon
SocialProviderSettings & WithLoginWithAmazon(const BackendAuthSocialProviderConfig &value)
Definition: SocialProviderSettings.h:93
Aws::AmplifyBackend::Model::SocialProviderSettings::GetFacebook
const BackendAuthSocialProviderConfig & GetFacebook() const
Definition: SocialProviderSettings.h:43
Aws::AmplifyBackend::Model::SocialProviderSettings::SetSignInWithApple
void SetSignInWithApple(const BackendAuthAppleProviderConfig &value)
Definition: SocialProviderSettings.h:106
Aws::AmplifyBackend::Model::SocialProviderSettings::LoginWithAmazonHasBeenSet
bool LoginWithAmazonHasBeenSet() const
Definition: SocialProviderSettings.h:84
Aws::AmplifyBackend::Model::SocialProviderSettings::WithSignInWithApple
SocialProviderSettings & WithSignInWithApple(const BackendAuthAppleProviderConfig &value)
Definition: SocialProviderSettings.h:112
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AmplifyBackend::Model::SocialProviderSettings::WithSignInWithApple
SocialProviderSettings & WithSignInWithApple(BackendAuthAppleProviderConfig &&value)
Definition: SocialProviderSettings.h:115
Aws::AmplifyBackend::Model::SocialProviderSettings::WithFacebook
SocialProviderSettings & WithFacebook(BackendAuthSocialProviderConfig &&value)
Definition: SocialProviderSettings.h:58
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AmplifyBackend::Model::SocialProviderSettings::WithLoginWithAmazon
SocialProviderSettings & WithLoginWithAmazon(BackendAuthSocialProviderConfig &&value)
Definition: SocialProviderSettings.h:96
AmplifyBackend_EXPORTS.h
Aws::AmplifyBackend::Model::SocialProviderSettings::SetGoogle
void SetGoogle(BackendAuthSocialProviderConfig &&value)
Definition: SocialProviderSettings.h:71
Aws::AmplifyBackend::Model::SocialProviderSettings::WithGoogle
SocialProviderSettings & WithGoogle(BackendAuthSocialProviderConfig &&value)
Definition: SocialProviderSettings.h:77
BackendAuthSocialProviderConfig.h
Aws::AmplifyBackend::Model::SocialProviderSettings::SetFacebook
void SetFacebook(BackendAuthSocialProviderConfig &&value)
Definition: SocialProviderSettings.h:52
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AmplifyBackend::Model::SocialProviderSettings::SocialProviderSettings
SocialProviderSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::AmplifyBackend::Model::SocialProviderSettings::SetLoginWithAmazon
void SetLoginWithAmazon(const BackendAuthSocialProviderConfig &value)
Definition: SocialProviderSettings.h:87
Aws::AmplifyBackend::Model::BackendAuthSocialProviderConfig
Definition: BackendAuthSocialProviderConfig.h:33
Aws::AmplifyBackend::Model::SocialProviderSettings::WithFacebook
SocialProviderSettings & WithFacebook(const BackendAuthSocialProviderConfig &value)
Definition: SocialProviderSettings.h:55