/** * 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 MediaConvert { namespace Model { DolbyVisionLevel6Metadata::DolbyVisionLevel6Metadata() : m_maxCll(0), m_maxCllHasBeenSet(false), m_maxFall(0), m_maxFallHasBeenSet(false) { } DolbyVisionLevel6Metadata::DolbyVisionLevel6Metadata(JsonView jsonValue) : m_maxCll(0), m_maxCllHasBeenSet(false), m_maxFall(0), m_maxFallHasBeenSet(false) { *this = jsonValue; } DolbyVisionLevel6Metadata& DolbyVisionLevel6Metadata::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("maxCll")) { m_maxCll = jsonValue.GetInteger("maxCll"); m_maxCllHasBeenSet = true; } if(jsonValue.ValueExists("maxFall")) { m_maxFall = jsonValue.GetInteger("maxFall"); m_maxFallHasBeenSet = true; } return *this; } JsonValue DolbyVisionLevel6Metadata::Jsonize() const { JsonValue payload; if(m_maxCllHasBeenSet) { payload.WithInteger("maxCll", m_maxCll); } if(m_maxFallHasBeenSet) { payload.WithInteger("maxFall", m_maxFall); } return payload; } } // namespace Model } // namespace MediaConvert } // namespace Aws