7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/DirectConnectGatewayAttachmentState.h>
10#include <aws/directconnect/model/DirectConnectGatewayAttachmentType.h>
23namespace DirectConnect
51 inline void SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
65 inline void SetVirtualInterfaceId(
const char* value) { m_virtualInterfaceIdHasBeenSet =
true; m_virtualInterfaceId.assign(value); }
79 inline void SetVirtualInterfaceRegion(
const char* value) { m_virtualInterfaceRegionHasBeenSet =
true; m_virtualInterfaceRegion.assign(value); }
140 inline void SetStateChangeError(
const char* value) { m_stateChangeErrorHasBeenSet =
true; m_stateChangeError.assign(value); }
148 bool m_directConnectGatewayIdHasBeenSet =
false;
151 bool m_virtualInterfaceIdHasBeenSet =
false;
154 bool m_virtualInterfaceRegionHasBeenSet =
false;
157 bool m_virtualInterfaceOwnerAccountHasBeenSet =
false;
160 bool m_attachmentStateHasBeenSet =
false;
163 bool m_attachmentTypeHasBeenSet =
false;
166 bool m_stateChangeErrorHasBeenSet =
false;
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(Aws::String &&value)
bool DirectConnectGatewayIdHasBeenSet() const
void SetVirtualInterfaceOwnerAccount(const char *value)
DirectConnectGatewayAttachment & WithVirtualInterfaceId(const char *value)
bool VirtualInterfaceIdHasBeenSet() const
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(const Aws::String &value)
void SetDirectConnectGatewayId(Aws::String &&value)
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(const char *value)
DirectConnectGatewayAttachment & WithAttachmentState(const DirectConnectGatewayAttachmentState &value)
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(const char *value)
void SetVirtualInterfaceOwnerAccount(const Aws::String &value)
void SetAttachmentType(const DirectConnectGatewayAttachmentType &value)
DirectConnectGatewayAttachment & WithVirtualInterfaceId(Aws::String &&value)
DirectConnectGatewayAttachment & WithStateChangeError(const Aws::String &value)
void SetVirtualInterfaceRegion(Aws::String &&value)
bool VirtualInterfaceRegionHasBeenSet() const
void SetVirtualInterfaceRegion(const char *value)
DirectConnectGatewayAttachment & WithAttachmentType(const DirectConnectGatewayAttachmentType &value)
const Aws::String & GetStateChangeError() const
DirectConnectGatewayAttachment & WithAttachmentState(DirectConnectGatewayAttachmentState &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVirtualInterfaceOwnerAccount() const
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(const Aws::String &value)
DirectConnectGatewayAttachment & WithStateChangeError(const char *value)
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(Aws::String &&value)
void SetStateChangeError(const Aws::String &value)
void SetVirtualInterfaceId(Aws::String &&value)
const Aws::String & GetVirtualInterfaceId() const
DirectConnectGatewayAttachment & WithAttachmentType(DirectConnectGatewayAttachmentType &&value)
bool AttachmentTypeHasBeenSet() const
bool AttachmentStateHasBeenSet() const
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment()
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(const char *value)
void SetVirtualInterfaceRegion(const Aws::String &value)
bool VirtualInterfaceOwnerAccountHasBeenSet() const
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(Aws::String &&value)
const DirectConnectGatewayAttachmentState & GetAttachmentState() const
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(const Aws::String &value)
void SetStateChangeError(Aws::String &&value)
DirectConnectGatewayAttachment & WithStateChangeError(Aws::String &&value)
void SetAttachmentState(const DirectConnectGatewayAttachmentState &value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetDirectConnectGatewayId(const char *value)
void SetStateChangeError(const char *value)
void SetAttachmentState(DirectConnectGatewayAttachmentState &&value)
bool StateChangeErrorHasBeenSet() const
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttachmentType(DirectConnectGatewayAttachmentType &&value)
const DirectConnectGatewayAttachmentType & GetAttachmentType() const
DirectConnectGatewayAttachment & WithVirtualInterfaceId(const Aws::String &value)
void SetDirectConnectGatewayId(const Aws::String &value)
void SetVirtualInterfaceOwnerAccount(Aws::String &&value)
const Aws::String & GetDirectConnectGatewayId() const
void SetVirtualInterfaceId(const char *value)
void SetVirtualInterfaceId(const Aws::String &value)
const Aws::String & GetVirtualInterfaceRegion() const
DirectConnectGatewayAttachmentState
DirectConnectGatewayAttachmentType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue