/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a related item.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline ItemValue& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline ItemValue& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the related item, if the related item is an * Amazon resource.
*/ inline ItemValue& WithArn(const char* value) { SetArn(value); return *this;} /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline const Aws::String& GetMetricDefinition() const{ return m_metricDefinition; } /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline bool MetricDefinitionHasBeenSet() const { return m_metricDefinitionHasBeenSet; } /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline void SetMetricDefinition(const Aws::String& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = value; } /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline void SetMetricDefinition(Aws::String&& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = std::move(value); } /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline void SetMetricDefinition(const char* value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition.assign(value); } /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline ItemValue& WithMetricDefinition(const Aws::String& value) { SetMetricDefinition(value); return *this;} /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline ItemValue& WithMetricDefinition(Aws::String&& value) { SetMetricDefinition(std::move(value)); return *this;} /** *The metric definition, if the related item is a metric in Amazon * CloudWatch.
*/ inline ItemValue& WithMetricDefinition(const char* value) { SetMetricDefinition(value); return *this;} /** *Details about an incident that is associated with a PagerDuty incident.
*/ inline const PagerDutyIncidentDetail& GetPagerDutyIncidentDetail() const{ return m_pagerDutyIncidentDetail; } /** *Details about an incident that is associated with a PagerDuty incident.
*/ inline bool PagerDutyIncidentDetailHasBeenSet() const { return m_pagerDutyIncidentDetailHasBeenSet; } /** *Details about an incident that is associated with a PagerDuty incident.
*/ inline void SetPagerDutyIncidentDetail(const PagerDutyIncidentDetail& value) { m_pagerDutyIncidentDetailHasBeenSet = true; m_pagerDutyIncidentDetail = value; } /** *Details about an incident that is associated with a PagerDuty incident.
*/ inline void SetPagerDutyIncidentDetail(PagerDutyIncidentDetail&& value) { m_pagerDutyIncidentDetailHasBeenSet = true; m_pagerDutyIncidentDetail = std::move(value); } /** *Details about an incident that is associated with a PagerDuty incident.
*/ inline ItemValue& WithPagerDutyIncidentDetail(const PagerDutyIncidentDetail& value) { SetPagerDutyIncidentDetail(value); return *this;} /** *Details about an incident that is associated with a PagerDuty incident.
*/ inline ItemValue& WithPagerDutyIncidentDetail(PagerDutyIncidentDetail&& value) { SetPagerDutyIncidentDetail(std::move(value)); return *this;} /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline ItemValue& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline ItemValue& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *The URL, if the related item is a non-Amazon Web Services resource.
*/ inline ItemValue& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_metricDefinition; bool m_metricDefinitionHasBeenSet = false; PagerDutyIncidentDetail m_pagerDutyIncidentDetail; bool m_pagerDutyIncidentDetailHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws