/** * 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 LookoutforVision { namespace Model { ModelPackagingOutputDetails::ModelPackagingOutputDetails() : m_greengrassHasBeenSet(false) { } ModelPackagingOutputDetails::ModelPackagingOutputDetails(JsonView jsonValue) : m_greengrassHasBeenSet(false) { *this = jsonValue; } ModelPackagingOutputDetails& ModelPackagingOutputDetails::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Greengrass")) { m_greengrass = jsonValue.GetObject("Greengrass"); m_greengrassHasBeenSet = true; } return *this; } JsonValue ModelPackagingOutputDetails::Jsonize() const { JsonValue payload; if(m_greengrassHasBeenSet) { payload.WithObject("Greengrass", m_greengrass.Jsonize()); } return payload; } } // namespace Model } // namespace LookoutforVision } // namespace Aws