/* * 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 braket-2019-09-01.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.Braket.Model { /// <summary> /// Contains information about the Python scripts used for entry and by an Amazon Braket /// job. /// </summary> public partial class ScriptModeConfig { private CompressionType _compressionType; private string _entryPoint; private string _s3Uri; /// <summary> /// Gets and sets the property CompressionType. /// <para> /// The type of compression used by the Python scripts for an Amazon Braket job. /// </para> /// </summary> public CompressionType CompressionType { get { return this._compressionType; } set { this._compressionType = value; } } // Check to see if CompressionType property is set internal bool IsSetCompressionType() { return this._compressionType != null; } /// <summary> /// Gets and sets the property EntryPoint. /// <para> /// The path to the Python script that serves as the entry point for an Amazon Braket /// job. /// </para> /// </summary> [AWSProperty(Required=true)] public string EntryPoint { get { return this._entryPoint; } set { this._entryPoint = value; } } // Check to see if EntryPoint property is set internal bool IsSetEntryPoint() { return this._entryPoint != null; } /// <summary> /// Gets and sets the property S3Uri. /// <para> /// The URI that specifies the S3 path to the Python script module that contains the training /// script used by an Amazon Braket job. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=1024)] public string S3Uri { get { return this._s3Uri; } set { this._s3Uri = value; } } // Check to see if S3Uri property is set internal bool IsSetS3Uri() { return this._s3Uri != null; } } }