AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/EncryptionType.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 NetworkFirewall
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_NETWORKFIREWALL_API EncryptionConfiguration() = default;
44 AWS_NETWORKFIREWALL_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue);
46 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
59 inline const Aws::String& GetKeyId() const { return m_keyId; }
60 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
61 template<typename KeyIdT = Aws::String>
62 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
63 template<typename KeyIdT = Aws::String>
64 EncryptionConfiguration& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
66
68
72 inline EncryptionType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(EncryptionType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline EncryptionConfiguration& WithType(EncryptionType value) { SetType(value); return *this;}
77 private:
78
79 Aws::String m_keyId;
80 bool m_keyIdHasBeenSet = false;
81
83 bool m_typeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace NetworkFirewall
88} // namespace Aws
AWS_NETWORKFIREWALL_API EncryptionConfiguration()=default
AWS_NETWORKFIREWALL_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionConfiguration & WithKeyId(KeyIdT &&value)
AWS_NETWORKFIREWALL_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionConfiguration & WithType(EncryptionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue