AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BackendAuthAppleProviderConfig.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 BackendAuthAppleProviderConfig() = default;
38 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetClientId() const { return m_clientId; }
46 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
47 template<typename ClientIdT = Aws::String>
48 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
49 template<typename ClientIdT = Aws::String>
50 BackendAuthAppleProviderConfig& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetKeyId() const { return m_keyId; }
58 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
59 template<typename KeyIdT = Aws::String>
60 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
61 template<typename KeyIdT = Aws::String>
62 BackendAuthAppleProviderConfig& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
70 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
71 template<typename PrivateKeyT = Aws::String>
72 void SetPrivateKey(PrivateKeyT&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::forward<PrivateKeyT>(value); }
73 template<typename PrivateKeyT = Aws::String>
74 BackendAuthAppleProviderConfig& WithPrivateKey(PrivateKeyT&& value) { SetPrivateKey(std::forward<PrivateKeyT>(value)); return *this;}
76
78
81 inline const Aws::String& GetTeamId() const { return m_teamId; }
82 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
83 template<typename TeamIdT = Aws::String>
84 void SetTeamId(TeamIdT&& value) { m_teamIdHasBeenSet = true; m_teamId = std::forward<TeamIdT>(value); }
85 template<typename TeamIdT = Aws::String>
86 BackendAuthAppleProviderConfig& WithTeamId(TeamIdT&& value) { SetTeamId(std::forward<TeamIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_clientId;
91 bool m_clientIdHasBeenSet = false;
92
93 Aws::String m_keyId;
94 bool m_keyIdHasBeenSet = false;
95
96 Aws::String m_privateKey;
97 bool m_privateKeyHasBeenSet = false;
98
99 Aws::String m_teamId;
100 bool m_teamIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AmplifyBackend
105} // namespace Aws
AWS_AMPLIFYBACKEND_API BackendAuthAppleProviderConfig(Aws::Utils::Json::JsonView jsonValue)
BackendAuthAppleProviderConfig & WithTeamId(TeamIdT &&value)
BackendAuthAppleProviderConfig & WithPrivateKey(PrivateKeyT &&value)
AWS_AMPLIFYBACKEND_API BackendAuthAppleProviderConfig()=default
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
BackendAuthAppleProviderConfig & WithClientId(ClientIdT &&value)
AWS_AMPLIFYBACKEND_API BackendAuthAppleProviderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue