/** * 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 MediaLive { namespace Model { InputDeviceSettings::InputDeviceSettings() : m_idHasBeenSet(false) { } InputDeviceSettings::InputDeviceSettings(JsonView jsonValue) : m_idHasBeenSet(false) { *this = jsonValue; } InputDeviceSettings& InputDeviceSettings::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("id")) { m_id = jsonValue.GetString("id"); m_idHasBeenSet = true; } return *this; } JsonValue InputDeviceSettings::Jsonize() const { JsonValue payload; if(m_idHasBeenSet) { payload.WithString("id", m_id); } return payload; } } // namespace Model } // namespace MediaLive } // namespace Aws