/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Shield { namespace Model { class DescribeEmergencyContactSettingsResult { public: AWS_SHIELD_API DescribeEmergencyContactSettingsResult(); AWS_SHIELD_API DescribeEmergencyContactSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_SHIELD_API DescribeEmergencyContactSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

*/ 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 if you have proactive engagement enabled, for * escalations to the SRT and to initiate proactive customer support.

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

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

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

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

*/ inline DescribeEmergencyContactSettingsResult& 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 if you have proactive engagement enabled, for * escalations to the SRT and to initiate proactive customer support.

*/ inline DescribeEmergencyContactSettingsResult& 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 if you have proactive engagement enabled, for * escalations to the SRT and to initiate proactive customer support.

*/ inline DescribeEmergencyContactSettingsResult& AddEmergencyContactList(const EmergencyContact& value) { 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 if you have proactive engagement enabled, for * escalations to the SRT and to initiate proactive customer support.

*/ inline DescribeEmergencyContactSettingsResult& AddEmergencyContactList(EmergencyContact&& value) { m_emergencyContactList.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeEmergencyContactSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEmergencyContactSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEmergencyContactSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_emergencyContactList; Aws::String m_requestId; }; } // namespace Model } // namespace Shield } // namespace Aws