/** * 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 GlueDataBrew { namespace Model { JsonOptions::JsonOptions() : m_multiLine(false), m_multiLineHasBeenSet(false) { } JsonOptions::JsonOptions(JsonView jsonValue) : m_multiLine(false), m_multiLineHasBeenSet(false) { *this = jsonValue; } JsonOptions& JsonOptions::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("MultiLine")) { m_multiLine = jsonValue.GetBool("MultiLine"); m_multiLineHasBeenSet = true; } return *this; } JsonValue JsonOptions::Jsonize() const { JsonValue payload; if(m_multiLineHasBeenSet) { payload.WithBool("MultiLine", m_multiLine); } return payload; } } // namespace Model } // namespace GlueDataBrew } // namespace Aws