/** * 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 ivschat { namespace Model { S3DestinationConfiguration::S3DestinationConfiguration() : m_bucketNameHasBeenSet(false) { } S3DestinationConfiguration::S3DestinationConfiguration(JsonView jsonValue) : m_bucketNameHasBeenSet(false) { *this = jsonValue; } S3DestinationConfiguration& S3DestinationConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("bucketName")) { m_bucketName = jsonValue.GetString("bucketName"); m_bucketNameHasBeenSet = true; } return *this; } JsonValue S3DestinationConfiguration::Jsonize() const { JsonValue payload; if(m_bucketNameHasBeenSet) { payload.WithString("bucketName", m_bucketName); } return payload; } } // namespace Model } // namespace ivschat } // namespace Aws