AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountPreferences.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace chatbot
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CHATBOT_API AccountPreferences();
36 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetUserAuthorizationRequired() const{ return m_userAuthorizationRequired; }
44 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
45 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
48
50
61 inline bool GetTrainingDataCollectionEnabled() const{ return m_trainingDataCollectionEnabled; }
62 inline bool TrainingDataCollectionEnabledHasBeenSet() const { return m_trainingDataCollectionEnabledHasBeenSet; }
63 inline void SetTrainingDataCollectionEnabled(bool value) { m_trainingDataCollectionEnabledHasBeenSet = true; m_trainingDataCollectionEnabled = value; }
66 private:
67
68 bool m_userAuthorizationRequired;
69 bool m_userAuthorizationRequiredHasBeenSet = false;
70
71 bool m_trainingDataCollectionEnabled;
72 bool m_trainingDataCollectionEnabledHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace chatbot
77} // namespace Aws
AWS_CHATBOT_API AccountPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
AccountPreferences & WithTrainingDataCollectionEnabled(bool value)
AWS_CHATBOT_API AccountPreferences(Aws::Utils::Json::JsonView jsonValue)
AccountPreferences & WithUserAuthorizationRequired(bool value)
Aws::Utils::Json::JsonValue JsonValue