/** * 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 { /** *

Information about third-party services integrated into a response * plan.

See Also:

AWS * API Reference

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

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

*/ inline const PagerDutyConfiguration& GetPagerDutyConfiguration() const{ return m_pagerDutyConfiguration; } /** *

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

*/ inline bool PagerDutyConfigurationHasBeenSet() const { return m_pagerDutyConfigurationHasBeenSet; } /** *

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

*/ inline void SetPagerDutyConfiguration(const PagerDutyConfiguration& value) { m_pagerDutyConfigurationHasBeenSet = true; m_pagerDutyConfiguration = value; } /** *

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

*/ inline void SetPagerDutyConfiguration(PagerDutyConfiguration&& value) { m_pagerDutyConfigurationHasBeenSet = true; m_pagerDutyConfiguration = std::move(value); } /** *

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

*/ inline Integration& WithPagerDutyConfiguration(const PagerDutyConfiguration& value) { SetPagerDutyConfiguration(value); return *this;} /** *

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

*/ inline Integration& WithPagerDutyConfiguration(PagerDutyConfiguration&& value) { SetPagerDutyConfiguration(std::move(value)); return *this;} private: PagerDutyConfiguration m_pagerDutyConfiguration; bool m_pagerDutyConfigurationHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws