/** * 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 ChimeSDKMediaPipelines { namespace Model { SourceConfiguration::SourceConfiguration() : m_selectedVideoStreamsHasBeenSet(false) { } SourceConfiguration::SourceConfiguration(JsonView jsonValue) : m_selectedVideoStreamsHasBeenSet(false) { *this = jsonValue; } SourceConfiguration& SourceConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("SelectedVideoStreams")) { m_selectedVideoStreams = jsonValue.GetObject("SelectedVideoStreams"); m_selectedVideoStreamsHasBeenSet = true; } return *this; } JsonValue SourceConfiguration::Jsonize() const { JsonValue payload; if(m_selectedVideoStreamsHasBeenSet) { payload.WithObject("SelectedVideoStreams", m_selectedVideoStreams.Jsonize()); } return payload; } } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws