/* * 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 { /// /// Contains information about a target platform that you want your model to run on, such /// as OS, architecture, and accelerators. It is an alternative of TargetDevice. /// public partial class TargetPlatform { private TargetPlatformAccelerator _accelerator; private TargetPlatformArch _arch; private TargetPlatformOs _os; /// /// Gets and sets the property Accelerator. /// /// Specifies a target platform accelerator (optional). /// /// /// public TargetPlatformAccelerator Accelerator { get { return this._accelerator; } set { this._accelerator = value; } } // Check to see if Accelerator property is set internal bool IsSetAccelerator() { return this._accelerator != null; } /// /// Gets and sets the property Arch. /// /// Specifies a target platform architecture. /// /// /// [AWSProperty(Required=true)] public TargetPlatformArch Arch { get { return this._arch; } set { this._arch = value; } } // Check to see if Arch property is set internal bool IsSetArch() { return this._arch != null; } /// /// Gets and sets the property Os. /// /// Specifies a target platform OS. /// /// /// [AWSProperty(Required=true)] public TargetPlatformOs Os { get { return this._os; } set { this._os = value; } } // Check to see if Os property is set internal bool IsSetOs() { return this._os != null; } } }