AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
IPSetMetadata.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace NetworkFirewall {
17namespace Model {
18
25 public:
26 AWS_NETWORKFIREWALL_API IPSetMetadata() = default;
27 AWS_NETWORKFIREWALL_API IPSetMetadata(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
28 AWS_NETWORKFIREWALL_API IPSetMetadata& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
30
32
37 inline int64_t GetResolvedCIDRCount() const { return m_resolvedCIDRCount; }
38 inline bool ResolvedCIDRCountHasBeenSet() const { return m_resolvedCIDRCountHasBeenSet; }
39 inline void SetResolvedCIDRCount(int64_t value) {
40 m_resolvedCIDRCountHasBeenSet = true;
41 m_resolvedCIDRCount = value;
42 }
43 inline IPSetMetadata& WithResolvedCIDRCount(int64_t value) {
45 return *this;
46 }
48 private:
49 int64_t m_resolvedCIDRCount{0};
50 bool m_resolvedCIDRCountHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace NetworkFirewall
55} // namespace Aws
AWS_NETWORKFIREWALL_API IPSetMetadata & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
IPSetMetadata & WithResolvedCIDRCount(int64_t value)
AWS_NETWORKFIREWALL_API IPSetMetadata(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API IPSetMetadata()=default
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const