AWS SDK for C++

AWS SDK for C++ Version 1.11.792

Loading...
Searching...
No Matches
KafkaClusterEncryptionInTransit.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9#include <aws/kafka/model/KafkaClusterEncryptionInTransitType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kafka {
21namespace Model {
22
30 public:
31 AWS_KAFKA_API KafkaClusterEncryptionInTransit() = default;
34 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline KafkaClusterEncryptionInTransitType GetEncryptionType() const { return m_encryptionType; }
41 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
43 m_encryptionTypeHasBeenSet = true;
44 m_encryptionType = value;
45 }
47 SetEncryptionType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetRootCaCertificate() const { return m_rootCaCertificate; }
57 inline bool RootCaCertificateHasBeenSet() const { return m_rootCaCertificateHasBeenSet; }
58 template <typename RootCaCertificateT = Aws::String>
59 void SetRootCaCertificate(RootCaCertificateT&& value) {
60 m_rootCaCertificateHasBeenSet = true;
61 m_rootCaCertificate = std::forward<RootCaCertificateT>(value);
62 }
63 template <typename RootCaCertificateT = Aws::String>
65 SetRootCaCertificate(std::forward<RootCaCertificateT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_rootCaCertificate;
73 bool m_encryptionTypeHasBeenSet = false;
74 bool m_rootCaCertificateHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Kafka
79} // namespace Aws
AWS_KAFKA_API KafkaClusterEncryptionInTransit(Aws::Utils::Json::JsonView jsonValue)
KafkaClusterEncryptionInTransitType GetEncryptionType() const
void SetEncryptionType(KafkaClusterEncryptionInTransitType value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
KafkaClusterEncryptionInTransit & WithEncryptionType(KafkaClusterEncryptionInTransitType value)
KafkaClusterEncryptionInTransit & WithRootCaCertificate(RootCaCertificateT &&value)
AWS_KAFKA_API KafkaClusterEncryptionInTransit & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue