/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the qldb-2019-01-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.QLDB.Model { /// /// The configuration settings of the Amazon Kinesis Data Streams destination for an Amazon /// QLDB journal stream. /// public partial class KinesisConfiguration { private bool? _aggregationEnabled; private string _streamArn; /// /// Gets and sets the property AggregationEnabled. /// /// Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, /// increasing the number of records sent per API call. /// /// /// /// Default: True /// /// /// /// Record aggregation has important implications for processing records and requires /// de-aggregation in your stream consumer. To learn more, see KPL /// Key Concepts and Consumer /// De-aggregation in the Amazon Kinesis Data Streams Developer Guide. /// /// /// public bool AggregationEnabled { get { return this._aggregationEnabled.GetValueOrDefault(); } set { this._aggregationEnabled = value; } } // Check to see if AggregationEnabled property is set internal bool IsSetAggregationEnabled() { return this._aggregationEnabled.HasValue; } /// /// Gets and sets the property StreamArn. /// /// The Amazon Resource Name (ARN) of the Kinesis Data Streams resource. /// /// [AWSProperty(Required=true, Min=20, Max=1600)] public string StreamArn { get { return this._streamArn; } set { this._streamArn = value; } } // Check to see if StreamArn property is set internal bool IsSetStreamArn() { return this._streamArn != null; } } }