AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AccountPreferences.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace chatbot {
17namespace Model {
18
26 public:
27 AWS_CHATBOT_API AccountPreferences() = default;
30 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetUserAuthorizationRequired() const { return m_userAuthorizationRequired; }
37 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
38 inline void SetUserAuthorizationRequired(bool value) {
39 m_userAuthorizationRequiredHasBeenSet = true;
40 m_userAuthorizationRequired = value;
41 }
44 return *this;
45 }
47
49
60 inline bool GetTrainingDataCollectionEnabled() const { return m_trainingDataCollectionEnabled; }
61 inline bool TrainingDataCollectionEnabledHasBeenSet() const { return m_trainingDataCollectionEnabledHasBeenSet; }
62 inline void SetTrainingDataCollectionEnabled(bool value) {
63 m_trainingDataCollectionEnabledHasBeenSet = true;
64 m_trainingDataCollectionEnabled = value;
65 }
68 return *this;
69 }
71 private:
72 bool m_userAuthorizationRequired{false};
73
74 bool m_trainingDataCollectionEnabled{false};
75 bool m_userAuthorizationRequiredHasBeenSet = false;
76 bool m_trainingDataCollectionEnabledHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace chatbot
81} // 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()=default
AWS_CHATBOT_API AccountPreferences(Aws::Utils::Json::JsonView jsonValue)
AccountPreferences & WithUserAuthorizationRequired(bool value)
Aws::Utils::Json::JsonValue JsonValue