7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
19namespace DirectConnect {
31 AWS_DIRECTCONNECT_API
VirtualGateway(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_DIRECTCONNECT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename VirtualGatewayIdT = Aws::String>
43 m_virtualGatewayIdHasBeenSet =
true;
44 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
46 template <
typename VirtualGatewayIdT = Aws::String>
65 template <
typename VirtualGatewayStateT = Aws::String>
67 m_virtualGatewayStateHasBeenSet =
true;
68 m_virtualGatewayState = std::forward<VirtualGatewayStateT>(value);
70 template <
typename VirtualGatewayStateT = Aws::String>
80 bool m_virtualGatewayIdHasBeenSet =
false;
81 bool m_virtualGatewayStateHasBeenSet =
false;
AWS_DIRECTCONNECT_API VirtualGateway()=default
bool VirtualGatewayStateHasBeenSet() const
const Aws::String & GetVirtualGatewayId() const
const Aws::String & GetVirtualGatewayState() const
AWS_DIRECTCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_DIRECTCONNECT_API VirtualGateway & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetVirtualGatewayState(VirtualGatewayStateT &&value)
AWS_DIRECTCONNECT_API VirtualGateway(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool VirtualGatewayIdHasBeenSet() const
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
VirtualGateway & WithVirtualGatewayId(VirtualGatewayIdT &&value)
VirtualGateway & WithVirtualGatewayState(VirtualGatewayStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String