AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetKeyARN(const Aws::String& value) { m_keyARNHasBeenSet = true; m_keyARN = value; }
58 inline void SetKeyARN(Aws::String&& value) { m_keyARNHasBeenSet = true; m_keyARN = std::move(value); }
59 inline void SetKeyARN(const char* value) { m_keyARNHasBeenSet = true; m_keyARN.assign(value); }
60 inline DeliveryStreamEncryptionConfiguration& WithKeyARN(const Aws::String& value) { SetKeyARN(value); return *this;}
61 inline DeliveryStreamEncryptionConfiguration& WithKeyARN(Aws::String&& value) { SetKeyARN(std::move(value)); return *this;}
62 inline DeliveryStreamEncryptionConfiguration& WithKeyARN(const char* value) { SetKeyARN(value); return *this;}
64
66
73 inline const KeyType& GetKeyType() const{ return m_keyType; }
74 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
75 inline void SetKeyType(const KeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
76 inline void SetKeyType(KeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
77 inline DeliveryStreamEncryptionConfiguration& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
78 inline DeliveryStreamEncryptionConfiguration& WithKeyType(KeyType&& value) { SetKeyType(std::move(value)); return *this;}
80
82
90 inline const DeliveryStreamEncryptionStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const DeliveryStreamEncryptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(DeliveryStreamEncryptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
97
99
104 inline const FailureDescription& GetFailureDescription() const{ return m_failureDescription; }
105 inline bool FailureDescriptionHasBeenSet() const { return m_failureDescriptionHasBeenSet; }
106 inline void SetFailureDescription(const FailureDescription& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = value; }
107 inline void SetFailureDescription(FailureDescription&& value) { m_failureDescriptionHasBeenSet = true; m_failureDescription = std::move(value); }
111 private:
112
113 Aws::String m_keyARN;
114 bool m_keyARNHasBeenSet = false;
115
116 KeyType m_keyType;
117 bool m_keyTypeHasBeenSet = false;
118
120 bool m_statusHasBeenSet = false;
121
122 FailureDescription m_failureDescription;
123 bool m_failureDescriptionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Firehose
128} // namespace Aws
DeliveryStreamEncryptionConfiguration & WithKeyARN(Aws::String &&value)
DeliveryStreamEncryptionConfiguration & WithFailureDescription(FailureDescription &&value)
DeliveryStreamEncryptionConfiguration & WithKeyARN(const Aws::String &value)
DeliveryStreamEncryptionConfiguration & WithKeyARN(const char *value)
DeliveryStreamEncryptionConfiguration & WithStatus(const DeliveryStreamEncryptionStatus &value)
DeliveryStreamEncryptionConfiguration & WithStatus(DeliveryStreamEncryptionStatus &&value)
DeliveryStreamEncryptionConfiguration & WithFailureDescription(const FailureDescription &value)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API DeliveryStreamEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
DeliveryStreamEncryptionConfiguration & WithKeyType(KeyType &&value)
DeliveryStreamEncryptionConfiguration & WithKeyType(const KeyType &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