/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace QuickSight { namespace Model { GeospatialHeatmapDataColor::GeospatialHeatmapDataColor() : m_colorHasBeenSet(false) { } GeospatialHeatmapDataColor::GeospatialHeatmapDataColor(JsonView jsonValue) : m_colorHasBeenSet(false) { *this = jsonValue; } GeospatialHeatmapDataColor& GeospatialHeatmapDataColor::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Color")) { m_color = jsonValue.GetString("Color"); m_colorHasBeenSet = true; } return *this; } JsonValue GeospatialHeatmapDataColor::Jsonize() const { JsonValue payload; if(m_colorHasBeenSet) { payload.WithString("Color", m_color); } return payload; } } // namespace Model } // namespace QuickSight } // namespace Aws