/** * 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 Cloud9 { namespace Model { class AWS_CLOUD9_API DescribeEnvironmentsResult { public: DescribeEnvironmentsResult(); DescribeEnvironmentsResult(const Aws::AmazonWebServiceResult& result); DescribeEnvironmentsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the environments that are returned.

*/ inline const Aws::Vector& GetEnvironments() const{ return m_environments; } /** *

Information about the environments that are returned.

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

Information about the environments that are returned.

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

Information about the environments that are returned.

*/ inline DescribeEnvironmentsResult& WithEnvironments(const Aws::Vector& value) { SetEnvironments(value); return *this;} /** *

Information about the environments that are returned.

*/ inline DescribeEnvironmentsResult& WithEnvironments(Aws::Vector&& value) { SetEnvironments(std::move(value)); return *this;} /** *

Information about the environments that are returned.

*/ inline DescribeEnvironmentsResult& AddEnvironments(const Environment& value) { m_environments.push_back(value); return *this; } /** *

Information about the environments that are returned.

*/ inline DescribeEnvironmentsResult& AddEnvironments(Environment&& value) { m_environments.push_back(std::move(value)); return *this; } private: Aws::Vector m_environments; }; } // namespace Model } // namespace Cloud9 } // namespace Aws