AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
MSKAccessCredentials.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/Pipes_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pipes {
20namespace Model {
21
29 public:
30 AWS_PIPES_API MSKAccessCredentials() = default;
33 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSaslScram512Auth() const { return m_saslScram512Auth; }
40 inline bool SaslScram512AuthHasBeenSet() const { return m_saslScram512AuthHasBeenSet; }
41 template <typename SaslScram512AuthT = Aws::String>
42 void SetSaslScram512Auth(SaslScram512AuthT&& value) {
43 m_saslScram512AuthHasBeenSet = true;
44 m_saslScram512Auth = std::forward<SaslScram512AuthT>(value);
45 }
46 template <typename SaslScram512AuthT = Aws::String>
47 MSKAccessCredentials& WithSaslScram512Auth(SaslScram512AuthT&& value) {
48 SetSaslScram512Auth(std::forward<SaslScram512AuthT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetClientCertificateTlsAuth() const { return m_clientCertificateTlsAuth; }
58 inline bool ClientCertificateTlsAuthHasBeenSet() const { return m_clientCertificateTlsAuthHasBeenSet; }
59 template <typename ClientCertificateTlsAuthT = Aws::String>
60 void SetClientCertificateTlsAuth(ClientCertificateTlsAuthT&& value) {
61 m_clientCertificateTlsAuthHasBeenSet = true;
62 m_clientCertificateTlsAuth = std::forward<ClientCertificateTlsAuthT>(value);
63 }
64 template <typename ClientCertificateTlsAuthT = Aws::String>
65 MSKAccessCredentials& WithClientCertificateTlsAuth(ClientCertificateTlsAuthT&& value) {
66 SetClientCertificateTlsAuth(std::forward<ClientCertificateTlsAuthT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_saslScram512Auth;
72
73 Aws::String m_clientCertificateTlsAuth;
74 bool m_saslScram512AuthHasBeenSet = false;
75 bool m_clientCertificateTlsAuthHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Pipes
80} // namespace Aws
MSKAccessCredentials & WithSaslScram512Auth(SaslScram512AuthT &&value)
const Aws::String & GetSaslScram512Auth() const
void SetClientCertificateTlsAuth(ClientCertificateTlsAuthT &&value)
AWS_PIPES_API MSKAccessCredentials(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API MSKAccessCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSaslScram512Auth(SaslScram512AuthT &&value)
AWS_PIPES_API MSKAccessCredentials()=default
const Aws::String & GetClientCertificateTlsAuth() const
MSKAccessCredentials & WithClientCertificateTlsAuth(ClientCertificateTlsAuthT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue