/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Basic details used in creating a response plan. The response plan is then
* used to create an incident record.See Also:
AWS
* API Reference
Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline const Aws::String& GetDedupeString() const{ return m_dedupeString; } /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline bool DedupeStringHasBeenSet() const { return m_dedupeStringHasBeenSet; } /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline void SetDedupeString(const Aws::String& value) { m_dedupeStringHasBeenSet = true; m_dedupeString = value; } /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline void SetDedupeString(Aws::String&& value) { m_dedupeStringHasBeenSet = true; m_dedupeString = std::move(value); } /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline void SetDedupeString(const char* value) { m_dedupeStringHasBeenSet = true; m_dedupeString.assign(value); } /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline IncidentTemplate& WithDedupeString(const Aws::String& value) { SetDedupeString(value); return *this;} /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline IncidentTemplate& WithDedupeString(Aws::String&& value) { SetDedupeString(std::move(value)); return *this;} /** *Used to stop Incident Manager from creating multiple incident records for the * same incident.
*/ inline IncidentTemplate& WithDedupeString(const char* value) { SetDedupeString(value); return *this;} /** *The impact of the incident on your customers and applications.
*/ inline int GetImpact() const{ return m_impact; } /** *The impact of the incident on your customers and applications.
*/ inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; } /** *The impact of the incident on your customers and applications.
*/ inline void SetImpact(int value) { m_impactHasBeenSet = true; m_impact = value; } /** *The impact of the incident on your customers and applications.
*/ inline IncidentTemplate& WithImpact(int value) { SetImpact(value); return *this;} /** *Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
Tags to assign to the template. When the StartIncident
API
* action is called, Incident Manager assigns the tags specified in the template to
* the incident.
The Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline const Aws::VectorThe Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline bool NotificationTargetsHasBeenSet() const { return m_notificationTargetsHasBeenSet; } /** *The Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline void SetNotificationTargets(const Aws::VectorThe Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline void SetNotificationTargets(Aws::VectorThe Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline IncidentTemplate& WithNotificationTargets(const Aws::VectorThe Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline IncidentTemplate& WithNotificationTargets(Aws::VectorThe Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline IncidentTemplate& AddNotificationTargets(const NotificationTargetItem& value) { m_notificationTargetsHasBeenSet = true; m_notificationTargets.push_back(value); return *this; } /** *The Amazon SNS targets that are notified when updates are made to an * incident.
*/ inline IncidentTemplate& AddNotificationTargets(NotificationTargetItem&& value) { m_notificationTargetsHasBeenSet = true; m_notificationTargets.push_back(std::move(value)); return *this; } /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline const Aws::String& GetSummary() const{ return m_summary; } /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); } /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline IncidentTemplate& WithSummary(const Aws::String& value) { SetSummary(value); return *this;} /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline IncidentTemplate& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;} /** *The summary of the incident. The summary is a brief synopsis of what * occurred, what's currently happening, and context.
*/ inline IncidentTemplate& WithSummary(const char* value) { SetSummary(value); return *this;} /** *The title of the incident.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the incident.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the incident.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the incident.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the incident.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the incident.
*/ inline IncidentTemplate& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the incident.
*/ inline IncidentTemplate& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the incident.
*/ inline IncidentTemplate& WithTitle(const char* value) { SetTitle(value); return *this;} private: Aws::String m_dedupeString; bool m_dedupeStringHasBeenSet = false; int m_impact; bool m_impactHasBeenSet = false; Aws::Map