AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
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 BackendAuthAppleProviderConfig() = default;
33 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetClientId() const { return m_clientId; }
40 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
41 template <typename ClientIdT = Aws::String>
42 void SetClientId(ClientIdT&& value) {
43 m_clientIdHasBeenSet = true;
44 m_clientId = std::forward<ClientIdT>(value);
45 }
46 template <typename ClientIdT = Aws::String>
48 SetClientId(std::forward<ClientIdT>(value));
49 return *this;
50 }
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) {
61 m_keyIdHasBeenSet = true;
62 m_keyId = std::forward<KeyIdT>(value);
63 }
64 template <typename KeyIdT = Aws::String>
66 SetKeyId(std::forward<KeyIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
76 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
77 template <typename PrivateKeyT = Aws::String>
78 void SetPrivateKey(PrivateKeyT&& value) {
79 m_privateKeyHasBeenSet = true;
80 m_privateKey = std::forward<PrivateKeyT>(value);
81 }
82 template <typename PrivateKeyT = Aws::String>
84 SetPrivateKey(std::forward<PrivateKeyT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetTeamId() const { return m_teamId; }
94 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
95 template <typename TeamIdT = Aws::String>
96 void SetTeamId(TeamIdT&& value) {
97 m_teamIdHasBeenSet = true;
98 m_teamId = std::forward<TeamIdT>(value);
99 }
100 template <typename TeamIdT = Aws::String>
102 SetTeamId(std::forward<TeamIdT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_clientId;
108
109 Aws::String m_keyId;
110
111 Aws::String m_privateKey;
112
113 Aws::String m_teamId;
114 bool m_clientIdHasBeenSet = false;
115 bool m_keyIdHasBeenSet = false;
116 bool m_privateKeyHasBeenSet = false;
117 bool m_teamIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace AmplifyBackend
122} // 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