/** * 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 { AnonymousUserEmbeddingExperienceConfiguration::AnonymousUserEmbeddingExperienceConfiguration() : m_dashboardHasBeenSet(false), m_dashboardVisualHasBeenSet(false), m_qSearchBarHasBeenSet(false) { } AnonymousUserEmbeddingExperienceConfiguration::AnonymousUserEmbeddingExperienceConfiguration(JsonView jsonValue) : m_dashboardHasBeenSet(false), m_dashboardVisualHasBeenSet(false), m_qSearchBarHasBeenSet(false) { *this = jsonValue; } AnonymousUserEmbeddingExperienceConfiguration& AnonymousUserEmbeddingExperienceConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Dashboard")) { m_dashboard = jsonValue.GetObject("Dashboard"); m_dashboardHasBeenSet = true; } if(jsonValue.ValueExists("DashboardVisual")) { m_dashboardVisual = jsonValue.GetObject("DashboardVisual"); m_dashboardVisualHasBeenSet = true; } if(jsonValue.ValueExists("QSearchBar")) { m_qSearchBar = jsonValue.GetObject("QSearchBar"); m_qSearchBarHasBeenSet = true; } return *this; } JsonValue AnonymousUserEmbeddingExperienceConfiguration::Jsonize() const { JsonValue payload; if(m_dashboardHasBeenSet) { payload.WithObject("Dashboard", m_dashboard.Jsonize()); } if(m_dashboardVisualHasBeenSet) { payload.WithObject("DashboardVisual", m_dashboardVisual.Jsonize()); } if(m_qSearchBarHasBeenSet) { payload.WithObject("QSearchBar", m_qSearchBar.Jsonize()); } return payload; } } // namespace Model } // namespace QuickSight } // namespace Aws