/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information related to a contact.See Also:
AWS
* API Reference
The ARN of the contact.
*/ inline const Aws::String& GetContactArn() const{ return m_contactArn; } /** *The ARN of the contact.
*/ inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; } /** *The ARN of the contact.
*/ inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; } /** *The ARN of the contact.
*/ inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); } /** *The ARN of the contact.
*/ inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); } /** *The ARN of the contact.
*/ inline ContactData& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;} /** *The ARN of the contact.
*/ inline ContactData& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;} /** *The ARN of the contact.
*/ inline ContactData& WithContactArn(const char* value) { SetContactArn(value); return *this;} /** *The name of the contact to display on the console.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The name of the contact to display on the console.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The name of the contact to display on the console.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The name of the contact to display on the console.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The name of the contact to display on the console.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The name of the contact to display on the console.
*/ inline ContactData& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The name of the contact to display on the console.
*/ inline ContactData& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The name of the contact to display on the console.
*/ inline ContactData& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The first name of the contact, used to call the contact on the device.
*/ inline const Aws::String& GetFirstName() const{ return m_firstName; } /** *The first name of the contact, used to call the contact on the device.
*/ inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } /** *The first name of the contact, used to call the contact on the device.
*/ inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; } /** *The first name of the contact, used to call the contact on the device.
*/ inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); } /** *The first name of the contact, used to call the contact on the device.
*/ inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); } /** *The first name of the contact, used to call the contact on the device.
*/ inline ContactData& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;} /** *The first name of the contact, used to call the contact on the device.
*/ inline ContactData& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;} /** *The first name of the contact, used to call the contact on the device.
*/ inline ContactData& WithFirstName(const char* value) { SetFirstName(value); return *this;} /** *The last name of the contact, used to call the contact on the device.
*/ inline const Aws::String& GetLastName() const{ return m_lastName; } /** *The last name of the contact, used to call the contact on the device.
*/ inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } /** *The last name of the contact, used to call the contact on the device.
*/ inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; } /** *The last name of the contact, used to call the contact on the device.
*/ inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); } /** *The last name of the contact, used to call the contact on the device.
*/ inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); } /** *The last name of the contact, used to call the contact on the device.
*/ inline ContactData& WithLastName(const Aws::String& value) { SetLastName(value); return *this;} /** *The last name of the contact, used to call the contact on the device.
*/ inline ContactData& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;} /** *The last name of the contact, used to call the contact on the device.
*/ inline ContactData& WithLastName(const char* value) { SetLastName(value); return *this;} /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline ContactData& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline ContactData& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *The phone number of the contact. The phone number type defaults to WORK. You * can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, * which lets you specify the phone number type and multiple numbers.
*/ inline ContactData& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} /** *The list of phone numbers for the contact.
*/ inline const Aws::VectorThe list of phone numbers for the contact.
*/ inline bool PhoneNumbersHasBeenSet() const { return m_phoneNumbersHasBeenSet; } /** *The list of phone numbers for the contact.
*/ inline void SetPhoneNumbers(const Aws::VectorThe list of phone numbers for the contact.
*/ inline void SetPhoneNumbers(Aws::VectorThe list of phone numbers for the contact.
*/ inline ContactData& WithPhoneNumbers(const Aws::VectorThe list of phone numbers for the contact.
*/ inline ContactData& WithPhoneNumbers(Aws::VectorThe list of phone numbers for the contact.
*/ inline ContactData& AddPhoneNumbers(const PhoneNumber& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(value); return *this; } /** *The list of phone numbers for the contact.
*/ inline ContactData& AddPhoneNumbers(PhoneNumber&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(std::move(value)); return *this; } /** *The list of SIP addresses for the contact.
*/ inline const Aws::VectorThe list of SIP addresses for the contact.
*/ inline bool SipAddressesHasBeenSet() const { return m_sipAddressesHasBeenSet; } /** *The list of SIP addresses for the contact.
*/ inline void SetSipAddresses(const Aws::VectorThe list of SIP addresses for the contact.
*/ inline void SetSipAddresses(Aws::VectorThe list of SIP addresses for the contact.
*/ inline ContactData& WithSipAddresses(const Aws::VectorThe list of SIP addresses for the contact.
*/ inline ContactData& WithSipAddresses(Aws::VectorThe list of SIP addresses for the contact.
*/ inline ContactData& AddSipAddresses(const SipAddress& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(value); return *this; } /** *The list of SIP addresses for the contact.
*/ inline ContactData& AddSipAddresses(SipAddress&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(std::move(value)); return *this; } private: Aws::String m_contactArn; bool m_contactArnHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_firstName; bool m_firstNameHasBeenSet = false; Aws::String m_lastName; bool m_lastNameHasBeenSet = false; Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; Aws::Vector