/** * 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 MediaTailor { namespace Model { DefaultSegmentDeliveryConfiguration::DefaultSegmentDeliveryConfiguration() : m_baseUrlHasBeenSet(false) { } DefaultSegmentDeliveryConfiguration::DefaultSegmentDeliveryConfiguration(JsonView jsonValue) : m_baseUrlHasBeenSet(false) { *this = jsonValue; } DefaultSegmentDeliveryConfiguration& DefaultSegmentDeliveryConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("BaseUrl")) { m_baseUrl = jsonValue.GetString("BaseUrl"); m_baseUrlHasBeenSet = true; } return *this; } JsonValue DefaultSegmentDeliveryConfiguration::Jsonize() const { JsonValue payload; if(m_baseUrlHasBeenSet) { payload.WithString("BaseUrl", m_baseUrl); } return payload; } } // namespace Model } // namespace MediaTailor } // namespace Aws