/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace 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.

See * Also:

AWS * API Reference

*/ class DataPrivacy { public: AWS_LEXMODELSV2_API DataPrivacy(); AWS_LEXMODELSV2_API DataPrivacy(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API DataPrivacy& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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.

*/ inline bool GetChildDirected() const{ return m_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.

*/ inline bool ChildDirectedHasBeenSet() const { return m_childDirectedHasBeenSet; } /** *

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.

*/ inline void SetChildDirected(bool value) { m_childDirectedHasBeenSet = true; m_childDirected = value; } /** *

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.

*/ inline DataPrivacy& WithChildDirected(bool value) { SetChildDirected(value); return *this;} private: bool m_childDirected; bool m_childDirectedHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws