/** * 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 { RegisteredUserDashboardFeatureConfigurations::RegisteredUserDashboardFeatureConfigurations() : m_statePersistenceHasBeenSet(false), m_bookmarksHasBeenSet(false) { } RegisteredUserDashboardFeatureConfigurations::RegisteredUserDashboardFeatureConfigurations(JsonView jsonValue) : m_statePersistenceHasBeenSet(false), m_bookmarksHasBeenSet(false) { *this = jsonValue; } RegisteredUserDashboardFeatureConfigurations& RegisteredUserDashboardFeatureConfigurations::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("StatePersistence")) { m_statePersistence = jsonValue.GetObject("StatePersistence"); m_statePersistenceHasBeenSet = true; } if(jsonValue.ValueExists("Bookmarks")) { m_bookmarks = jsonValue.GetObject("Bookmarks"); m_bookmarksHasBeenSet = true; } return *this; } JsonValue RegisteredUserDashboardFeatureConfigurations::Jsonize() const { JsonValue payload; if(m_statePersistenceHasBeenSet) { payload.WithObject("StatePersistence", m_statePersistence.Jsonize()); } if(m_bookmarksHasBeenSet) { payload.WithObject("Bookmarks", m_bookmarks.Jsonize()); } return payload; } } // namespace Model } // namespace QuickSight } // namespace Aws