/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class AWS_SSM_API GetAutomationExecutionResult { public: GetAutomationExecutionResult(); GetAutomationExecutionResult(const Aws::AmazonWebServiceResult& result); GetAutomationExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Detailed information about the current state of an automation execution.

*/ inline const AutomationExecution& GetAutomationExecution() const{ return m_automationExecution; } /** *

Detailed information about the current state of an automation execution.

*/ inline void SetAutomationExecution(const AutomationExecution& value) { m_automationExecution = value; } /** *

Detailed information about the current state of an automation execution.

*/ inline void SetAutomationExecution(AutomationExecution&& value) { m_automationExecution = std::move(value); } /** *

Detailed information about the current state of an automation execution.

*/ inline GetAutomationExecutionResult& WithAutomationExecution(const AutomationExecution& value) { SetAutomationExecution(value); return *this;} /** *

Detailed information about the current state of an automation execution.

*/ inline GetAutomationExecutionResult& WithAutomationExecution(AutomationExecution&& value) { SetAutomationExecution(std::move(value)); return *this;} private: AutomationExecution m_automationExecution; }; } // namespace Model } // namespace SSM } // namespace Aws