/** * 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 DescribeConnectionsResult { public: DescribeConnectionsResult(); DescribeConnectionsResult(const Aws::AmazonWebServiceResult& result); DescribeConnectionsResult& 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 DescribeConnectionsResult& WithConnections(const Aws::Vector& value) { SetConnections(value); return *this;} /** *

The connections.

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

The connections.

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

The connections.

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