/*
* 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 rekognition-2016-06-27.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.Rekognition.Model
{
///
/// Allows you to opt in or opt out to share data with Rekognition to improve model performance.
/// You can choose this option at the account level or on a per-stream basis. Note that
/// if you opt out at the account level this setting is ignored on individual streams.
///
public partial class StreamProcessorDataSharingPreference
{
private bool? _optIn;
///
/// Gets and sets the property OptIn.
///
/// If this option is set to true, you choose to share data with Rekognition to improve
/// model performance.
///
///
[AWSProperty(Required=true)]
public bool OptIn
{
get { return this._optIn.GetValueOrDefault(); }
set { this._optIn = value; }
}
// Check to see if OptIn property is set
internal bool IsSetOptIn()
{
return this._optIn.HasValue;
}
}
}