AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeliveryStreamEncryptionConfigurationInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/KeyType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Firehose {
21namespace Model {
22
30 public:
31 AWS_FIREHOSE_API DeliveryStreamEncryptionConfigurationInput() = default;
34 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::String& GetKeyARN() const { return m_keyARN; }
44 inline bool KeyARNHasBeenSet() const { return m_keyARNHasBeenSet; }
45 template <typename KeyARNT = Aws::String>
46 void SetKeyARN(KeyARNT&& value) {
47 m_keyARNHasBeenSet = true;
48 m_keyARN = std::forward<KeyARNT>(value);
49 }
50 template <typename KeyARNT = Aws::String>
52 SetKeyARN(std::forward<KeyARNT>(value));
53 return *this;
54 }
56
58
82 inline KeyType GetKeyType() const { return m_keyType; }
83 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
84 inline void SetKeyType(KeyType value) {
85 m_keyTypeHasBeenSet = true;
86 m_keyType = value;
87 }
89 SetKeyType(value);
90 return *this;
91 }
93 private:
94 Aws::String m_keyARN;
95
96 KeyType m_keyType{KeyType::NOT_SET};
97 bool m_keyARNHasBeenSet = false;
98 bool m_keyTypeHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Firehose
103} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(KeyARNT &&value)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue