AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
ChannelEncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9#include <aws/kinesis/model/ChannelEncryptionType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kinesis {
21namespace Model {
22
31 public:
32 AWS_KINESIS_API ChannelEncryptionConfiguration() = default;
35 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline ChannelEncryptionType GetEncryptionType() const { return m_encryptionType; }
42 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
44 m_encryptionTypeHasBeenSet = true;
45 m_encryptionType = value;
46 }
48 SetEncryptionType(value);
49 return *this;
50 }
52
54
59 inline const Aws::String& GetKeyId() const { return m_keyId; }
60 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
61 template <typename KeyIdT = Aws::String>
62 void SetKeyId(KeyIdT&& value) {
63 m_keyIdHasBeenSet = true;
64 m_keyId = std::forward<KeyIdT>(value);
65 }
66 template <typename KeyIdT = Aws::String>
68 SetKeyId(std::forward<KeyIdT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_keyId;
76 bool m_encryptionTypeHasBeenSet = false;
77 bool m_keyIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Kinesis
82} // namespace Aws
AWS_KINESIS_API ChannelEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ChannelEncryptionConfiguration & WithKeyId(KeyIdT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API ChannelEncryptionConfiguration()=default
ChannelEncryptionConfiguration & WithEncryptionType(ChannelEncryptionType value)
AWS_KINESIS_API ChannelEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue