AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/EncryptionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace NetworkFirewall {
21namespace Model {
22
37 public:
38 AWS_NETWORKFIREWALL_API EncryptionConfiguration() = default;
39 AWS_NETWORKFIREWALL_API EncryptionConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_NETWORKFIREWALL_API EncryptionConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
41 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
42
44
53 inline const Aws::String& GetKeyId() const { return m_keyId; }
54 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
55 template <typename KeyIdT = Aws::String>
56 void SetKeyId(KeyIdT&& value) {
57 m_keyIdHasBeenSet = true;
58 m_keyId = std::forward<KeyIdT>(value);
59 }
60 template <typename KeyIdT = Aws::String>
62 SetKeyId(std::forward<KeyIdT>(value));
63 return *this;
64 }
66
68
72 inline EncryptionType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(EncryptionType value) {
75 m_typeHasBeenSet = true;
76 m_type = value;
77 }
79 SetType(value);
80 return *this;
81 }
83 private:
84 Aws::String m_keyId;
85
87 bool m_keyIdHasBeenSet = false;
88 bool m_typeHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace NetworkFirewall
93} // namespace Aws
AWS_NETWORKFIREWALL_API EncryptionConfiguration()=default
EncryptionConfiguration & WithKeyId(KeyIdT &&value)
AWS_NETWORKFIREWALL_API EncryptionConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API EncryptionConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
EncryptionConfiguration & WithType(EncryptionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String