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

Input object defining the custom BandMath indices to compute.

See * Also:

AWS * API Reference

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

A list of BandMath indices to compute.

*/ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** *

A list of BandMath indices to compute.

*/ inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; } /** *

A list of BandMath indices to compute.

*/ inline void SetOperations(const Aws::Vector& value) { m_operationsHasBeenSet = true; m_operations = value; } /** *

A list of BandMath indices to compute.

*/ inline void SetOperations(Aws::Vector&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); } /** *

A list of BandMath indices to compute.

*/ inline CustomIndicesInput& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** *

A list of BandMath indices to compute.

*/ inline CustomIndicesInput& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** *

A list of BandMath indices to compute.

*/ inline CustomIndicesInput& AddOperations(const Operation& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } /** *

A list of BandMath indices to compute.

*/ inline CustomIndicesInput& AddOperations(Operation&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; } private: Aws::Vector m_operations; bool m_operationsHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws