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

The actions that this response plan takes at the beginning of the * incident.

*/ inline const Aws::Vector& GetActions() const{ return m_actions; } /** *

The actions that this response plan takes at the beginning of the * incident.

*/ inline void SetActions(const Aws::Vector& value) { m_actions = value; } /** *

The actions that this response plan takes at the beginning of the * incident.

*/ inline void SetActions(Aws::Vector&& value) { m_actions = std::move(value); } /** *

The actions that this response plan takes at the beginning of the * incident.

*/ inline GetResponsePlanResult& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} /** *

The actions that this response plan takes at the beginning of the * incident.

*/ inline GetResponsePlanResult& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} /** *

The actions that this response plan takes at the beginning of the * incident.

*/ inline GetResponsePlanResult& AddActions(const Action& value) { m_actions.push_back(value); return *this; } /** *

The actions that this response plan takes at the beginning of the * incident.

*/ inline GetResponsePlanResult& AddActions(Action&& value) { m_actions.push_back(std::move(value)); return *this; } /** *

The ARN of the response plan.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the response plan.

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

The ARN of the response plan.

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

The ARN of the response plan.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the response plan.

*/ inline GetResponsePlanResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the response plan.

*/ inline GetResponsePlanResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the response plan.

*/ inline GetResponsePlanResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The Chatbot chat channel used for collaboration during an incident.

*/ inline const ChatChannel& GetChatChannel() const{ return m_chatChannel; } /** *

The Chatbot chat channel used for collaboration during an incident.

*/ inline void SetChatChannel(const ChatChannel& value) { m_chatChannel = value; } /** *

The Chatbot chat channel used for collaboration during an incident.

*/ inline void SetChatChannel(ChatChannel&& value) { m_chatChannel = std::move(value); } /** *

The Chatbot chat channel used for collaboration during an incident.

*/ inline GetResponsePlanResult& WithChatChannel(const ChatChannel& value) { SetChatChannel(value); return *this;} /** *

The Chatbot chat channel used for collaboration during an incident.

*/ inline GetResponsePlanResult& WithChatChannel(ChatChannel&& value) { SetChatChannel(std::move(value)); return *this;} /** *

The long format name of the response plan. Can contain spaces.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The long format name of the response plan. Can contain spaces.

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

The long format name of the response plan. Can contain spaces.

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

The long format name of the response plan. Can contain spaces.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The long format name of the response plan. Can contain spaces.

*/ inline GetResponsePlanResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The long format name of the response plan. Can contain spaces.

*/ inline GetResponsePlanResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The long format name of the response plan. Can contain spaces.

*/ inline GetResponsePlanResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline const Aws::Vector& GetEngagements() const{ return m_engagements; } /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline void SetEngagements(const Aws::Vector& value) { m_engagements = value; } /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline void SetEngagements(Aws::Vector&& value) { m_engagements = std::move(value); } /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline GetResponsePlanResult& WithEngagements(const Aws::Vector& value) { SetEngagements(value); return *this;} /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline GetResponsePlanResult& WithEngagements(Aws::Vector&& value) { SetEngagements(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline GetResponsePlanResult& AddEngagements(const Aws::String& value) { m_engagements.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline GetResponsePlanResult& AddEngagements(Aws::String&& value) { m_engagements.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) for the contacts and escalation plans that the * response plan engages during an incident.

*/ inline GetResponsePlanResult& AddEngagements(const char* value) { m_engagements.push_back(value); return *this; } /** *

Details used to create the incident when using this response plan.

*/ inline const IncidentTemplate& GetIncidentTemplate() const{ return m_incidentTemplate; } /** *

Details used to create the incident when using this response plan.

*/ inline void SetIncidentTemplate(const IncidentTemplate& value) { m_incidentTemplate = value; } /** *

Details used to create the incident when using this response plan.

*/ inline void SetIncidentTemplate(IncidentTemplate&& value) { m_incidentTemplate = std::move(value); } /** *

Details used to create the incident when using this response plan.

*/ inline GetResponsePlanResult& WithIncidentTemplate(const IncidentTemplate& value) { SetIncidentTemplate(value); return *this;} /** *

Details used to create the incident when using this response plan.

*/ inline GetResponsePlanResult& WithIncidentTemplate(IncidentTemplate&& value) { SetIncidentTemplate(std::move(value)); return *this;} /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline const Aws::Vector& GetIntegrations() const{ return m_integrations; } /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline void SetIntegrations(const Aws::Vector& value) { m_integrations = value; } /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline void SetIntegrations(Aws::Vector&& value) { m_integrations = std::move(value); } /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline GetResponsePlanResult& WithIntegrations(const Aws::Vector& value) { SetIntegrations(value); return *this;} /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline GetResponsePlanResult& WithIntegrations(Aws::Vector&& value) { SetIntegrations(std::move(value)); return *this;} /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline GetResponsePlanResult& AddIntegrations(const Integration& value) { m_integrations.push_back(value); return *this; } /** *

Information about third-party services integrated into the Incident Manager * response plan.

*/ inline GetResponsePlanResult& AddIntegrations(Integration&& value) { m_integrations.push_back(std::move(value)); return *this; } /** *

The short format name of the response plan. The name can't contain * spaces.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The short format name of the response plan. The name can't contain * spaces.

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

The short format name of the response plan. The name can't contain * spaces.

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

The short format name of the response plan. The name can't contain * spaces.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The short format name of the response plan. The name can't contain * spaces.

*/ inline GetResponsePlanResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The short format name of the response plan. The name can't contain * spaces.

*/ inline GetResponsePlanResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The short format name of the response plan. The name can't contain * spaces.

*/ inline GetResponsePlanResult& WithName(const char* value) { SetName(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 GetResponsePlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetResponsePlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetResponsePlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_actions; Aws::String m_arn; ChatChannel m_chatChannel; Aws::String m_displayName; Aws::Vector m_engagements; IncidentTemplate m_incidentTemplate; Aws::Vector m_integrations; Aws::String m_name; Aws::String m_requestId; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws