AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeliveryStreamEncryptionConfigurationInput.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/KeyType.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 Firehose
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FIREHOSE_API DeliveryStreamEncryptionConfigurationInput() = default;
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetKeyARN() const { return m_keyARN; }
50 inline bool KeyARNHasBeenSet() const { return m_keyARNHasBeenSet; }
51 template<typename KeyARNT = Aws::String>
52 void SetKeyARN(KeyARNT&& value) { m_keyARNHasBeenSet = true; m_keyARN = std::forward<KeyARNT>(value); }
53 template<typename KeyARNT = Aws::String>
54 DeliveryStreamEncryptionConfigurationInput& WithKeyARN(KeyARNT&& value) { SetKeyARN(std::forward<KeyARNT>(value)); return *this;}
56
58
82 inline KeyType GetKeyType() const { return m_keyType; }
83 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
84 inline void SetKeyType(KeyType value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
87 private:
88
89 Aws::String m_keyARN;
90 bool m_keyARNHasBeenSet = false;
91
92 KeyType m_keyType{KeyType::NOT_SET};
93 bool m_keyTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Firehose
98} // 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