/** * 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 KinesisAnalyticsV2 { namespace Model { S3Configuration::S3Configuration() : m_bucketARNHasBeenSet(false), m_fileKeyHasBeenSet(false) { } S3Configuration::S3Configuration(JsonView jsonValue) : m_bucketARNHasBeenSet(false), m_fileKeyHasBeenSet(false) { *this = jsonValue; } S3Configuration& S3Configuration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("BucketARN")) { m_bucketARN = jsonValue.GetString("BucketARN"); m_bucketARNHasBeenSet = true; } if(jsonValue.ValueExists("FileKey")) { m_fileKey = jsonValue.GetString("FileKey"); m_fileKeyHasBeenSet = true; } return *this; } JsonValue S3Configuration::Jsonize() const { JsonValue payload; if(m_bucketARNHasBeenSet) { payload.WithString("BucketARN", m_bucketARN); } if(m_fileKeyHasBeenSet) { payload.WithString("FileKey", m_fileKey); } return payload; } } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws