/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the PagerDuty service where the response plan creates an
* incident.See Also:
AWS
* API Reference
The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline PagerDutyIncidentConfiguration& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline PagerDutyIncidentConfiguration& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *The ID of the PagerDuty service that the response plan associates with an * incident when it launches.
*/ inline PagerDutyIncidentConfiguration& WithServiceId(const char* value) { SetServiceId(value); return *this;} private: Aws::String m_serviceId; bool m_serviceIdHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws