AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
48 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
49 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
50 inline BackendAuthAppleProviderConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
51 inline BackendAuthAppleProviderConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
52 inline BackendAuthAppleProviderConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
54
56
59 inline const Aws::String& GetKeyId() const{ return m_keyId; }
60 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
61 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
62 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
63 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
64 inline BackendAuthAppleProviderConfig& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
65 inline BackendAuthAppleProviderConfig& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
66 inline BackendAuthAppleProviderConfig& WithKeyId(const char* value) { SetKeyId(value); return *this;}
68
70
73 inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
74 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
75 inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; }
76 inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); }
77 inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); }
78 inline BackendAuthAppleProviderConfig& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
79 inline BackendAuthAppleProviderConfig& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
80 inline BackendAuthAppleProviderConfig& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
82
84
87 inline const Aws::String& GetTeamId() const{ return m_teamId; }
88 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
89 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
90 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
91 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
92 inline BackendAuthAppleProviderConfig& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
93 inline BackendAuthAppleProviderConfig& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
94 inline BackendAuthAppleProviderConfig& WithTeamId(const char* value) { SetTeamId(value); return *this;}
96 private:
97
98 Aws::String m_clientId;
99 bool m_clientIdHasBeenSet = false;
100
101 Aws::String m_keyId;
102 bool m_keyIdHasBeenSet = false;
103
104 Aws::String m_privateKey;
105 bool m_privateKeyHasBeenSet = false;
106
107 Aws::String m_teamId;
108 bool m_teamIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace AmplifyBackend
113} // namespace Aws
AWS_AMPLIFYBACKEND_API BackendAuthAppleProviderConfig(Aws::Utils::Json::JsonView jsonValue)
BackendAuthAppleProviderConfig & WithTeamId(const char *value)
BackendAuthAppleProviderConfig & WithClientId(Aws::String &&value)
BackendAuthAppleProviderConfig & WithKeyId(const Aws::String &value)
BackendAuthAppleProviderConfig & WithTeamId(const Aws::String &value)
BackendAuthAppleProviderConfig & WithTeamId(Aws::String &&value)
BackendAuthAppleProviderConfig & WithClientId(const Aws::String &value)
BackendAuthAppleProviderConfig & WithClientId(const char *value)
BackendAuthAppleProviderConfig & WithKeyId(const char *value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
BackendAuthAppleProviderConfig & WithPrivateKey(const Aws::String &value)
BackendAuthAppleProviderConfig & WithPrivateKey(const char *value)
BackendAuthAppleProviderConfig & WithKeyId(Aws::String &&value)
BackendAuthAppleProviderConfig & WithPrivateKey(Aws::String &&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