/*
* 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 sagemaker-2017-07-24.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.SageMaker.Model
{
///
/// Container for the parameters to the CreateDeviceFleet operation.
/// Creates a device fleet.
///
public partial class CreateDeviceFleetRequest : AmazonSageMakerRequest
{
private string _description;
private string _deviceFleetName;
private bool? _enableIotRoleAlias;
private EdgeOutputConfig _outputConfig;
private string _roleArn;
private List _tags = new List();
///
/// Gets and sets the property Description.
///
/// A description of the fleet.
///
///
[AWSProperty(Min=1, Max=800)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property DeviceFleetName.
///
/// The name of the fleet that the device belongs to.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string DeviceFleetName
{
get { return this._deviceFleetName; }
set { this._deviceFleetName = value; }
}
// Check to see if DeviceFleetName property is set
internal bool IsSetDeviceFleetName()
{
return this._deviceFleetName != null;
}
///
/// Gets and sets the property EnableIotRoleAlias.
///
/// Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
/// The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
///
///
///
/// For example, if your device fleet is called "demo-fleet", the name of the role alias
/// will be "SageMakerEdge-demo-fleet".
///
///
public bool EnableIotRoleAlias
{
get { return this._enableIotRoleAlias.GetValueOrDefault(); }
set { this._enableIotRoleAlias = value; }
}
// Check to see if EnableIotRoleAlias property is set
internal bool IsSetEnableIotRoleAlias()
{
return this._enableIotRoleAlias.HasValue;
}
///
/// Gets and sets the property OutputConfig.
///
/// The output configuration for storing sample data collected by the fleet.
///
///
[AWSProperty(Required=true)]
public EdgeOutputConfig OutputConfig
{
get { return this._outputConfig; }
set { this._outputConfig = value; }
}
// Check to see if OutputConfig property is set
internal bool IsSetOutputConfig()
{
return this._outputConfig != null;
}
///
/// Gets and sets the property RoleArn.
///
/// The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of
/// Things (IoT).
///
///
[AWSProperty(Min=20, Max=2048)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
///
/// Gets and sets the property Tags.
///
/// Creates tags for the specified fleet.
///
///
[AWSProperty(Min=0, Max=50)]
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;
}
}
}