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