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

A single EarthObservationJob output band.

See Also:

AWS * API Reference

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

The name of the band.

*/ inline const Aws::String& GetBandName() const{ return m_bandName; } /** *

The name of the band.

*/ inline bool BandNameHasBeenSet() const { return m_bandNameHasBeenSet; } /** *

The name of the band.

*/ inline void SetBandName(const Aws::String& value) { m_bandNameHasBeenSet = true; m_bandName = value; } /** *

The name of the band.

*/ inline void SetBandName(Aws::String&& value) { m_bandNameHasBeenSet = true; m_bandName = std::move(value); } /** *

The name of the band.

*/ inline void SetBandName(const char* value) { m_bandNameHasBeenSet = true; m_bandName.assign(value); } /** *

The name of the band.

*/ inline OutputBand& WithBandName(const Aws::String& value) { SetBandName(value); return *this;} /** *

The name of the band.

*/ inline OutputBand& WithBandName(Aws::String&& value) { SetBandName(std::move(value)); return *this;} /** *

The name of the band.

*/ inline OutputBand& WithBandName(const char* value) { SetBandName(value); return *this;} /** *

The datatype of the output band.

*/ inline const OutputType& GetOutputDataType() const{ return m_outputDataType; } /** *

The datatype of the output band.

*/ inline bool OutputDataTypeHasBeenSet() const { return m_outputDataTypeHasBeenSet; } /** *

The datatype of the output band.

*/ inline void SetOutputDataType(const OutputType& value) { m_outputDataTypeHasBeenSet = true; m_outputDataType = value; } /** *

The datatype of the output band.

*/ inline void SetOutputDataType(OutputType&& value) { m_outputDataTypeHasBeenSet = true; m_outputDataType = std::move(value); } /** *

The datatype of the output band.

*/ inline OutputBand& WithOutputDataType(const OutputType& value) { SetOutputDataType(value); return *this;} /** *

The datatype of the output band.

*/ inline OutputBand& WithOutputDataType(OutputType&& value) { SetOutputDataType(std::move(value)); return *this;} private: Aws::String m_bandName; bool m_bandNameHasBeenSet = false; OutputType m_outputDataType; bool m_outputDataTypeHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws