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

A result message containing a list of completed and failed managed * actions.

See Also:

AWS * API Reference

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

A list of completed and failed managed actions.

*/ inline const Aws::Vector& GetManagedActionHistoryItems() const{ return m_managedActionHistoryItems; } /** *

A list of completed and failed managed actions.

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

A list of completed and failed managed actions.

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

A list of completed and failed managed actions.

*/ inline DescribeEnvironmentManagedActionHistoryResult& WithManagedActionHistoryItems(const Aws::Vector& value) { SetManagedActionHistoryItems(value); return *this;} /** *

A list of completed and failed managed actions.

*/ inline DescribeEnvironmentManagedActionHistoryResult& WithManagedActionHistoryItems(Aws::Vector&& value) { SetManagedActionHistoryItems(std::move(value)); return *this;} /** *

A list of completed and failed managed actions.

*/ inline DescribeEnvironmentManagedActionHistoryResult& AddManagedActionHistoryItems(const ManagedActionHistoryItem& value) { m_managedActionHistoryItems.push_back(value); return *this; } /** *

A list of completed and failed managed actions.

*/ inline DescribeEnvironmentManagedActionHistoryResult& AddManagedActionHistoryItems(ManagedActionHistoryItem&& value) { m_managedActionHistoryItems.push_back(std::move(value)); return *this; } /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline DescribeEnvironmentManagedActionHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline DescribeEnvironmentManagedActionHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A pagination token that you pass to * DescribeEnvironmentManagedActionHistory to get the next page of * results.

*/ inline DescribeEnvironmentManagedActionHistoryResult& WithNextToken(const char* value) { SetNextToken(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 DescribeEnvironmentManagedActionHistoryResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeEnvironmentManagedActionHistoryResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_managedActionHistoryItems; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws