/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h> #include <aws/sagemaker-geospatial/model/MapMatchingConfig.h> #include <aws/sagemaker-geospatial/model/ReverseGeocodingConfig.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMakerGeospatial { namespace Model { /** * <p>It contains configs such as ReverseGeocodingConfig and * MapMatchingConfig.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-geospatial-2020-05-27/VectorEnrichmentJobConfig">AWS * API Reference</a></p> */ class VectorEnrichmentJobConfig { public: AWS_SAGEMAKERGEOSPATIAL_API VectorEnrichmentJobConfig(); AWS_SAGEMAKERGEOSPATIAL_API VectorEnrichmentJobConfig(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKERGEOSPATIAL_API VectorEnrichmentJobConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>The input structure for Map Matching operation type.</p> */ inline const MapMatchingConfig& GetMapMatchingConfig() const{ return m_mapMatchingConfig; } /** * <p>The input structure for Map Matching operation type.</p> */ inline bool MapMatchingConfigHasBeenSet() const { return m_mapMatchingConfigHasBeenSet; } /** * <p>The input structure for Map Matching operation type.</p> */ inline void SetMapMatchingConfig(const MapMatchingConfig& value) { m_mapMatchingConfigHasBeenSet = true; m_mapMatchingConfig = value; } /** * <p>The input structure for Map Matching operation type.</p> */ inline void SetMapMatchingConfig(MapMatchingConfig&& value) { m_mapMatchingConfigHasBeenSet = true; m_mapMatchingConfig = std::move(value); } /** * <p>The input structure for Map Matching operation type.</p> */ inline VectorEnrichmentJobConfig& WithMapMatchingConfig(const MapMatchingConfig& value) { SetMapMatchingConfig(value); return *this;} /** * <p>The input structure for Map Matching operation type.</p> */ inline VectorEnrichmentJobConfig& WithMapMatchingConfig(MapMatchingConfig&& value) { SetMapMatchingConfig(std::move(value)); return *this;} /** * <p>The input structure for Reverse Geocoding operation type.</p> */ inline const ReverseGeocodingConfig& GetReverseGeocodingConfig() const{ return m_reverseGeocodingConfig; } /** * <p>The input structure for Reverse Geocoding operation type.</p> */ inline bool ReverseGeocodingConfigHasBeenSet() const { return m_reverseGeocodingConfigHasBeenSet; } /** * <p>The input structure for Reverse Geocoding operation type.</p> */ inline void SetReverseGeocodingConfig(const ReverseGeocodingConfig& value) { m_reverseGeocodingConfigHasBeenSet = true; m_reverseGeocodingConfig = value; } /** * <p>The input structure for Reverse Geocoding operation type.</p> */ inline void SetReverseGeocodingConfig(ReverseGeocodingConfig&& value) { m_reverseGeocodingConfigHasBeenSet = true; m_reverseGeocodingConfig = std::move(value); } /** * <p>The input structure for Reverse Geocoding operation type.</p> */ inline VectorEnrichmentJobConfig& WithReverseGeocodingConfig(const ReverseGeocodingConfig& value) { SetReverseGeocodingConfig(value); return *this;} /** * <p>The input structure for Reverse Geocoding operation type.</p> */ inline VectorEnrichmentJobConfig& WithReverseGeocodingConfig(ReverseGeocodingConfig&& value) { SetReverseGeocodingConfig(std::move(value)); return *this;} private: MapMatchingConfig m_mapMatchingConfig; bool m_mapMatchingConfigHasBeenSet = false; ReverseGeocodingConfig m_reverseGeocodingConfig; bool m_reverseGeocodingConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws