/** * 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 { AudioArtifactsConfiguration::AudioArtifactsConfiguration() : m_muxType(AudioMuxType::NOT_SET), m_muxTypeHasBeenSet(false) { } AudioArtifactsConfiguration::AudioArtifactsConfiguration(JsonView jsonValue) : m_muxType(AudioMuxType::NOT_SET), m_muxTypeHasBeenSet(false) { *this = jsonValue; } AudioArtifactsConfiguration& AudioArtifactsConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("MuxType")) { m_muxType = AudioMuxTypeMapper::GetAudioMuxTypeForName(jsonValue.GetString("MuxType")); m_muxTypeHasBeenSet = true; } return *this; } JsonValue AudioArtifactsConfiguration::Jsonize() const { JsonValue payload; if(m_muxTypeHasBeenSet) { payload.WithString("MuxType", AudioMuxTypeMapper::GetNameForAudioMuxType(m_muxType)); } return payload; } } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws