/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMakerGeospatial { namespace Model { /** *

The structure representing input for resampling operation.

See * Also:

AWS * API Reference

*/ class ResamplingConfigInput { public: AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput(); AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the algorithm used for resampling.

*/ inline const AlgorithmNameResampling& GetAlgorithmName() const{ return m_algorithmName; } /** *

The name of the algorithm used for resampling.

*/ inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; } /** *

The name of the algorithm used for resampling.

*/ inline void SetAlgorithmName(const AlgorithmNameResampling& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = value; } /** *

The name of the algorithm used for resampling.

*/ inline void SetAlgorithmName(AlgorithmNameResampling&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::move(value); } /** *

The name of the algorithm used for resampling.

*/ inline ResamplingConfigInput& WithAlgorithmName(const AlgorithmNameResampling& value) { SetAlgorithmName(value); return *this;} /** *

The name of the algorithm used for resampling.

*/ inline ResamplingConfigInput& WithAlgorithmName(AlgorithmNameResampling&& value) { SetAlgorithmName(std::move(value)); return *this;} /** *

The structure representing output resolution (in target georeferenced units) * of the result of resampling operation.

*/ inline const OutputResolutionResamplingInput& GetOutputResolution() const{ return m_outputResolution; } /** *

The structure representing output resolution (in target georeferenced units) * of the result of resampling operation.

*/ inline bool OutputResolutionHasBeenSet() const { return m_outputResolutionHasBeenSet; } /** *

The structure representing output resolution (in target georeferenced units) * of the result of resampling operation.

*/ inline void SetOutputResolution(const OutputResolutionResamplingInput& value) { m_outputResolutionHasBeenSet = true; m_outputResolution = value; } /** *

The structure representing output resolution (in target georeferenced units) * of the result of resampling operation.

*/ inline void SetOutputResolution(OutputResolutionResamplingInput&& value) { m_outputResolutionHasBeenSet = true; m_outputResolution = std::move(value); } /** *

The structure representing output resolution (in target georeferenced units) * of the result of resampling operation.

*/ inline ResamplingConfigInput& WithOutputResolution(const OutputResolutionResamplingInput& value) { SetOutputResolution(value); return *this;} /** *

The structure representing output resolution (in target georeferenced units) * of the result of resampling operation.

*/ inline ResamplingConfigInput& WithOutputResolution(OutputResolutionResamplingInput&& value) { SetOutputResolution(std::move(value)); return *this;} /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline const Aws::Vector& GetTargetBands() const{ return m_targetBands; } /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; } /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline void SetTargetBands(const Aws::Vector& value) { m_targetBandsHasBeenSet = true; m_targetBands = value; } /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline void SetTargetBands(Aws::Vector&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::move(value); } /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline ResamplingConfigInput& WithTargetBands(const Aws::Vector& value) { SetTargetBands(value); return *this;} /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline ResamplingConfigInput& WithTargetBands(Aws::Vector&& value) { SetTargetBands(std::move(value)); return *this;} /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline ResamplingConfigInput& AddTargetBands(const Aws::String& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; } /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline ResamplingConfigInput& AddTargetBands(Aws::String&& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(std::move(value)); return *this; } /** *

Bands used in the operation. If no target bands are specified, it uses all * bands available in the input.

*/ inline ResamplingConfigInput& AddTargetBands(const char* value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; } private: AlgorithmNameResampling m_algorithmName; bool m_algorithmNameHasBeenSet = false; OutputResolutionResamplingInput m_outputResolution; bool m_outputResolutionHasBeenSet = false; Aws::Vector m_targetBands; bool m_targetBandsHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws