/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Shield { namespace Model { /** */ class AssociateProactiveEngagementDetailsRequest : public ShieldRequest { public: AWS_SHIELD_API AssociateProactiveEngagementDetailsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "AssociateProactiveEngagementDetails"; } AWS_SHIELD_API Aws::String SerializePayload() const override; AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline const Aws::Vector& GetEmergencyContactList() const{ return m_emergencyContactList; } /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline bool EmergencyContactListHasBeenSet() const { return m_emergencyContactListHasBeenSet; } /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline void SetEmergencyContactList(const Aws::Vector& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = value; } /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline void SetEmergencyContactList(Aws::Vector&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList = std::move(value); } /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline AssociateProactiveEngagementDetailsRequest& WithEmergencyContactList(const Aws::Vector& value) { SetEmergencyContactList(value); return *this;} /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline AssociateProactiveEngagementDetailsRequest& WithEmergencyContactList(Aws::Vector&& value) { SetEmergencyContactList(std::move(value)); return *this;} /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline AssociateProactiveEngagementDetailsRequest& AddEmergencyContactList(const EmergencyContact& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(value); return *this; } /** *

A list of email addresses and phone numbers that the Shield Response Team * (SRT) can use to contact you for escalations to the SRT and to initiate * proactive customer support.

To enable proactive engagement, the contact * list must include at least one phone number.

The contacts that you * provide here replace any contacts that were already defined. If you already have * contacts defined and want to use them, retrieve the list using * DescribeEmergencyContactSettings and then provide it here.

* */ inline AssociateProactiveEngagementDetailsRequest& AddEmergencyContactList(EmergencyContact&& value) { m_emergencyContactListHasBeenSet = true; m_emergencyContactList.push_back(std::move(value)); return *this; } private: Aws::Vector m_emergencyContactList; bool m_emergencyContactListHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws