AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
62 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
63 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
64 inline EncryptionConfiguration& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
65 inline EncryptionConfiguration& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
66 inline EncryptionConfiguration& WithKeyId(const char* value) { SetKeyId(value); return *this;}
68
70
74 inline const EncryptionType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const EncryptionType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(EncryptionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline EncryptionConfiguration& WithType(const EncryptionType& value) { SetType(value); return *this;}
79 inline EncryptionConfiguration& WithType(EncryptionType&& value) { SetType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_keyId;
84 bool m_keyIdHasBeenSet = false;
85
86 EncryptionType m_type;
87 bool m_typeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace NetworkFirewall
92} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue