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