/** * 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 { /** *

The result message containing a list of managed actions.

See * Also:

AWS * API Reference

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

A list of upcoming and in-progress managed actions.

*/ inline const Aws::Vector& GetManagedActions() const{ return m_managedActions; } /** *

A list of upcoming and in-progress managed actions.

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

A list of upcoming and in-progress managed actions.

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

A list of upcoming and in-progress managed actions.

*/ inline DescribeEnvironmentManagedActionsResult& WithManagedActions(const Aws::Vector& value) { SetManagedActions(value); return *this;} /** *

A list of upcoming and in-progress managed actions.

*/ inline DescribeEnvironmentManagedActionsResult& WithManagedActions(Aws::Vector&& value) { SetManagedActions(std::move(value)); return *this;} /** *

A list of upcoming and in-progress managed actions.

*/ inline DescribeEnvironmentManagedActionsResult& AddManagedActions(const ManagedAction& value) { m_managedActions.push_back(value); return *this; } /** *

A list of upcoming and in-progress managed actions.

*/ inline DescribeEnvironmentManagedActionsResult& AddManagedActions(ManagedAction&& value) { m_managedActions.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 DescribeEnvironmentManagedActionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeEnvironmentManagedActionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_managedActions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws