/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { /** *

Result message containing a description of the requested environment * info.

See Also:

AWS * API Reference

*/ class RetrieveEnvironmentInfoResult { public: AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult(); AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The EnvironmentInfoDescription of the environment.

*/ inline const Aws::Vector& GetEnvironmentInfo() const{ return m_environmentInfo; } /** *

The EnvironmentInfoDescription of the environment.

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

The EnvironmentInfoDescription of the environment.

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

The EnvironmentInfoDescription of the environment.

*/ inline RetrieveEnvironmentInfoResult& WithEnvironmentInfo(const Aws::Vector& value) { SetEnvironmentInfo(value); return *this;} /** *

The EnvironmentInfoDescription of the environment.

*/ inline RetrieveEnvironmentInfoResult& WithEnvironmentInfo(Aws::Vector&& value) { SetEnvironmentInfo(std::move(value)); return *this;} /** *

The EnvironmentInfoDescription of the environment.

*/ inline RetrieveEnvironmentInfoResult& AddEnvironmentInfo(const EnvironmentInfoDescription& value) { m_environmentInfo.push_back(value); return *this; } /** *

The EnvironmentInfoDescription of the environment.

*/ inline RetrieveEnvironmentInfoResult& AddEnvironmentInfo(EnvironmentInfoDescription&& value) { m_environmentInfo.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline RetrieveEnvironmentInfoResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline RetrieveEnvironmentInfoResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_environmentInfo; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws