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

The state of the interconnect. The following are the possible values:

*
  • requested: The initial state of an interconnect. The * interconnect stays in the requested state until the Letter of Authorization * (LOA) is sent to the customer.

  • pending: The * interconnect is approved, and is being initialized.

  • * available: The network link is up, and the interconnect is ready * for use.

  • down: The network link is down.

    *
  • deleting: The interconnect is being deleted.

    *
  • deleted: The interconnect is deleted.

  • *

    unknown: The state of the interconnect is not available.

    *
*/ inline const InterconnectState& GetInterconnectState() const{ return m_interconnectState; } /** *

The state of the interconnect. The following are the possible values:

*
  • requested: The initial state of an interconnect. The * interconnect stays in the requested state until the Letter of Authorization * (LOA) is sent to the customer.

  • pending: The * interconnect is approved, and is being initialized.

  • * available: The network link is up, and the interconnect is ready * for use.

  • down: The network link is down.

    *
  • deleting: The interconnect is being deleted.

    *
  • deleted: The interconnect is deleted.

  • *

    unknown: The state of the interconnect is not available.

    *
*/ inline void SetInterconnectState(const InterconnectState& value) { m_interconnectState = value; } /** *

The state of the interconnect. The following are the possible values:

*
  • requested: The initial state of an interconnect. The * interconnect stays in the requested state until the Letter of Authorization * (LOA) is sent to the customer.

  • pending: The * interconnect is approved, and is being initialized.

  • * available: The network link is up, and the interconnect is ready * for use.

  • down: The network link is down.

    *
  • deleting: The interconnect is being deleted.

    *
  • deleted: The interconnect is deleted.

  • *

    unknown: The state of the interconnect is not available.

    *
*/ inline void SetInterconnectState(InterconnectState&& value) { m_interconnectState = std::move(value); } /** *

The state of the interconnect. The following are the possible values:

*
  • requested: The initial state of an interconnect. The * interconnect stays in the requested state until the Letter of Authorization * (LOA) is sent to the customer.

  • pending: The * interconnect is approved, and is being initialized.

  • * available: The network link is up, and the interconnect is ready * for use.

  • down: The network link is down.

    *
  • deleting: The interconnect is being deleted.

    *
  • deleted: The interconnect is deleted.

  • *

    unknown: The state of the interconnect is not available.

    *
*/ inline DeleteInterconnectResult& WithInterconnectState(const InterconnectState& value) { SetInterconnectState(value); return *this;} /** *

The state of the interconnect. The following are the possible values:

*
  • requested: The initial state of an interconnect. The * interconnect stays in the requested state until the Letter of Authorization * (LOA) is sent to the customer.

  • pending: The * interconnect is approved, and is being initialized.

  • * available: The network link is up, and the interconnect is ready * for use.

  • down: The network link is down.

    *
  • deleting: The interconnect is being deleted.

    *
  • deleted: The interconnect is deleted.

  • *

    unknown: The state of the interconnect is not available.

    *
*/ inline DeleteInterconnectResult& WithInterconnectState(InterconnectState&& value) { SetInterconnectState(std::move(value)); return *this;} private: InterconnectState m_interconnectState; }; } // namespace Model } // namespace DirectConnect } // namespace Aws