/*
* 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 UpdateProfile operation.
/// Updates an existing room profile by room profile ARN.
///
public partial class UpdateProfileRequest : AmazonAlexaForBusinessRequest
{
private string _address;
private bool? _dataRetentionOptIn;
private DistanceUnit _distanceUnit;
private bool? _isDefault;
private string _locale;
private int? _maxVolumeLimit;
private UpdateMeetingRoomConfiguration _meetingRoomConfiguration;
private string _profileArn;
private string _profileName;
private bool? _pstnEnabled;
private bool? _setupModeDisabled;
private TemperatureUnit _temperatureUnit;
private string _timezone;
private WakeWord _wakeWord;
///
/// Gets and sets the property Address.
///
/// The updated address for the 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 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 updated distance unit for the 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.
///
/// Sets the profile as default if selected. If this is missing, no update is done to
/// the default status.
///
///
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 updated locale for 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 updated maximum volume limit for the 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 updated meeting room settings of a room profile.
///
///
public UpdateMeetingRoomConfiguration 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 ProfileArn.
///
/// The ARN of the room profile to update. Required.
///
///
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 updated name for the 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 PSTNEnabled.
///
/// Whether the PSTN setting of the room profile 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 the setup mode of the profile 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 TemperatureUnit.
///
/// The updated temperature unit for the 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 updated timezone for the 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 updated wake word for the 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;
}
}
}