/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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. See Also:
AWS
* API Reference
If this option is set to true, you choose to share data with Rekognition to * improve model performance.
*/ inline bool GetOptIn() const{ return m_optIn; } /** *If this option is set to true, you choose to share data with Rekognition to * improve model performance.
*/ inline bool OptInHasBeenSet() const { return m_optInHasBeenSet; } /** *If this option is set to true, you choose to share data with Rekognition to * improve model performance.
*/ inline void SetOptIn(bool value) { m_optInHasBeenSet = true; m_optIn = value; } /** *If this option is set to true, you choose to share data with Rekognition to * improve model performance.
*/ inline StreamProcessorDataSharingPreference& WithOptIn(bool value) { SetOptIn(value); return *this;} private: bool m_optIn; bool m_optInHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws