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

The list of customer agreements.

*/ inline const Aws::Vector& GetAgreements() const{ return m_agreements; } /** *

The list of customer agreements.

*/ inline void SetAgreements(const Aws::Vector& value) { m_agreements = value; } /** *

The list of customer agreements.

*/ inline void SetAgreements(Aws::Vector&& value) { m_agreements = std::move(value); } /** *

The list of customer agreements.

*/ inline DescribeCustomerMetadataResult& WithAgreements(const Aws::Vector& value) { SetAgreements(value); return *this;} /** *

The list of customer agreements.

*/ inline DescribeCustomerMetadataResult& WithAgreements(Aws::Vector&& value) { SetAgreements(std::move(value)); return *this;} /** *

The list of customer agreements.

*/ inline DescribeCustomerMetadataResult& AddAgreements(const CustomerAgreement& value) { m_agreements.push_back(value); return *this; } /** *

The list of customer agreements.

*/ inline DescribeCustomerMetadataResult& AddAgreements(CustomerAgreement&& value) { m_agreements.push_back(std::move(value)); return *this; } /** *

The type of network-to-network interface (NNI) partner. The partner type will * be one of the following:

  • V1: This partner can only allocate * 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit * connections.

  • V2: This partner can only allocate 1GB, 2GB, 5GB, * or 10GB hosted connections.

  • nonPartner: The customer is not a * partner.

*/ inline const NniPartnerType& GetNniPartnerType() const{ return m_nniPartnerType; } /** *

The type of network-to-network interface (NNI) partner. The partner type will * be one of the following:

  • V1: This partner can only allocate * 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit * connections.

  • V2: This partner can only allocate 1GB, 2GB, 5GB, * or 10GB hosted connections.

  • nonPartner: The customer is not a * partner.

*/ inline void SetNniPartnerType(const NniPartnerType& value) { m_nniPartnerType = value; } /** *

The type of network-to-network interface (NNI) partner. The partner type will * be one of the following:

  • V1: This partner can only allocate * 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit * connections.

  • V2: This partner can only allocate 1GB, 2GB, 5GB, * or 10GB hosted connections.

  • nonPartner: The customer is not a * partner.

*/ inline void SetNniPartnerType(NniPartnerType&& value) { m_nniPartnerType = std::move(value); } /** *

The type of network-to-network interface (NNI) partner. The partner type will * be one of the following:

  • V1: This partner can only allocate * 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit * connections.

  • V2: This partner can only allocate 1GB, 2GB, 5GB, * or 10GB hosted connections.

  • nonPartner: The customer is not a * partner.

*/ inline DescribeCustomerMetadataResult& WithNniPartnerType(const NniPartnerType& value) { SetNniPartnerType(value); return *this;} /** *

The type of network-to-network interface (NNI) partner. The partner type will * be one of the following:

  • V1: This partner can only allocate * 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit * connections.

  • V2: This partner can only allocate 1GB, 2GB, 5GB, * or 10GB hosted connections.

  • nonPartner: The customer is not a * partner.

*/ inline DescribeCustomerMetadataResult& WithNniPartnerType(NniPartnerType&& value) { SetNniPartnerType(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 DescribeCustomerMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCustomerMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCustomerMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_agreements; NniPartnerType m_nniPartnerType; Aws::String m_requestId; }; } // namespace Model } // namespace DirectConnect } // namespace Aws