AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeliveryStreamEncryptionConfiguration.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 <aws/firehose/model/DeliveryStreamEncryptionStatus.h>
11#include <aws/firehose/model/FailureDescription.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Firehose
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_FIREHOSE_API DeliveryStreamEncryptionConfiguration() = default;
44 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
55 inline const Aws::String& GetKeyARN() const { return m_keyARN; }
56 inline bool KeyARNHasBeenSet() const { return m_keyARNHasBeenSet; }
57 template<typename KeyARNT = Aws::String>
58 void SetKeyARN(KeyARNT&& value) { m_keyARNHasBeenSet = true; m_keyARN = std::forward<KeyARNT>(value); }
59 template<typename KeyARNT = Aws::String>
60 DeliveryStreamEncryptionConfiguration& WithKeyARN(KeyARNT&& value) { SetKeyARN(std::forward<KeyARNT>(value)); return *this;}
62
64
71 inline KeyType GetKeyType() const { return m_keyType; }
72 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
73 inline void SetKeyType(KeyType value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
76
78
86 inline DeliveryStreamEncryptionStatus GetStatus() const { return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(DeliveryStreamEncryptionStatus value) { m_statusHasBeenSet = true; m_status = value; }
91
93
98 inline const FailureDescription& GetFailureDescription() const { return m_failureDescription; }
99 inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
100 template<typename FailureDescriptionT = FailureDescription>
101 void SetFailureDescription(FailureDescriptionT&& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = std::forward<FailureDescriptionT>(value); }
102 template<typename FailureDescriptionT = FailureDescription>
103 DeliveryStreamEncryptionConfiguration& WithFailureDescription(FailureDescriptionT&& value) { SetFailureDescription(std::forward<FailureDescriptionT>(value)); return *this;}
105 private:
106
107 Aws::String m_keyARN;
108 bool m_keyARNHasBeenSet = false;
109
110 KeyType m_keyType{KeyType::NOT_SET};
111 bool m_keyTypeHasBeenSet = false;
112
114 bool m_statusHasBeenSet = false;
115
116 FailureDescription m_failureDescription;
117 bool m_failureDescriptionHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Firehose
122} // namespace Aws
AWS_FIREHOSE_API DeliveryStreamEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
DeliveryStreamEncryptionConfiguration & WithKeyARN(KeyARNT &&value)
DeliveryStreamEncryptionConfiguration & WithKeyType(KeyType value)
DeliveryStreamEncryptionConfiguration & WithStatus(DeliveryStreamEncryptionStatus value)
DeliveryStreamEncryptionConfiguration & WithFailureDescription(FailureDescriptionT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue