/** * 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 { LineChartSeriesSettings::LineChartSeriesSettings() : m_lineStyleSettingsHasBeenSet(false), m_markerStyleSettingsHasBeenSet(false) { } LineChartSeriesSettings::LineChartSeriesSettings(JsonView jsonValue) : m_lineStyleSettingsHasBeenSet(false), m_markerStyleSettingsHasBeenSet(false) { *this = jsonValue; } LineChartSeriesSettings& LineChartSeriesSettings::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("LineStyleSettings")) { m_lineStyleSettings = jsonValue.GetObject("LineStyleSettings"); m_lineStyleSettingsHasBeenSet = true; } if(jsonValue.ValueExists("MarkerStyleSettings")) { m_markerStyleSettings = jsonValue.GetObject("MarkerStyleSettings"); m_markerStyleSettingsHasBeenSet = true; } return *this; } JsonValue LineChartSeriesSettings::Jsonize() const { JsonValue payload; if(m_lineStyleSettingsHasBeenSet) { payload.WithObject("LineStyleSettings", m_lineStyleSettings.Jsonize()); } if(m_markerStyleSettingsHasBeenSet) { payload.WithObject("MarkerStyleSettings", m_markerStyleSettings.Jsonize()); } return payload; } } // namespace Model } // namespace QuickSight } // namespace Aws