AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAccountPreferencesRequest.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/ChatbotRequest.h>
9
10namespace Aws
11{
12namespace chatbot
13{
14namespace Model
15{
16
20 {
21 public:
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountPreferences"; }
29
30 AWS_CHATBOT_API Aws::String SerializePayload() const override;
31
32
34
37 inline bool GetUserAuthorizationRequired() const{ return m_userAuthorizationRequired; }
38 inline bool UserAuthorizationRequiredHasBeenSet() const { return m_userAuthorizationRequiredHasBeenSet; }
39 inline void SetUserAuthorizationRequired(bool value) { m_userAuthorizationRequiredHasBeenSet = true; m_userAuthorizationRequired = value; }
42
44
55 inline bool GetTrainingDataCollectionEnabled() const{ return m_trainingDataCollectionEnabled; }
56 inline bool TrainingDataCollectionEnabledHasBeenSet() const { return m_trainingDataCollectionEnabledHasBeenSet; }
57 inline void SetTrainingDataCollectionEnabled(bool value) { m_trainingDataCollectionEnabledHasBeenSet = true; m_trainingDataCollectionEnabled = value; }
60 private:
61
62 bool m_userAuthorizationRequired;
63 bool m_userAuthorizationRequiredHasBeenSet = false;
64
65 bool m_trainingDataCollectionEnabled;
66 bool m_trainingDataCollectionEnabledHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace chatbot
71} // namespace Aws
AWS_CHATBOT_API Aws::String SerializePayload() const override
UpdateAccountPreferencesRequest & WithUserAuthorizationRequired(bool value)
UpdateAccountPreferencesRequest & WithTrainingDataCollectionEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String