AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetKeyARN(const Aws::String& value) { m_keyARNHasBeenSet = true; m_keyARN = value; }
52 inline void SetKeyARN(Aws::String&& value) { m_keyARNHasBeenSet = true; m_keyARN = std::move(value); }
53 inline void SetKeyARN(const char* value) { m_keyARNHasBeenSet = true; m_keyARN.assign(value); }
54 inline DeliveryStreamEncryptionConfigurationInput& WithKeyARN(const Aws::String& value) { SetKeyARN(value); return *this;}
55 inline DeliveryStreamEncryptionConfigurationInput& WithKeyARN(Aws::String&& value) { SetKeyARN(std::move(value)); return *this;}
56 inline DeliveryStreamEncryptionConfigurationInput& WithKeyARN(const char* value) { SetKeyARN(value); return *this;}
58
60
84 inline const KeyType& GetKeyType() const{ return m_keyType; }
85 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
86 inline void SetKeyType(const KeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
87 inline void SetKeyType(KeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
88 inline DeliveryStreamEncryptionConfigurationInput& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
89 inline DeliveryStreamEncryptionConfigurationInput& WithKeyType(KeyType&& value) { SetKeyType(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_keyARN;
94 bool m_keyARNHasBeenSet = false;
95
96 KeyType m_keyType;
97 bool m_keyTypeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Firehose
102} // namespace Aws
DeliveryStreamEncryptionConfigurationInput & WithKeyType(const KeyType &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryStreamEncryptionConfigurationInput & WithKeyType(KeyType &&value)
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(const Aws::String &value)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(Aws::String &&value)
DeliveryStreamEncryptionConfigurationInput & WithKeyARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue