/** * 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 AppFabric { namespace Model { DestinationConfiguration::DestinationConfiguration() : m_auditLogHasBeenSet(false) { } DestinationConfiguration::DestinationConfiguration(JsonView jsonValue) : m_auditLogHasBeenSet(false) { *this = jsonValue; } DestinationConfiguration& DestinationConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("auditLog")) { m_auditLog = jsonValue.GetObject("auditLog"); m_auditLogHasBeenSet = true; } return *this; } JsonValue DestinationConfiguration::Jsonize() const { JsonValue payload; if(m_auditLogHasBeenSet) { payload.WithObject("auditLog", m_auditLog.Jsonize()); } return payload; } } // namespace Model } // namespace AppFabric } // namespace Aws