/** * 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 ChimeSDKMediaPipelines { namespace Model { S3BucketSinkConfiguration::S3BucketSinkConfiguration() : m_destinationHasBeenSet(false) { } S3BucketSinkConfiguration::S3BucketSinkConfiguration(JsonView jsonValue) : m_destinationHasBeenSet(false) { *this = jsonValue; } S3BucketSinkConfiguration& S3BucketSinkConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("Destination")) { m_destination = jsonValue.GetString("Destination"); m_destinationHasBeenSet = true; } return *this; } JsonValue S3BucketSinkConfiguration::Jsonize() const { JsonValue payload; if(m_destinationHasBeenSet) { payload.WithString("Destination", m_destination); } return payload; } } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws