/* * 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 chime-2018-05-01.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.Chime.Model { /// /// The streaming configuration associated with an Amazon Chime Voice Connector. Specifies /// whether media streaming is enabled for sending to Amazon Kinesis, and shows the retention /// period for the Amazon Kinesis data, in hours. /// public partial class StreamingConfiguration { private int? _dataRetentionInHours; private bool? _disabled; private List _streamingNotificationTargets = new List(); /// /// Gets and sets the property DataRetentionInHours. /// /// The retention period, in hours, for the Amazon Kinesis data. /// /// [AWSProperty(Required=true, Min=0)] public int DataRetentionInHours { get { return this._dataRetentionInHours.GetValueOrDefault(); } set { this._dataRetentionInHours = value; } } // Check to see if DataRetentionInHours property is set internal bool IsSetDataRetentionInHours() { return this._dataRetentionInHours.HasValue; } /// /// Gets and sets the property Disabled. /// /// When true, media streaming to Amazon Kinesis is turned off. /// /// public bool Disabled { get { return this._disabled.GetValueOrDefault(); } set { this._disabled = value; } } // Check to see if Disabled property is set internal bool IsSetDisabled() { return this._disabled.HasValue; } /// /// Gets and sets the property StreamingNotificationTargets. /// /// The streaming notification targets. /// /// [AWSProperty(Min=1, Max=3)] public List StreamingNotificationTargets { get { return this._streamingNotificationTargets; } set { this._streamingNotificationTargets = value; } } // Check to see if StreamingNotificationTargets property is set internal bool IsSetStreamingNotificationTargets() { return this._streamingNotificationTargets != null && this._streamingNotificationTargets.Count > 0; } } }