AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConnectivitySasl.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/VpcConnectivityScram.h>
9#include <aws/kafka/model/VpcConnectivityIam.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
36 {
37 public:
38 AWS_KAFKA_API VpcConnectivitySasl();
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const VpcConnectivityScram& GetScram() const{ return m_scram; }
52 inline bool ScramHasBeenSet() const { return m_scramHasBeenSet; }
53 inline void SetScram(const VpcConnectivityScram& value) { m_scramHasBeenSet = true; m_scram = value; }
54 inline void SetScram(VpcConnectivityScram&& value) { m_scramHasBeenSet = true; m_scram = std::move(value); }
55 inline VpcConnectivitySasl& WithScram(const VpcConnectivityScram& value) { SetScram(value); return *this;}
56 inline VpcConnectivitySasl& WithScram(VpcConnectivityScram&& value) { SetScram(std::move(value)); return *this;}
58
60
66 inline const VpcConnectivityIam& GetIam() const{ return m_iam; }
67 inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
68 inline void SetIam(const VpcConnectivityIam& value) { m_iamHasBeenSet = true; m_iam = value; }
69 inline void SetIam(VpcConnectivityIam&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); }
70 inline VpcConnectivitySasl& WithIam(const VpcConnectivityIam& value) { SetIam(value); return *this;}
71 inline VpcConnectivitySasl& WithIam(VpcConnectivityIam&& value) { SetIam(std::move(value)); return *this;}
73 private:
74
76 bool m_scramHasBeenSet = false;
77
79 bool m_iamHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
AWS_KAFKA_API VpcConnectivitySasl(Aws::Utils::Json::JsonView jsonValue)
VpcConnectivitySasl & WithScram(const VpcConnectivityScram &value)
void SetIam(VpcConnectivityIam &&value)
AWS_KAFKA_API VpcConnectivitySasl & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIam(const VpcConnectivityIam &value)
const VpcConnectivityScram & GetScram() const
void SetScram(VpcConnectivityScram &&value)
VpcConnectivitySasl & WithScram(VpcConnectivityScram &&value)
VpcConnectivitySasl & WithIam(VpcConnectivityIam &&value)
const VpcConnectivityIam & GetIam() const
void SetScram(const VpcConnectivityScram &value)
VpcConnectivitySasl & WithIam(const VpcConnectivityIam &value)
Aws::Utils::Json::JsonValue JsonValue