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

The locations.

*/ inline const Aws::Vector& GetLocations() const{ return m_locations; } /** *

The locations.

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

The locations.

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

The locations.

*/ inline DescribeLocationsResult& WithLocations(const Aws::Vector& value) { SetLocations(value); return *this;} /** *

The locations.

*/ inline DescribeLocationsResult& WithLocations(Aws::Vector&& value) { SetLocations(std::move(value)); return *this;} /** *

The locations.

*/ inline DescribeLocationsResult& AddLocations(const Location& value) { m_locations.push_back(value); return *this; } /** *

The locations.

*/ inline DescribeLocationsResult& AddLocations(Location&& value) { m_locations.push_back(std::move(value)); return *this; } private: Aws::Vector m_locations; }; } // namespace Model } // namespace DirectConnect } // namespace Aws