/** * 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 MediaPackageVod { namespace Model { EgressAccessLogs::EgressAccessLogs() : m_logGroupNameHasBeenSet(false) { } EgressAccessLogs::EgressAccessLogs(JsonView jsonValue) : m_logGroupNameHasBeenSet(false) { *this = jsonValue; } EgressAccessLogs& EgressAccessLogs::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("logGroupName")) { m_logGroupName = jsonValue.GetString("logGroupName"); m_logGroupNameHasBeenSet = true; } return *this; } JsonValue EgressAccessLogs::Jsonize() const { JsonValue payload; if(m_logGroupNameHasBeenSet) { payload.WithString("logGroupName", m_logGroupName); } return payload; } } // namespace Model } // namespace MediaPackageVod } // namespace Aws