AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/EncryptionAtRest.h>
9#include <aws/kafka/model/EncryptionInTransit.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
37 {
38 public:
39 AWS_KAFKA_API EncryptionInfo();
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const EncryptionAtRest& GetEncryptionAtRest() const{ return m_encryptionAtRest; }
52 inline bool EncryptionAtRestHasBeenSet() const { return m_encryptionAtRestHasBeenSet; }
53 inline void SetEncryptionAtRest(const EncryptionAtRest& value) { m_encryptionAtRestHasBeenSet = true; m_encryptionAtRest = value; }
54 inline void SetEncryptionAtRest(EncryptionAtRest&& value) { m_encryptionAtRestHasBeenSet = true; m_encryptionAtRest = std::move(value); }
55 inline EncryptionInfo& WithEncryptionAtRest(const EncryptionAtRest& value) { SetEncryptionAtRest(value); return *this;}
56 inline EncryptionInfo& WithEncryptionAtRest(EncryptionAtRest&& value) { SetEncryptionAtRest(std::move(value)); return *this;}
58
60
65 inline const EncryptionInTransit& GetEncryptionInTransit() const{ return m_encryptionInTransit; }
66 inline bool EncryptionInTransitHasBeenSet() const { return m_encryptionInTransitHasBeenSet; }
67 inline void SetEncryptionInTransit(const EncryptionInTransit& value) { m_encryptionInTransitHasBeenSet = true; m_encryptionInTransit = value; }
68 inline void SetEncryptionInTransit(EncryptionInTransit&& value) { m_encryptionInTransitHasBeenSet = true; m_encryptionInTransit = std::move(value); }
70 inline EncryptionInfo& WithEncryptionInTransit(EncryptionInTransit&& value) { SetEncryptionInTransit(std::move(value)); return *this;}
72 private:
73
74 EncryptionAtRest m_encryptionAtRest;
75 bool m_encryptionAtRestHasBeenSet = false;
76
77 EncryptionInTransit m_encryptionInTransit;
78 bool m_encryptionInTransitHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
EncryptionInfo & WithEncryptionAtRest(const EncryptionAtRest &value)
void SetEncryptionAtRest(const EncryptionAtRest &value)
AWS_KAFKA_API EncryptionInfo(Aws::Utils::Json::JsonView jsonValue)
EncryptionInfo & WithEncryptionAtRest(EncryptionAtRest &&value)
const EncryptionInTransit & GetEncryptionInTransit() const
void SetEncryptionAtRest(EncryptionAtRest &&value)
void SetEncryptionInTransit(EncryptionInTransit &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionInfo & WithEncryptionInTransit(EncryptionInTransit &&value)
AWS_KAFKA_API EncryptionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionInTransit(const EncryptionInTransit &value)
EncryptionInfo & WithEncryptionInTransit(const EncryptionInTransit &value)
const EncryptionAtRest & GetEncryptionAtRest() const
Aws::Utils::Json::JsonValue JsonValue