AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BackendAuthSocialProviderConfig.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyBackend
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig() = default;
38 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetClientId() const { return m_clientId; }
47 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
48 template<typename ClientIdT = Aws::String>
49 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
50 template<typename ClientIdT = Aws::String>
51 BackendAuthSocialProviderConfig& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
60 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
61 template<typename ClientSecretT = Aws::String>
62 void SetClientSecret(ClientSecretT&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::forward<ClientSecretT>(value); }
63 template<typename ClientSecretT = Aws::String>
64 BackendAuthSocialProviderConfig& WithClientSecret(ClientSecretT&& value) { SetClientSecret(std::forward<ClientSecretT>(value)); return *this;}
66 private:
67
68 Aws::String m_clientId;
69 bool m_clientIdHasBeenSet = false;
70
71 Aws::String m_clientSecret;
72 bool m_clientSecretHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AmplifyBackend
77} // namespace Aws
AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
BackendAuthSocialProviderConfig & WithClientId(ClientIdT &&value)
BackendAuthSocialProviderConfig & WithClientSecret(ClientSecretT &&value)
AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig()=default
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue