/** * 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 LexModelsV2 { namespace Model { AudioLogDestination::AudioLogDestination() : m_s3BucketHasBeenSet(false) { } AudioLogDestination::AudioLogDestination(JsonView jsonValue) : m_s3BucketHasBeenSet(false) { *this = jsonValue; } AudioLogDestination& AudioLogDestination::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("s3Bucket")) { m_s3Bucket = jsonValue.GetObject("s3Bucket"); m_s3BucketHasBeenSet = true; } return *this; } JsonValue AudioLogDestination::Jsonize() const { JsonValue payload; if(m_s3BucketHasBeenSet) { payload.WithObject("s3Bucket", m_s3Bucket.Jsonize()); } return payload; } } // namespace Model } // namespace LexModelsV2 } // namespace Aws