/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSMIncidents { namespace Model { /** *

Details about the PagerDuty service where the response plan creates an * incident.

See Also:

AWS * API Reference

*/ class PagerDutyIncidentConfiguration { public: AWS_SSMINCIDENTS_API PagerDutyIncidentConfiguration(); AWS_SSMINCIDENTS_API PagerDutyIncidentConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_SSMINCIDENTS_API PagerDutyIncidentConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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