/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class GetAutomationExecutionResult { public: AWS_SSM_API GetAutomationExecutionResult(); AWS_SSM_API GetAutomationExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetAutomationExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAutomationExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAutomationExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AutomationExecution m_automationExecution; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws