AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
AvailabilityZoneMetadata.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
9#include <aws/network-firewall/model/IPAddressType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace NetworkFirewall {
20namespace Model {
21
29 public:
30 AWS_NETWORKFIREWALL_API AvailabilityZoneMetadata() = default;
31 AWS_NETWORKFIREWALL_API AvailabilityZoneMetadata(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_NETWORKFIREWALL_API AvailabilityZoneMetadata& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline IPAddressType GetIPAddressType() const { return m_iPAddressType; }
41 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
42 inline void SetIPAddressType(IPAddressType value) {
43 m_iPAddressTypeHasBeenSet = true;
44 m_iPAddressType = value;
45 }
47 SetIPAddressType(value);
48 return *this;
49 }
51 private:
53 bool m_iPAddressTypeHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace NetworkFirewall
58} // namespace Aws
AvailabilityZoneMetadata & WithIPAddressType(IPAddressType value)
AWS_NETWORKFIREWALL_API AvailabilityZoneMetadata()=default
AWS_NETWORKFIREWALL_API AvailabilityZoneMetadata(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API AvailabilityZoneMetadata & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const