AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Sasl.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/Scram.h>
9#include <aws/kafka/model/Iam.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
35 class Sasl
36 {
37 public:
38 AWS_KAFKA_API Sasl();
39 AWS_KAFKA_API Sasl(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KAFKA_API Sasl& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Scram& GetScram() const{ return m_scram; }
51 inline bool ScramHasBeenSet() const { return m_scramHasBeenSet; }
52 inline void SetScram(const Scram& value) { m_scramHasBeenSet = true; m_scram = value; }
53 inline void SetScram(Scram&& value) { m_scramHasBeenSet = true; m_scram = std::move(value); }
54 inline Sasl& WithScram(const Scram& value) { SetScram(value); return *this;}
55 inline Sasl& WithScram(Scram&& value) { SetScram(std::move(value)); return *this;}
57
59
64 inline const Iam& GetIam() const{ return m_iam; }
65 inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
66 inline void SetIam(const Iam& value) { m_iamHasBeenSet = true; m_iam = value; }
67 inline void SetIam(Iam&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); }
68 inline Sasl& WithIam(const Iam& value) { SetIam(value); return *this;}
69 inline Sasl& WithIam(Iam&& value) { SetIam(std::move(value)); return *this;}
71 private:
72
73 Scram m_scram;
74 bool m_scramHasBeenSet = false;
75
76 Iam m_iam;
77 bool m_iamHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Kafka
82} // namespace Aws
Sasl & WithIam(const Iam &value)
Definition Sasl.h:68
AWS_KAFKA_API Sasl & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IamHasBeenSet() const
Definition Sasl.h:65
void SetScram(Scram &&value)
Definition Sasl.h:53
AWS_KAFKA_API Sasl()
void SetIam(const Iam &value)
Definition Sasl.h:66
bool ScramHasBeenSet() const
Definition Sasl.h:51
AWS_KAFKA_API Sasl(Aws::Utils::Json::JsonView jsonValue)
Sasl & WithIam(Iam &&value)
Definition Sasl.h:69
Sasl & WithScram(Scram &&value)
Definition Sasl.h:55
const Scram & GetScram() const
Definition Sasl.h:50
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIam(Iam &&value)
Definition Sasl.h:67
Sasl & WithScram(const Scram &value)
Definition Sasl.h:54
void SetScram(const Scram &value)
Definition Sasl.h:52
const Iam & GetIam() const
Definition Sasl.h:64
Aws::Utils::Json::JsonValue JsonValue