/** * 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 AWS_DIRECTCONNECT_API DescribeHostedConnectionsResult { public: DescribeHostedConnectionsResult(); DescribeHostedConnectionsResult(const Aws::AmazonWebServiceResult& result); DescribeHostedConnectionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The connections.

*/ inline const Aws::Vector& GetConnections() const{ return m_connections; } /** *

The connections.

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

The connections.

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

The connections.

*/ inline DescribeHostedConnectionsResult& WithConnections(const Aws::Vector& value) { SetConnections(value); return *this;} /** *

The connections.

*/ inline DescribeHostedConnectionsResult& WithConnections(Aws::Vector&& value) { SetConnections(std::move(value)); return *this;} /** *

The connections.

*/ inline DescribeHostedConnectionsResult& AddConnections(const Connection& value) { m_connections.push_back(value); return *this; } /** *

The connections.

*/ inline DescribeHostedConnectionsResult& AddConnections(Connection&& value) { m_connections.push_back(std::move(value)); return *this; } private: Aws::Vector m_connections; }; } // namespace Model } // namespace DirectConnect } // namespace Aws