/** * 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 AWS_SHIELD_API UpdateEmergencyContactSettingsRequest : public ShieldRequest { public: UpdateEmergencyContactSettingsRequest(); // 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 "UpdateEmergencyContactSettings"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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

A list of email addresses and phone numbers that the DDoS Response Team (DRT) * can use to contact you if you have proactive engagement enabled, for escalations * to the DRT and to initiate proactive customer support.

If you have * proactive engagement enabled, the contact list must include at least one phone * number.

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