/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSMIncidents { namespace Model { /** *

The Systems Manager automation document process to start as the runbook at * the beginning of the incident.

See Also:

AWS * API Reference

*/ class AutomationExecution { public: AWS_SSMINCIDENTS_API AutomationExecution(); AWS_SSMINCIDENTS_API AutomationExecution(Aws::Utils::Json::JsonView jsonValue); AWS_SSMINCIDENTS_API AutomationExecution& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline const Aws::String& GetSsmExecutionArn() const{ return m_ssmExecutionArn; } /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline bool SsmExecutionArnHasBeenSet() const { return m_ssmExecutionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline void SetSsmExecutionArn(const Aws::String& value) { m_ssmExecutionArnHasBeenSet = true; m_ssmExecutionArn = value; } /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline void SetSsmExecutionArn(Aws::String&& value) { m_ssmExecutionArnHasBeenSet = true; m_ssmExecutionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline void SetSsmExecutionArn(const char* value) { m_ssmExecutionArnHasBeenSet = true; m_ssmExecutionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline AutomationExecution& WithSsmExecutionArn(const Aws::String& value) { SetSsmExecutionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline AutomationExecution& WithSsmExecutionArn(Aws::String&& value) { SetSsmExecutionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the automation process.

*/ inline AutomationExecution& WithSsmExecutionArn(const char* value) { SetSsmExecutionArn(value); return *this;} private: Aws::String m_ssmExecutionArn; bool m_ssmExecutionArnHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws