/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include #include using namespace Aws::MediaLive::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DescribeMultiplexProgramResult::DescribeMultiplexProgramResult() { } DescribeMultiplexProgramResult::DescribeMultiplexProgramResult(const Aws::AmazonWebServiceResult& result) { *this = result; } DescribeMultiplexProgramResult& DescribeMultiplexProgramResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("channelId")) { m_channelId = jsonValue.GetString("channelId"); } if(jsonValue.ValueExists("multiplexProgramSettings")) { m_multiplexProgramSettings = jsonValue.GetObject("multiplexProgramSettings"); } if(jsonValue.ValueExists("packetIdentifiersMap")) { m_packetIdentifiersMap = jsonValue.GetObject("packetIdentifiersMap"); } if(jsonValue.ValueExists("programName")) { m_programName = jsonValue.GetString("programName"); } return *this; }