7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/directconnect/DirectConnect_EXPORTS.h>
9#include <aws/directconnect/model/DirectConnectGatewayAttachmentState.h>
10#include <aws/directconnect/model/DirectConnectGatewayAttachmentType.h>
21namespace DirectConnect {
43 template <
typename DirectConnectGatewayIdT = Aws::String>
45 m_directConnectGatewayIdHasBeenSet =
true;
46 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
48 template <
typename DirectConnectGatewayIdT = Aws::String>
61 template <
typename VirtualInterfaceIdT = Aws::String>
63 m_virtualInterfaceIdHasBeenSet =
true;
64 m_virtualInterfaceId = std::forward<VirtualInterfaceIdT>(value);
66 template <
typename VirtualInterfaceIdT = Aws::String>
79 template <
typename VirtualInterfaceRegionT = Aws::String>
81 m_virtualInterfaceRegionHasBeenSet =
true;
82 m_virtualInterfaceRegion = std::forward<VirtualInterfaceRegionT>(value);
84 template <
typename VirtualInterfaceRegionT = Aws::String>
98 template <
typename VirtualInterfaceOwnerAccountT = Aws::String>
100 m_virtualInterfaceOwnerAccountHasBeenSet =
true;
101 m_virtualInterfaceOwnerAccount = std::forward<VirtualInterfaceOwnerAccountT>(value);
103 template <
typename VirtualInterfaceOwnerAccountT = Aws::String>
125 m_attachmentStateHasBeenSet =
true;
126 m_attachmentState = value;
141 m_attachmentTypeHasBeenSet =
true;
142 m_attachmentType = value;
156 template <
typename StateChangeErrorT = Aws::String>
158 m_stateChangeErrorHasBeenSet =
true;
159 m_stateChangeError = std::forward<StateChangeErrorT>(value);
161 template <
typename StateChangeErrorT = Aws::String>
181 bool m_directConnectGatewayIdHasBeenSet =
false;
182 bool m_virtualInterfaceIdHasBeenSet =
false;
183 bool m_virtualInterfaceRegionHasBeenSet =
false;
184 bool m_virtualInterfaceOwnerAccountHasBeenSet =
false;
185 bool m_attachmentStateHasBeenSet =
false;
186 bool m_attachmentTypeHasBeenSet =
false;
187 bool m_stateChangeErrorHasBeenSet =
false;
bool DirectConnectGatewayIdHasBeenSet() const
bool VirtualInterfaceIdHasBeenSet() const
DirectConnectGatewayAttachmentState GetAttachmentState() const
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(VirtualInterfaceRegionT &&value)
DirectConnectGatewayAttachment & WithAttachmentState(DirectConnectGatewayAttachmentState value)
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
bool VirtualInterfaceRegionHasBeenSet() const
const Aws::String & GetStateChangeError() const
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(VirtualInterfaceOwnerAccountT &&value)
DirectConnectGatewayAttachment & WithAttachmentType(DirectConnectGatewayAttachmentType value)
void SetVirtualInterfaceRegion(VirtualInterfaceRegionT &&value)
const Aws::String & GetVirtualInterfaceOwnerAccount() const
const Aws::String & GetVirtualInterfaceId() const
bool AttachmentTypeHasBeenSet() const
bool AttachmentStateHasBeenSet() const
void SetAttachmentType(DirectConnectGatewayAttachmentType value)
bool VirtualInterfaceOwnerAccountHasBeenSet() const
void SetAttachmentState(DirectConnectGatewayAttachmentState value)
DirectConnectGatewayAttachment & WithStateChangeError(StateChangeErrorT &&value)
DirectConnectGatewayAttachment & WithVirtualInterfaceId(VirtualInterfaceIdT &&value)
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment()=default
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment(Aws::Utils::Json::JsonView jsonValue)
DirectConnectGatewayAttachmentType GetAttachmentType() const
bool StateChangeErrorHasBeenSet() const
void SetVirtualInterfaceOwnerAccount(VirtualInterfaceOwnerAccountT &&value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualInterfaceId(VirtualInterfaceIdT &&value)
const Aws::String & GetDirectConnectGatewayId() const
void SetStateChangeError(StateChangeErrorT &&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