AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
49 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
50 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
51 inline BackendAuthSocialProviderConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
52 inline BackendAuthSocialProviderConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
53 inline BackendAuthSocialProviderConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
55
57
61 inline const Aws::String& GetClientSecret() const{ return m_clientSecret; }
62 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
63 inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; }
64 inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); }
65 inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); }
66 inline BackendAuthSocialProviderConfig& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;}
67 inline BackendAuthSocialProviderConfig& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;}
68 inline BackendAuthSocialProviderConfig& WithClientSecret(const char* value) { SetClientSecret(value); return *this;}
70 private:
71
72 Aws::String m_clientId;
73 bool m_clientIdHasBeenSet = false;
74
75 Aws::String m_clientSecret;
76 bool m_clientSecretHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AmplifyBackend
81} // namespace Aws
BackendAuthSocialProviderConfig & WithClientSecret(const char *value)
AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
BackendAuthSocialProviderConfig & WithClientId(const char *value)
BackendAuthSocialProviderConfig & WithClientId(Aws::String &&value)
BackendAuthSocialProviderConfig & WithClientId(const Aws::String &value)
BackendAuthSocialProviderConfig & WithClientSecret(const Aws::String &value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYBACKEND_API BackendAuthSocialProviderConfig(Aws::Utils::Json::JsonView jsonValue)
BackendAuthSocialProviderConfig & WithClientSecret(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue