/* * 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 models.lex.v2-2020-08-07.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.LexModelsV2.Model { /// /// By default, data stored by Amazon Lex is encrypted. The DataPrivacy structure /// provides settings that determine how Amazon Lex handles special cases of securing /// the data for your bot. /// public partial class DataPrivacy { private bool? _childDirected; /// /// Gets and sets the property ChildDirected. /// /// For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must /// specify whether your use of Amazon Lex is related to a website, program, or other /// application that is directed or targeted, in whole or in part, to children under age /// 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying /// true or false in the childDirected field. By /// specifying true in the childDirected field, you confirm /// that your use of Amazon Lex is related to a website, program, or other application /// that is directed or targeted, in whole or in part, to children under age 13 and subject /// to COPPA. By specifying false in the childDirected field, /// you confirm that your use of Amazon Lex is not related to a website, program, /// or other application that is directed or targeted, in whole or in part, to children /// under age 13 and subject to COPPA. You may not specify a default value for the childDirected /// field that does not accurately reflect whether your use of Amazon Lex is related to /// a website, program, or other application that is directed or targeted, in whole or /// in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex /// relates to a website, program, or other application that is directed in whole or in /// part, to children under age 13, you must obtain any required verifiable parental consent /// under COPPA. For information regarding the use of Amazon Lex in connection with websites, /// programs, or other applications that are directed or targeted, in whole or in part, /// to children under age 13, see the Amazon /// Lex FAQ. /// /// [AWSProperty(Required=true)] public bool ChildDirected { get { return this._childDirected.GetValueOrDefault(); } set { this._childDirected = value; } } // Check to see if ChildDirected property is set internal bool IsSetChildDirected() { return this._childDirected.HasValue; } } }