/** * 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 IoTTwinMaker { namespace Model { LambdaFunction::LambdaFunction() : m_arnHasBeenSet(false) { } LambdaFunction::LambdaFunction(JsonView jsonValue) : m_arnHasBeenSet(false) { *this = jsonValue; } LambdaFunction& LambdaFunction::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("arn")) { m_arn = jsonValue.GetString("arn"); m_arnHasBeenSet = true; } return *this; } JsonValue LambdaFunction::Jsonize() const { JsonValue payload; if(m_arnHasBeenSet) { payload.WithString("arn", m_arn); } return payload; } } // namespace Model } // namespace IoTTwinMaker } // namespace Aws