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

The input structure for specifying Platform. Platform refers to the unique * name of the specific platform the instrument is attached to. For satellites it * is the name of the satellite, eg. landsat-8 (Landsat-8), * sentinel-2a.

See Also:

AWS * API Reference

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

The ComparisonOperator to use with PlatformInput.

*/ inline const ComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; } /** *

The ComparisonOperator to use with PlatformInput.

*/ inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; } /** *

The ComparisonOperator to use with PlatformInput.

*/ inline void SetComparisonOperator(const ComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; } /** *

The ComparisonOperator to use with PlatformInput.

*/ inline void SetComparisonOperator(ComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); } /** *

The ComparisonOperator to use with PlatformInput.

*/ inline PlatformInput& WithComparisonOperator(const ComparisonOperator& value) { SetComparisonOperator(value); return *this;} /** *

The ComparisonOperator to use with PlatformInput.

*/ inline PlatformInput& WithComparisonOperator(ComparisonOperator&& value) { SetComparisonOperator(std::move(value)); return *this;} /** *

The value of the platform.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The value of the platform.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of the platform.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of the platform.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value of the platform.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The value of the platform.

*/ inline PlatformInput& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The value of the platform.

*/ inline PlatformInput& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The value of the platform.

*/ inline PlatformInput& WithValue(const char* value) { SetValue(value); return *this;} private: ComparisonOperator m_comparisonOperator; bool m_comparisonOperatorHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws