AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DataPrivacy.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LexModelsV2 {
17namespace Model {
18
28 public:
29 AWS_LEXMODELSV2_API DataPrivacy() = default;
30 AWS_LEXMODELSV2_API DataPrivacy(Aws::Utils::Json::JsonView jsonValue);
31 AWS_LEXMODELSV2_API DataPrivacy& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
60 inline bool GetChildDirected() const { return m_childDirected; }
61 inline bool ChildDirectedHasBeenSet() const { return m_childDirectedHasBeenSet; }
62 inline void SetChildDirected(bool value) {
63 m_childDirectedHasBeenSet = true;
64 m_childDirected = value;
65 }
66 inline DataPrivacy& WithChildDirected(bool value) {
67 SetChildDirected(value);
68 return *this;
69 }
71 private:
72 bool m_childDirected{false};
73 bool m_childDirectedHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
AWS_LEXMODELSV2_API DataPrivacy & operator=(Aws::Utils::Json::JsonView jsonValue)
DataPrivacy & WithChildDirected(bool value)
Definition DataPrivacy.h:66
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API DataPrivacy()=default
AWS_LEXMODELSV2_API DataPrivacy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue