/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contact information that the SRT can use to contact you if you have proactive
* engagement enabled, for escalations to the SRT and to initiate proactive
* customer support.See Also:
AWS
* API Reference
The email address for the contact.
*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *The email address for the contact.
*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *The email address for the contact.
*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *The email address for the contact.
*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *The email address for the contact.
*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *The email address for the contact.
*/ inline EmergencyContact& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *The email address for the contact.
*/ inline EmergencyContact& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *The email address for the contact.
*/ inline EmergencyContact& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} /** *The phone number for the contact.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *The phone number for the contact.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *The phone number for the contact.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *The phone number for the contact.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *The phone number for the contact.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *The phone number for the contact.
*/ inline EmergencyContact& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *The phone number for the contact.
*/ inline EmergencyContact& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *The phone number for the contact.
*/ inline EmergencyContact& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} /** *Additional notes regarding the contact.
*/ inline const Aws::String& GetContactNotes() const{ return m_contactNotes; } /** *Additional notes regarding the contact.
*/ inline bool ContactNotesHasBeenSet() const { return m_contactNotesHasBeenSet; } /** *Additional notes regarding the contact.
*/ inline void SetContactNotes(const Aws::String& value) { m_contactNotesHasBeenSet = true; m_contactNotes = value; } /** *Additional notes regarding the contact.
*/ inline void SetContactNotes(Aws::String&& value) { m_contactNotesHasBeenSet = true; m_contactNotes = std::move(value); } /** *Additional notes regarding the contact.
*/ inline void SetContactNotes(const char* value) { m_contactNotesHasBeenSet = true; m_contactNotes.assign(value); } /** *Additional notes regarding the contact.
*/ inline EmergencyContact& WithContactNotes(const Aws::String& value) { SetContactNotes(value); return *this;} /** *Additional notes regarding the contact.
*/ inline EmergencyContact& WithContactNotes(Aws::String&& value) { SetContactNotes(std::move(value)); return *this;} /** *Additional notes regarding the contact.
*/ inline EmergencyContact& WithContactNotes(const char* value) { SetContactNotes(value); return *this;} private: Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; Aws::String m_contactNotes; bool m_contactNotesHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws