/** * 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 DeleteInterconnectResult { public: AWS_DIRECTCONNECT_API DeleteInterconnectResult(); AWS_DIRECTCONNECT_API DeleteInterconnectResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTCONNECT_API 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;} 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 DeleteInterconnectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteInterconnectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteInterconnectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: InterconnectState m_interconnectState; Aws::String m_requestId; }; } // namespace Model } // namespace DirectConnect } // namespace Aws