/* * 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-geospatial-2020-05-27.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.SageMakerGeospatial.Model { /// /// Container for the parameters to the StartEarthObservationJob operation. /// Use this operation to create an Earth observation job. /// public partial class StartEarthObservationJobRequest : AmazonSageMakerGeospatialRequest { private string _clientToken; private string _executionRoleArn; private InputConfigInput _inputConfig; private JobConfigInput _jobConfig; private string _kmsKeyId; private string _name; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property ClientToken. /// /// A unique token that guarantees that the call to this API is idempotent. /// /// [AWSProperty(Min=36, Max=64)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property ExecutionRoleArn. /// /// The Amazon Resource Name (ARN) of the IAM role that you specified for the job. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string ExecutionRoleArn { get { return this._executionRoleArn; } set { this._executionRoleArn = value; } } // Check to see if ExecutionRoleArn property is set internal bool IsSetExecutionRoleArn() { return this._executionRoleArn != null; } /// /// Gets and sets the property InputConfig. /// /// Input configuration information for the Earth Observation job. /// /// [AWSProperty(Required=true)] public InputConfigInput InputConfig { get { return this._inputConfig; } set { this._inputConfig = value; } } // Check to see if InputConfig property is set internal bool IsSetInputConfig() { return this._inputConfig != null; } /// /// Gets and sets the property JobConfig. /// /// An object containing information about the job configuration. /// /// [AWSProperty(Required=true)] public JobConfigInput JobConfig { get { return this._jobConfig; } set { this._jobConfig = value; } } // Check to see if JobConfig property is set internal bool IsSetJobConfig() { return this._jobConfig != null; } /// /// Gets and sets the property KmsKeyId. /// /// The Key Management Service key ID for server-side encryption. /// /// [AWSProperty(Min=0, Max=2048)] public string KmsKeyId { get { return this._kmsKeyId; } set { this._kmsKeyId = value; } } // Check to see if KmsKeyId property is set internal bool IsSetKmsKeyId() { return this._kmsKeyId != null; } /// /// Gets and sets the property Name. /// /// The name of the Earth Observation job. /// /// [AWSProperty(Required=true, Min=0, Max=200)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Tags. /// /// Each tag consists of a key and a value. /// /// public Dictionary 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; } } }