AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeliveryStreamEncryptionConfiguration.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/DeliveryStreamEncryptionStatus.h>
10#include <aws/firehose/model/FailureDescription.h>
11#include <aws/firehose/model/KeyType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose {
23namespace Model {
24
35 public:
36 AWS_FIREHOSE_API DeliveryStreamEncryptionConfiguration() = default;
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
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) {
53 m_keyARNHasBeenSet = true;
54 m_keyARN = std::forward<KeyARNT>(value);
55 }
56 template <typename KeyARNT = Aws::String>
58 SetKeyARN(std::forward<KeyARNT>(value));
59 return *this;
60 }
62
64
71 inline KeyType GetKeyType() const { return m_keyType; }
72 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
73 inline void SetKeyType(KeyType value) {
74 m_keyTypeHasBeenSet = true;
75 m_keyType = value;
76 }
78 SetKeyType(value);
79 return *this;
80 }
82
84
92 inline DeliveryStreamEncryptionStatus GetStatus() const { return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 m_statusHasBeenSet = true;
96 m_status = value;
97 }
99 SetStatus(value);
100 return *this;
101 }
103
105
110 inline const FailureDescription& GetFailureDescription() const { return m_failureDescription; }
111 inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
112 template <typename FailureDescriptionT = FailureDescription>
113 void SetFailureDescription(FailureDescriptionT&& value) {
114 m_failureDescriptionHasBeenSet = true;
115 m_failureDescription = std::forward<FailureDescriptionT>(value);
116 }
117 template <typename FailureDescriptionT = FailureDescription>
119 SetFailureDescription(std::forward<FailureDescriptionT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_keyARN;
125
126 KeyType m_keyType{KeyType::NOT_SET};
127
129
130 FailureDescription m_failureDescription;
131 bool m_keyARNHasBeenSet = false;
132 bool m_keyTypeHasBeenSet = false;
133 bool m_statusHasBeenSet = false;
134 bool m_failureDescriptionHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace Firehose
139} // 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