AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
EncryptionConfiguration.h
Go to the documentation of this file.
1
6#pragma once
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 NetworkFirewall
23{
24namespace Model
25{
26
41 {
42 public:
47
48
58 inline const Aws::String& GetKeyId() const{ return m_keyId; }
59
69 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
70
80 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
81
91 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
92
102 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
103
113 inline EncryptionConfiguration& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
114
124 inline EncryptionConfiguration& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
125
135 inline EncryptionConfiguration& WithKeyId(const char* value) { SetKeyId(value); return *this;}
136
137
142 inline const EncryptionType& GetType() const{ return m_type; }
143
148 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
149
154 inline void SetType(const EncryptionType& value) { m_typeHasBeenSet = true; m_type = value; }
155
160 inline void SetType(EncryptionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
161
166 inline EncryptionConfiguration& WithType(const EncryptionType& value) { SetType(value); return *this;}
167
172 inline EncryptionConfiguration& WithType(EncryptionType&& value) { SetType(std::move(value)); return *this;}
173
174 private:
175
176 Aws::String m_keyId;
177 bool m_keyIdHasBeenSet = false;
178
179 EncryptionType m_type;
180 bool m_typeHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace NetworkFirewall
185} // namespace Aws
#define AWS_NETWORKFIREWALL_API
EncryptionConfiguration & WithKeyId(const Aws::String &value)
EncryptionConfiguration & WithType(const EncryptionType &value)
AWS_NETWORKFIREWALL_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithKeyId(const char *value)
EncryptionConfiguration & WithType(EncryptionType &&value)
AWS_NETWORKFIREWALL_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfiguration & WithKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String