/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the account-2021-02-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Account.Model { /// /// A structure that contains the details of an alternate contact associated with an Amazon /// Web Services account /// public partial class AlternateContact { private AlternateContactType _alternateContactType; private string _emailAddress; private string _name; private string _phoneNumber; private string _title; /// /// Gets and sets the property AlternateContactType. /// /// The type of alternate contact. /// /// public AlternateContactType AlternateContactType { get { return this._alternateContactType; } set { this._alternateContactType = value; } } // Check to see if AlternateContactType property is set internal bool IsSetAlternateContactType() { return this._alternateContactType != null; } /// /// Gets and sets the property EmailAddress. /// /// The email address associated with this alternate contact. /// /// [AWSProperty(Sensitive=true, Min=1, Max=254)] public string EmailAddress { get { return this._emailAddress; } set { this._emailAddress = value; } } // Check to see if EmailAddress property is set internal bool IsSetEmailAddress() { return this._emailAddress != null; } /// /// Gets and sets the property Name. /// /// The name associated with this alternate contact. /// /// [AWSProperty(Sensitive=true, Min=1, Max=64)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property PhoneNumber. /// /// The phone number associated with this alternate contact. /// /// [AWSProperty(Sensitive=true, Min=1, Max=25)] public string PhoneNumber { get { return this._phoneNumber; } set { this._phoneNumber = value; } } // Check to see if PhoneNumber property is set internal bool IsSetPhoneNumber() { return this._phoneNumber != null; } /// /// Gets and sets the property Title. /// /// The title associated with this alternate contact. /// /// [AWSProperty(Sensitive=true, Min=1, Max=50)] public string Title { get { return this._title; } set { this._title = value; } } // Check to see if Title property is set internal bool IsSetTitle() { return this._title != null; } } }