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

The LAGs.

*/ inline const Aws::Vector& GetLags() const{ return m_lags; } /** *

The LAGs.

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

The LAGs.

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

The LAGs.

*/ inline DescribeLagsResult& WithLags(const Aws::Vector& value) { SetLags(value); return *this;} /** *

The LAGs.

*/ inline DescribeLagsResult& WithLags(Aws::Vector&& value) { SetLags(std::move(value)); return *this;} /** *

The LAGs.

*/ inline DescribeLagsResult& AddLags(const Lag& value) { m_lags.push_back(value); return *this; } /** *

The LAGs.

*/ inline DescribeLagsResult& AddLags(Lag&& value) { m_lags.push_back(std::move(value)); return *this; } private: Aws::Vector m_lags; }; } // namespace Model } // namespace DirectConnect } // namespace Aws