/** * 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 StartAutomationExecutionResult { public: AWS_SSM_API StartAutomationExecutionResult(); AWS_SSM_API StartAutomationExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API StartAutomationExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID of a newly scheduled automation execution.

*/ inline const Aws::String& GetAutomationExecutionId() const{ return m_automationExecutionId; } /** *

The unique ID of a newly scheduled automation execution.

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

The unique ID of a newly scheduled automation execution.

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

The unique ID of a newly scheduled automation execution.

*/ inline void SetAutomationExecutionId(const char* value) { m_automationExecutionId.assign(value); } /** *

The unique ID of a newly scheduled automation execution.

*/ inline StartAutomationExecutionResult& WithAutomationExecutionId(const Aws::String& value) { SetAutomationExecutionId(value); return *this;} /** *

The unique ID of a newly scheduled automation execution.

*/ inline StartAutomationExecutionResult& WithAutomationExecutionId(Aws::String&& value) { SetAutomationExecutionId(std::move(value)); return *this;} /** *

The unique ID of a newly scheduled automation execution.

*/ inline StartAutomationExecutionResult& WithAutomationExecutionId(const char* value) { SetAutomationExecutionId(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 StartAutomationExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartAutomationExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartAutomationExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_automationExecutionId; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws