/** * 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 { DataSetRefreshProperties::DataSetRefreshProperties() : m_refreshConfigurationHasBeenSet(false) { } DataSetRefreshProperties::DataSetRefreshProperties(JsonView jsonValue) : m_refreshConfigurationHasBeenSet(false) { *this = jsonValue; } DataSetRefreshProperties& DataSetRefreshProperties::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("RefreshConfiguration")) { m_refreshConfiguration = jsonValue.GetObject("RefreshConfiguration"); m_refreshConfigurationHasBeenSet = true; } return *this; } JsonValue DataSetRefreshProperties::Jsonize() const { JsonValue payload; if(m_refreshConfigurationHasBeenSet) { payload.WithObject("RefreshConfiguration", m_refreshConfiguration.Jsonize()); } return payload; } } // namespace Model } // namespace QuickSight } // namespace Aws