AWS SDK for C++  1.9.106
AWS SDK for C++
EncryptionInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
50  inline const EncryptionAtRest& GetEncryptionAtRest() const{ return m_encryptionAtRest; }
51 
57  inline bool EncryptionAtRestHasBeenSet() const { return m_encryptionAtRestHasBeenSet; }
58 
64  inline void SetEncryptionAtRest(const EncryptionAtRest& value) { m_encryptionAtRestHasBeenSet = true; m_encryptionAtRest = value; }
65 
71  inline void SetEncryptionAtRest(EncryptionAtRest&& value) { m_encryptionAtRestHasBeenSet = true; m_encryptionAtRest = std::move(value); }
72 
78  inline EncryptionInfo& WithEncryptionAtRest(const EncryptionAtRest& value) { SetEncryptionAtRest(value); return *this;}
79 
85  inline EncryptionInfo& WithEncryptionAtRest(EncryptionAtRest&& value) { SetEncryptionAtRest(std::move(value)); return *this;}
86 
87 
93  inline const EncryptionInTransit& GetEncryptionInTransit() const{ return m_encryptionInTransit; }
94 
100  inline bool EncryptionInTransitHasBeenSet() const { return m_encryptionInTransitHasBeenSet; }
101 
107  inline void SetEncryptionInTransit(const EncryptionInTransit& value) { m_encryptionInTransitHasBeenSet = true; m_encryptionInTransit = value; }
108 
114  inline void SetEncryptionInTransit(EncryptionInTransit&& value) { m_encryptionInTransitHasBeenSet = true; m_encryptionInTransit = std::move(value); }
115 
121  inline EncryptionInfo& WithEncryptionInTransit(const EncryptionInTransit& value) { SetEncryptionInTransit(value); return *this;}
122 
128  inline EncryptionInfo& WithEncryptionInTransit(EncryptionInTransit&& value) { SetEncryptionInTransit(std::move(value)); return *this;}
129 
130  private:
131 
132  EncryptionAtRest m_encryptionAtRest;
133  bool m_encryptionAtRestHasBeenSet;
134 
135  EncryptionInTransit m_encryptionInTransit;
136  bool m_encryptionInTransitHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace Kafka
141 } // namespace Aws
Aws::Kafka::Model::EncryptionInfo::SetEncryptionInTransit
void SetEncryptionInTransit(const EncryptionInTransit &value)
Definition: EncryptionInfo.h:107
Aws::Kafka::Model::EncryptionInfo::EncryptionInfo
EncryptionInfo()
Aws::Kafka::Model::EncryptionInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::EncryptionInfo::WithEncryptionInTransit
EncryptionInfo & WithEncryptionInTransit(const EncryptionInTransit &value)
Definition: EncryptionInfo.h:121
Aws::Kafka::Model::EncryptionInfo::operator=
EncryptionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::EncryptionInfo::EncryptionInfo
EncryptionInfo(Aws::Utils::Json::JsonView jsonValue)
EncryptionAtRest.h
Aws::Kafka::Model::EncryptionInfo::WithEncryptionAtRest
EncryptionInfo & WithEncryptionAtRest(EncryptionAtRest &&value)
Definition: EncryptionInfo.h:85
Aws::Kafka::Model::EncryptionInfo
Definition: EncryptionInfo.h:37
Aws::Kafka::Model::EncryptionInfo::WithEncryptionAtRest
EncryptionInfo & WithEncryptionAtRest(const EncryptionAtRest &value)
Definition: EncryptionInfo.h:78
Aws::Kafka::Model::EncryptionInfo::SetEncryptionAtRest
void SetEncryptionAtRest(EncryptionAtRest &&value)
Definition: EncryptionInfo.h:71
Aws::Kafka::Model::EncryptionInfo::GetEncryptionAtRest
const EncryptionAtRest & GetEncryptionAtRest() const
Definition: EncryptionInfo.h:50
Aws::Kafka::Model::EncryptionInfo::SetEncryptionAtRest
void SetEncryptionAtRest(const EncryptionAtRest &value)
Definition: EncryptionInfo.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Kafka::Model::EncryptionInfo::WithEncryptionInTransit
EncryptionInfo & WithEncryptionInTransit(EncryptionInTransit &&value)
Definition: EncryptionInfo.h:128
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::EncryptionAtRest
Definition: EncryptionAtRest.h:35
Aws::Kafka::Model::EncryptionInTransit
Definition: EncryptionInTransit.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::EncryptionInfo::SetEncryptionInTransit
void SetEncryptionInTransit(EncryptionInTransit &&value)
Definition: EncryptionInfo.h:114
Aws::Kafka::Model::EncryptionInfo::GetEncryptionInTransit
const EncryptionInTransit & GetEncryptionInTransit() const
Definition: EncryptionInfo.h:93
Kafka_EXPORTS.h
Aws::Kafka::Model::EncryptionInfo::EncryptionAtRestHasBeenSet
bool EncryptionAtRestHasBeenSet() const
Definition: EncryptionInfo.h:57
EncryptionInTransit.h
Aws::Kafka::Model::EncryptionInfo::EncryptionInTransitHasBeenSet
bool EncryptionInTransitHasBeenSet() const
Definition: EncryptionInfo.h:100