/** * 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 { /** *

Represents an arithmetic operation to compute spectral index.

See * Also:

AWS * API Reference

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

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline const Aws::String& GetEquation() const{ return m_equation; } /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline bool EquationHasBeenSet() const { return m_equationHasBeenSet; } /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline void SetEquation(const Aws::String& value) { m_equationHasBeenSet = true; m_equation = value; } /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline void SetEquation(Aws::String&& value) { m_equationHasBeenSet = true; m_equation = std::move(value); } /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline void SetEquation(const char* value) { m_equationHasBeenSet = true; m_equation.assign(value); } /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline Operation& WithEquation(const Aws::String& value) { SetEquation(value); return *this;} /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline Operation& WithEquation(Aws::String&& value) { SetEquation(std::move(value)); return *this;} /** *

Textual representation of the math operation; Equation used to compute the * spectral index.

*/ inline Operation& WithEquation(const char* value) { SetEquation(value); return *this;} /** *

The name of the operation.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the operation.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the operation.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the operation.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the operation.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the operation.

*/ inline Operation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the operation.

*/ inline Operation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the operation.

*/ inline Operation& WithName(const char* value) { SetName(value); return *this;} /** *

The type of the operation.

*/ inline const OutputType& GetOutputType() const{ return m_outputType; } /** *

The type of the operation.

*/ inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; } /** *

The type of the operation.

*/ inline void SetOutputType(const OutputType& value) { m_outputTypeHasBeenSet = true; m_outputType = value; } /** *

The type of the operation.

*/ inline void SetOutputType(OutputType&& value) { m_outputTypeHasBeenSet = true; m_outputType = std::move(value); } /** *

The type of the operation.

*/ inline Operation& WithOutputType(const OutputType& value) { SetOutputType(value); return *this;} /** *

The type of the operation.

*/ inline Operation& WithOutputType(OutputType&& value) { SetOutputType(std::move(value)); return *this;} private: Aws::String m_equation; bool m_equationHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; OutputType m_outputType; bool m_outputTypeHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws