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