/** * 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 { AccountCustomization::AccountCustomization() : m_defaultThemeHasBeenSet(false) { } AccountCustomization::AccountCustomization(JsonView jsonValue) : m_defaultThemeHasBeenSet(false) { *this = jsonValue; } AccountCustomization& AccountCustomization::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("DefaultTheme")) { m_defaultTheme = jsonValue.GetString("DefaultTheme"); m_defaultThemeHasBeenSet = true; } return *this; } JsonValue AccountCustomization::Jsonize() const { JsonValue payload; if(m_defaultThemeHasBeenSet) { payload.WithString("DefaultTheme", m_defaultTheme); } return payload; } } // namespace Model } // namespace QuickSight } // namespace Aws