/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DirectConnect { namespace Model { class ConfirmTransitVirtualInterfaceResult { public: AWS_DIRECTCONNECT_API ConfirmTransitVirtualInterfaceResult(); AWS_DIRECTCONNECT_API ConfirmTransitVirtualInterfaceResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTCONNECT_API ConfirmTransitVirtualInterfaceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The state of the virtual interface. The following are the possible * values:

  • confirming: The creation of the virtual * interface is pending confirmation from the virtual interface owner. If the owner * of the virtual interface is different from the owner of the connection on which * it is provisioned, then the virtual interface will remain in this state until it * is confirmed by the virtual interface owner.

  • * verifying: This state only applies to public virtual interfaces. * Each public virtual interface needs validation before the virtual interface can * be created.

  • pending: A virtual interface is in * this state from the time that it is created until the virtual interface is ready * to forward traffic.

  • available: A virtual * interface that is able to forward traffic.

  • down: * A virtual interface that is BGP down.

  • deleting: * A virtual interface is in this state immediately after calling * DeleteVirtualInterface until it can no longer forward traffic.

  • *
  • deleted: A virtual interface that cannot forward * traffic.

  • rejected: The virtual interface owner * has declined creation of the virtual interface. If a virtual interface in the * Confirming state is deleted by the virtual interface owner, the * virtual interface enters the Rejected state.

  • * unknown: The state of the virtual interface is not available.

    *
*/ inline const VirtualInterfaceState& GetVirtualInterfaceState() const{ return m_virtualInterfaceState; } /** *

The state of the virtual interface. The following are the possible * values:

  • confirming: The creation of the virtual * interface is pending confirmation from the virtual interface owner. If the owner * of the virtual interface is different from the owner of the connection on which * it is provisioned, then the virtual interface will remain in this state until it * is confirmed by the virtual interface owner.

  • * verifying: This state only applies to public virtual interfaces. * Each public virtual interface needs validation before the virtual interface can * be created.

  • pending: A virtual interface is in * this state from the time that it is created until the virtual interface is ready * to forward traffic.

  • available: A virtual * interface that is able to forward traffic.

  • down: * A virtual interface that is BGP down.

  • deleting: * A virtual interface is in this state immediately after calling * DeleteVirtualInterface until it can no longer forward traffic.

  • *
  • deleted: A virtual interface that cannot forward * traffic.

  • rejected: The virtual interface owner * has declined creation of the virtual interface. If a virtual interface in the * Confirming state is deleted by the virtual interface owner, the * virtual interface enters the Rejected state.

  • * unknown: The state of the virtual interface is not available.

    *
*/ inline void SetVirtualInterfaceState(const VirtualInterfaceState& value) { m_virtualInterfaceState = value; } /** *

The state of the virtual interface. The following are the possible * values:

  • confirming: The creation of the virtual * interface is pending confirmation from the virtual interface owner. If the owner * of the virtual interface is different from the owner of the connection on which * it is provisioned, then the virtual interface will remain in this state until it * is confirmed by the virtual interface owner.

  • * verifying: This state only applies to public virtual interfaces. * Each public virtual interface needs validation before the virtual interface can * be created.

  • pending: A virtual interface is in * this state from the time that it is created until the virtual interface is ready * to forward traffic.

  • available: A virtual * interface that is able to forward traffic.

  • down: * A virtual interface that is BGP down.

  • deleting: * A virtual interface is in this state immediately after calling * DeleteVirtualInterface until it can no longer forward traffic.

  • *
  • deleted: A virtual interface that cannot forward * traffic.

  • rejected: The virtual interface owner * has declined creation of the virtual interface. If a virtual interface in the * Confirming state is deleted by the virtual interface owner, the * virtual interface enters the Rejected state.

  • * unknown: The state of the virtual interface is not available.

    *
*/ inline void SetVirtualInterfaceState(VirtualInterfaceState&& value) { m_virtualInterfaceState = std::move(value); } /** *

The state of the virtual interface. The following are the possible * values:

  • confirming: The creation of the virtual * interface is pending confirmation from the virtual interface owner. If the owner * of the virtual interface is different from the owner of the connection on which * it is provisioned, then the virtual interface will remain in this state until it * is confirmed by the virtual interface owner.

  • * verifying: This state only applies to public virtual interfaces. * Each public virtual interface needs validation before the virtual interface can * be created.

  • pending: A virtual interface is in * this state from the time that it is created until the virtual interface is ready * to forward traffic.

  • available: A virtual * interface that is able to forward traffic.

  • down: * A virtual interface that is BGP down.

  • deleting: * A virtual interface is in this state immediately after calling * DeleteVirtualInterface until it can no longer forward traffic.

  • *
  • deleted: A virtual interface that cannot forward * traffic.

  • rejected: The virtual interface owner * has declined creation of the virtual interface. If a virtual interface in the * Confirming state is deleted by the virtual interface owner, the * virtual interface enters the Rejected state.

  • * unknown: The state of the virtual interface is not available.

    *
*/ inline ConfirmTransitVirtualInterfaceResult& WithVirtualInterfaceState(const VirtualInterfaceState& value) { SetVirtualInterfaceState(value); return *this;} /** *

The state of the virtual interface. The following are the possible * values:

  • confirming: The creation of the virtual * interface is pending confirmation from the virtual interface owner. If the owner * of the virtual interface is different from the owner of the connection on which * it is provisioned, then the virtual interface will remain in this state until it * is confirmed by the virtual interface owner.

  • * verifying: This state only applies to public virtual interfaces. * Each public virtual interface needs validation before the virtual interface can * be created.

  • pending: A virtual interface is in * this state from the time that it is created until the virtual interface is ready * to forward traffic.

  • available: A virtual * interface that is able to forward traffic.

  • down: * A virtual interface that is BGP down.

  • deleting: * A virtual interface is in this state immediately after calling * DeleteVirtualInterface until it can no longer forward traffic.

  • *
  • deleted: A virtual interface that cannot forward * traffic.

  • rejected: The virtual interface owner * has declined creation of the virtual interface. If a virtual interface in the * Confirming state is deleted by the virtual interface owner, the * virtual interface enters the Rejected state.

  • * unknown: The state of the virtual interface is not available.

    *
*/ inline ConfirmTransitVirtualInterfaceResult& WithVirtualInterfaceState(VirtualInterfaceState&& value) { SetVirtualInterfaceState(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ConfirmTransitVirtualInterfaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ConfirmTransitVirtualInterfaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ConfirmTransitVirtualInterfaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VirtualInterfaceState m_virtualInterfaceState; Aws::String m_requestId; }; } // namespace Model } // namespace DirectConnect } // namespace Aws