/*
* 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 devicefarm-2015-06-23.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.DeviceFarm.Model
{
///
/// Container for the parameters to the UpdateDeviceInstance operation.
/// Updates information about a private device instance.
///
public partial class UpdateDeviceInstanceRequest : AmazonDeviceFarmRequest
{
private string _arn;
private List _labels = new List();
private string _profileArn;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the device instance.
///
///
[AWSProperty(Required=true, Min=32, Max=1011)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property Labels.
///
/// An array of strings that you want to associate with the device instance.
///
///
public List Labels
{
get { return this._labels; }
set { this._labels = value; }
}
// Check to see if Labels property is set
internal bool IsSetLabels()
{
return this._labels != null && this._labels.Count > 0;
}
///
/// Gets and sets the property ProfileArn.
///
/// The ARN of the profile that you want to associate with the device instance.
///
///
[AWSProperty(Min=32, Max=1011)]
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;
}
}
}