/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The action that starts at the beginning of an incident. The response plan
* defines the action.See Also:
AWS
* API Reference
The Systems Manager automation document to start as the runbook at the * beginning of the incident.
*/ inline const SsmAutomation& GetSsmAutomation() const{ return m_ssmAutomation; } /** *The Systems Manager automation document to start as the runbook at the * beginning of the incident.
*/ inline bool SsmAutomationHasBeenSet() const { return m_ssmAutomationHasBeenSet; } /** *The Systems Manager automation document to start as the runbook at the * beginning of the incident.
*/ inline void SetSsmAutomation(const SsmAutomation& value) { m_ssmAutomationHasBeenSet = true; m_ssmAutomation = value; } /** *The Systems Manager automation document to start as the runbook at the * beginning of the incident.
*/ inline void SetSsmAutomation(SsmAutomation&& value) { m_ssmAutomationHasBeenSet = true; m_ssmAutomation = std::move(value); } /** *The Systems Manager automation document to start as the runbook at the * beginning of the incident.
*/ inline Action& WithSsmAutomation(const SsmAutomation& value) { SetSsmAutomation(value); return *this;} /** *The Systems Manager automation document to start as the runbook at the * beginning of the incident.
*/ inline Action& WithSsmAutomation(SsmAutomation&& value) { SetSsmAutomation(std::move(value)); return *this;} private: SsmAutomation m_ssmAutomation; bool m_ssmAutomationHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws