/* * 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model { /// /// The data of a room profile. /// public partial class ProfileData { private string _address; private DistanceUnit _distanceUnit; private bool? _isDefault; private string _locale; private string _profileArn; private string _profileName; private TemperatureUnit _temperatureUnit; private string _timezone; private WakeWord _wakeWord; /// /// Gets and sets the property Address. /// /// The address of a room profile. /// /// [AWSProperty(Min=1, Max=500)] public string Address { get { return this._address; } set { this._address = value; } } // Check to see if Address property is set internal bool IsSetAddress() { return this._address != null; } /// /// Gets and sets the property DistanceUnit. /// /// The distance unit of a room profile. /// /// public DistanceUnit DistanceUnit { get { return this._distanceUnit; } set { this._distanceUnit = value; } } // Check to see if DistanceUnit property is set internal bool IsSetDistanceUnit() { return this._distanceUnit != null; } /// /// Gets and sets the property IsDefault. /// /// Retrieves if the profile data is default or not. /// /// public bool IsDefault { get { return this._isDefault.GetValueOrDefault(); } set { this._isDefault = value; } } // Check to see if IsDefault property is set internal bool IsSetIsDefault() { return this._isDefault.HasValue; } /// /// Gets and sets the property Locale. /// /// The locale of a room profile. (This is currently available only to a limited preview /// audience.) /// /// [AWSProperty(Min=1, Max=256)] public string Locale { get { return this._locale; } set { this._locale = value; } } // Check to see if Locale property is set internal bool IsSetLocale() { return this._locale != null; } /// /// Gets and sets the property ProfileArn. /// /// The ARN of a room profile. /// /// public string ProfileArn { get { return this._profileArn; } set { this._profileArn = value; } } // Check to see if ProfileArn property is set internal bool IsSetProfileArn() { return this._profileArn != null; } /// /// Gets and sets the property ProfileName. /// /// The name of a room profile. /// /// [AWSProperty(Min=1, Max=100)] public string ProfileName { get { return this._profileName; } set { this._profileName = value; } } // Check to see if ProfileName property is set internal bool IsSetProfileName() { return this._profileName != null; } /// /// Gets and sets the property TemperatureUnit. /// /// The temperature unit of a room profile. /// /// public TemperatureUnit TemperatureUnit { get { return this._temperatureUnit; } set { this._temperatureUnit = value; } } // Check to see if TemperatureUnit property is set internal bool IsSetTemperatureUnit() { return this._temperatureUnit != null; } /// /// Gets and sets the property Timezone. /// /// The time zone of a room profile. /// /// [AWSProperty(Min=1, Max=100)] public string Timezone { get { return this._timezone; } set { this._timezone = value; } } // Check to see if Timezone property is set internal bool IsSetTimezone() { return this._timezone != null; } /// /// Gets and sets the property WakeWord. /// /// The wake word of a room profile. /// /// public WakeWord WakeWord { get { return this._wakeWord; } set { this._wakeWord = value; } } // Check to see if WakeWord property is set internal bool IsSetWakeWord() { return this._wakeWord != null; } } }