/* * 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 { /// /// Container for the parameters to the CreateProfile operation. /// Creates a new room profile with the specified details. /// public partial class CreateProfileRequest : AmazonAlexaForBusinessRequest { private string _address; private string _clientRequestToken; private bool? _dataRetentionOptIn; private DistanceUnit _distanceUnit; private string _locale; private int? _maxVolumeLimit; private CreateMeetingRoomConfiguration _meetingRoomConfiguration; private string _profileName; private bool? _pstnEnabled; private bool? _setupModeDisabled; private List _tags = new List(); private TemperatureUnit _temperatureUnit; private string _timezone; private WakeWord _wakeWord; /// /// Gets and sets the property Address. /// /// The valid address for the room. /// /// [AWSProperty(Required=true, 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 ClientRequestToken. /// /// The user-specified token that is used during the creation of a profile. /// /// [AWSProperty(Min=10, Max=150)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// /// Gets and sets the property DataRetentionOptIn. /// /// Whether data retention of the profile is enabled. /// /// public bool DataRetentionOptIn { get { return this._dataRetentionOptIn.GetValueOrDefault(); } set { this._dataRetentionOptIn = value; } } // Check to see if DataRetentionOptIn property is set internal bool IsSetDataRetentionOptIn() { return this._dataRetentionOptIn.HasValue; } /// /// Gets and sets the property DistanceUnit. /// /// The distance unit to be used by devices in the profile. /// /// [AWSProperty(Required=true)] 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 Locale. /// /// The locale of the room profile. (This is currently only available 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 MaxVolumeLimit. /// /// The maximum volume limit for a room profile. /// /// public int MaxVolumeLimit { get { return this._maxVolumeLimit.GetValueOrDefault(); } set { this._maxVolumeLimit = value; } } // Check to see if MaxVolumeLimit property is set internal bool IsSetMaxVolumeLimit() { return this._maxVolumeLimit.HasValue; } /// /// Gets and sets the property MeetingRoomConfiguration. /// /// The meeting room settings of a room profile. /// /// public CreateMeetingRoomConfiguration MeetingRoomConfiguration { get { return this._meetingRoomConfiguration; } set { this._meetingRoomConfiguration = value; } } // Check to see if MeetingRoomConfiguration property is set internal bool IsSetMeetingRoomConfiguration() { return this._meetingRoomConfiguration != null; } /// /// Gets and sets the property ProfileName. /// /// The name of a room profile. /// /// [AWSProperty(Required=true, 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 PSTNEnabled. /// /// Whether PSTN calling is enabled. /// /// public bool PSTNEnabled { get { return this._pstnEnabled.GetValueOrDefault(); } set { this._pstnEnabled = value; } } // Check to see if PSTNEnabled property is set internal bool IsSetPSTNEnabled() { return this._pstnEnabled.HasValue; } /// /// Gets and sets the property SetupModeDisabled. /// /// Whether room profile setup is enabled. /// /// public bool SetupModeDisabled { get { return this._setupModeDisabled.GetValueOrDefault(); } set { this._setupModeDisabled = value; } } // Check to see if SetupModeDisabled property is set internal bool IsSetSetupModeDisabled() { return this._setupModeDisabled.HasValue; } /// /// Gets and sets the property Tags. /// /// The tags for the profile. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property TemperatureUnit. /// /// The temperature unit to be used by devices in the profile. /// /// [AWSProperty(Required=true)] 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 used by a room profile. /// /// [AWSProperty(Required=true, 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. /// /// A wake word for Alexa, Echo, Amazon, or a computer. /// /// [AWSProperty(Required=true)] 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; } } }