/** * 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 information about the managed * action.

See Also:

AWS * API Reference

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

The action ID of the managed action.

*/ inline const Aws::String& GetActionId() const{ return m_actionId; } /** *

The action ID of the managed action.

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

The action ID of the managed action.

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

The action ID of the managed action.

*/ inline void SetActionId(const char* value) { m_actionId.assign(value); } /** *

The action ID of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionId(const Aws::String& value) { SetActionId(value); return *this;} /** *

The action ID of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;} /** *

The action ID of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionId(const char* value) { SetActionId(value); return *this;} /** *

A description of the managed action.

*/ inline const Aws::String& GetActionDescription() const{ return m_actionDescription; } /** *

A description of the managed action.

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

A description of the managed action.

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

A description of the managed action.

*/ inline void SetActionDescription(const char* value) { m_actionDescription.assign(value); } /** *

A description of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionDescription(const Aws::String& value) { SetActionDescription(value); return *this;} /** *

A description of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionDescription(Aws::String&& value) { SetActionDescription(std::move(value)); return *this;} /** *

A description of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionDescription(const char* value) { SetActionDescription(value); return *this;} /** *

The type of managed action.

*/ inline const ActionType& GetActionType() const{ return m_actionType; } /** *

The type of managed action.

*/ inline void SetActionType(const ActionType& value) { m_actionType = value; } /** *

The type of managed action.

*/ inline void SetActionType(ActionType&& value) { m_actionType = std::move(value); } /** *

The type of managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionType(const ActionType& value) { SetActionType(value); return *this;} /** *

The type of managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;} /** *

The status of the managed action.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the managed action.

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

The status of the managed action.

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

The status of the managed action.

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

The status of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the managed action.

*/ inline ApplyEnvironmentManagedActionResult& WithStatus(const char* value) { SetStatus(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 ApplyEnvironmentManagedActionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ApplyEnvironmentManagedActionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_actionId; Aws::String m_actionDescription; ActionType m_actionType; Aws::String m_status; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws