AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
TlsInterceptProperties.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/TlsInterceptMode.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
30 public:
31 AWS_NETWORKFIREWALL_API TlsInterceptProperties() = default;
32 AWS_NETWORKFIREWALL_API TlsInterceptProperties(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_NETWORKFIREWALL_API TlsInterceptProperties& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
43 inline const Aws::String& GetPcaArn() const { return m_pcaArn; }
44 inline bool PcaArnHasBeenSet() const { return m_pcaArnHasBeenSet; }
45 template <typename PcaArnT = Aws::String>
46 void SetPcaArn(PcaArnT&& value) {
47 m_pcaArnHasBeenSet = true;
48 m_pcaArn = std::forward<PcaArnT>(value);
49 }
50 template <typename PcaArnT = Aws::String>
52 SetPcaArn(std::forward<PcaArnT>(value));
53 return *this;
54 }
56
58
61 inline TlsInterceptMode GetTlsInterceptMode() const { return m_tlsInterceptMode; }
62 inline bool TlsInterceptModeHasBeenSet() const { return m_tlsInterceptModeHasBeenSet; }
64 m_tlsInterceptModeHasBeenSet = true;
65 m_tlsInterceptMode = value;
66 }
69 return *this;
70 }
72 private:
73 Aws::String m_pcaArn;
74
76 bool m_pcaArnHasBeenSet = false;
77 bool m_tlsInterceptModeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace NetworkFirewall
82} // namespace Aws
AWS_NETWORKFIREWALL_API TlsInterceptProperties & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
TlsInterceptProperties & WithPcaArn(PcaArnT &&value)
TlsInterceptProperties & WithTlsInterceptMode(TlsInterceptMode value)
AWS_NETWORKFIREWALL_API TlsInterceptProperties(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_NETWORKFIREWALL_API TlsInterceptProperties()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String