/** * 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 KafkaConnect { namespace Model { Plugin::Plugin() : m_customPluginHasBeenSet(false) { } Plugin::Plugin(JsonView jsonValue) : m_customPluginHasBeenSet(false) { *this = jsonValue; } Plugin& Plugin::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("customPlugin")) { m_customPlugin = jsonValue.GetObject("customPlugin"); m_customPluginHasBeenSet = true; } return *this; } JsonValue Plugin::Jsonize() const { JsonValue payload; if(m_customPluginHasBeenSet) { payload.WithObject("customPlugin", m_customPlugin.Jsonize()); } return payload; } } // namespace Model } // namespace KafkaConnect } // namespace Aws