AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyBackend {
20namespace Model {
21
29 public:
30 AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig() = default;
33 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetClientId() const { return m_clientId; }
41 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
42 template <typename ClientIdT = Aws::String>
43 void SetClientId(ClientIdT&& value) {
44 m_clientIdHasBeenSet = true;
45 m_clientId = std::forward<ClientIdT>(value);
46 }
47 template <typename ClientIdT = Aws::String>
49 SetClientId(std::forward<ClientIdT>(value));
50 return *this;
51 }
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) {
63 m_clientSecretHasBeenSet = true;
64 m_clientSecret = std::forward<ClientSecretT>(value);
65 }
66 template <typename ClientSecretT = Aws::String>
68 SetClientSecret(std::forward<ClientSecretT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_clientId;
74
75 Aws::String m_clientSecret;
76 bool m_clientIdHasBeenSet = false;
77 bool m_clientSecretHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace AmplifyBackend
82} // 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