AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SelfManagedKafkaAccessConfigurationCredentials.h
1
6#pragma once
7#include <aws/pipes/Pipes_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 Pipes
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBasicAuth() const { return m_basicAuth; }
46 inline bool BasicAuthHasBeenSet() const { return m_basicAuthHasBeenSet; }
47 template<typename BasicAuthT = Aws::String>
48 void SetBasicAuth(BasicAuthT&& value) { m_basicAuthHasBeenSet = true; m_basicAuth = std::forward<BasicAuthT>(value); }
49 template<typename BasicAuthT = Aws::String>
50 SelfManagedKafkaAccessConfigurationCredentials& WithBasicAuth(BasicAuthT&& value) { SetBasicAuth(std::forward<BasicAuthT>(value)); return *this;}
52
54
57 inline const Aws::String& GetSaslScram512Auth() const { return m_saslScram512Auth; }
58 inline bool SaslScram512AuthHasBeenSet() const { return m_saslScram512AuthHasBeenSet; }
59 template<typename SaslScram512AuthT = Aws::String>
60 void SetSaslScram512Auth(SaslScram512AuthT&& value) { m_saslScram512AuthHasBeenSet = true; m_saslScram512Auth = std::forward<SaslScram512AuthT>(value); }
61 template<typename SaslScram512AuthT = Aws::String>
62 SelfManagedKafkaAccessConfigurationCredentials& WithSaslScram512Auth(SaslScram512AuthT&& value) { SetSaslScram512Auth(std::forward<SaslScram512AuthT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSaslScram256Auth() const { return m_saslScram256Auth; }
70 inline bool SaslScram256AuthHasBeenSet() const { return m_saslScram256AuthHasBeenSet; }
71 template<typename SaslScram256AuthT = Aws::String>
72 void SetSaslScram256Auth(SaslScram256AuthT&& value) { m_saslScram256AuthHasBeenSet = true; m_saslScram256Auth = std::forward<SaslScram256AuthT>(value); }
73 template<typename SaslScram256AuthT = Aws::String>
74 SelfManagedKafkaAccessConfigurationCredentials& WithSaslScram256Auth(SaslScram256AuthT&& value) { SetSaslScram256Auth(std::forward<SaslScram256AuthT>(value)); return *this;}
76
78
81 inline const Aws::String& GetClientCertificateTlsAuth() const { return m_clientCertificateTlsAuth; }
82 inline bool ClientCertificateTlsAuthHasBeenSet() const { return m_clientCertificateTlsAuthHasBeenSet; }
83 template<typename ClientCertificateTlsAuthT = Aws::String>
84 void SetClientCertificateTlsAuth(ClientCertificateTlsAuthT&& value) { m_clientCertificateTlsAuthHasBeenSet = true; m_clientCertificateTlsAuth = std::forward<ClientCertificateTlsAuthT>(value); }
85 template<typename ClientCertificateTlsAuthT = Aws::String>
86 SelfManagedKafkaAccessConfigurationCredentials& WithClientCertificateTlsAuth(ClientCertificateTlsAuthT&& value) { SetClientCertificateTlsAuth(std::forward<ClientCertificateTlsAuthT>(value)); return *this;}
88 private:
89
90 Aws::String m_basicAuth;
91 bool m_basicAuthHasBeenSet = false;
92
93 Aws::String m_saslScram512Auth;
94 bool m_saslScram512AuthHasBeenSet = false;
95
96 Aws::String m_saslScram256Auth;
97 bool m_saslScram256AuthHasBeenSet = false;
98
99 Aws::String m_clientCertificateTlsAuth;
100 bool m_clientCertificateTlsAuthHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Pipes
105} // namespace Aws
SelfManagedKafkaAccessConfigurationCredentials & WithBasicAuth(BasicAuthT &&value)
AWS_PIPES_API SelfManagedKafkaAccessConfigurationCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfManagedKafkaAccessConfigurationCredentials & WithClientCertificateTlsAuth(ClientCertificateTlsAuthT &&value)
SelfManagedKafkaAccessConfigurationCredentials & WithSaslScram256Auth(SaslScram256AuthT &&value)
AWS_PIPES_API SelfManagedKafkaAccessConfigurationCredentials(Aws::Utils::Json::JsonView jsonValue)
SelfManagedKafkaAccessConfigurationCredentials & WithSaslScram512Auth(SaslScram512AuthT &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue