/* * 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 { /// /// The structure representing input for resampling operation. /// public partial class ResamplingConfigInput { private AlgorithmNameResampling _algorithmName; private OutputResolutionResamplingInput _outputResolution; private List _targetBands = new List(); /// /// Gets and sets the property AlgorithmName. /// /// The name of the algorithm used for resampling. /// /// public AlgorithmNameResampling AlgorithmName { get { return this._algorithmName; } set { this._algorithmName = value; } } // Check to see if AlgorithmName property is set internal bool IsSetAlgorithmName() { return this._algorithmName != null; } /// /// Gets and sets the property OutputResolution. /// /// The structure representing output resolution (in target georeferenced units) of the /// result of resampling operation. /// /// [AWSProperty(Required=true)] public OutputResolutionResamplingInput OutputResolution { get { return this._outputResolution; } set { this._outputResolution = value; } } // Check to see if OutputResolution property is set internal bool IsSetOutputResolution() { return this._outputResolution != null; } /// /// Gets and sets the property TargetBands. /// /// Bands used in the operation. If no target bands are specified, it uses all bands available /// in the input. /// /// [AWSProperty(Min=1)] public List TargetBands { get { return this._targetBands; } set { this._targetBands = value; } } // Check to see if TargetBands property is set internal bool IsSetTargetBands() { return this._targetBands != null && this._targetBands.Count > 0; } } }