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/ContextType.h>
20namespace NetworkFirewall {
32 AWS_NETWORKFIREWALL_API
ResourceContext(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 m_contextTypeHasBeenSet =
true;
48 m_contextType = value;
62 template <
typename RegionT = Aws::String>
64 m_regionHasBeenSet =
true;
65 m_region = std::forward<RegionT>(value);
67 template <
typename RegionT = Aws::String>
80 template <
typename AvailabilityZoneT = Aws::String>
82 m_availabilityZoneHasBeenSet =
true;
83 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
85 template <
typename AvailabilityZoneT = Aws::String>
98 template <
typename AttachmentTypeT = Aws::String>
100 m_attachmentTypeHasBeenSet =
true;
101 m_attachmentType = std::forward<AttachmentTypeT>(value);
103 template <
typename AttachmentTypeT = Aws::String>
119 template <
typename PublicIdT = Aws::String>
121 m_publicIdHasBeenSet =
true;
122 m_publicId = std::forward<PublicIdT>(value);
124 template <
typename PublicIdT = Aws::String>
140 bool m_contextTypeHasBeenSet =
false;
141 bool m_regionHasBeenSet =
false;
142 bool m_availabilityZoneHasBeenSet =
false;
143 bool m_attachmentTypeHasBeenSet =
false;
144 bool m_publicIdHasBeenSet =
false;
const Aws::String & GetAvailabilityZone() const
void SetPublicId(PublicIdT &&value)
ResourceContext & WithRegion(RegionT &&value)
const Aws::String & GetAttachmentType() const
const Aws::String & GetRegion() const
ResourceContext & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_NETWORKFIREWALL_API ResourceContext()=default
void SetAttachmentType(AttachmentTypeT &&value)
bool AttachmentTypeHasBeenSet() const
ResourceContext & WithPublicId(PublicIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
AWS_NETWORKFIREWALL_API ResourceContext(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RegionHasBeenSet() const
const Aws::String & GetPublicId() const
void SetRegion(RegionT &&value)
ResourceContext & WithContextType(ContextType value)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool AvailabilityZoneHasBeenSet() const
ContextType GetContextType() const
bool ContextTypeHasBeenSet() const
AWS_NETWORKFIREWALL_API ResourceContext & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool PublicIdHasBeenSet() const
void SetContextType(ContextType value)
ResourceContext & WithAttachmentType(AttachmentTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String