AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
UpdateKnowledgeBaseRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/AccessControlConfiguration.h>
11#include <aws/quicksight/model/KnowledgeBaseConfiguration.h>
12#include <aws/quicksight/model/MediaExtractionConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API UpdateKnowledgeBaseRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateKnowledgeBase"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
40 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
41 template <typename AwsAccountIdT = Aws::String>
42 void SetAwsAccountId(AwsAccountIdT&& value) {
43 m_awsAccountIdHasBeenSet = true;
44 m_awsAccountId = std::forward<AwsAccountIdT>(value);
45 }
46 template <typename AwsAccountIdT = Aws::String>
48 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
58 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
59 template <typename KnowledgeBaseIdT = Aws::String>
60 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) {
61 m_knowledgeBaseIdHasBeenSet = true;
62 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
63 }
64 template <typename KnowledgeBaseIdT = Aws::String>
66 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
111 inline const KnowledgeBaseConfiguration& GetKnowledgeBaseConfiguration() const { return m_knowledgeBaseConfiguration; }
112 inline bool KnowledgeBaseConfigurationHasBeenSet() const { return m_knowledgeBaseConfigurationHasBeenSet; }
113 template <typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
114 void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) {
115 m_knowledgeBaseConfigurationHasBeenSet = true;
116 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
117 }
118 template <typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
119 UpdateKnowledgeBaseRequest& WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) {
120 SetKnowledgeBaseConfiguration(std::forward<KnowledgeBaseConfigurationT>(value));
121 return *this;
122 }
124
126
127 inline const MediaExtractionConfiguration& GetMediaExtractionConfiguration() const { return m_mediaExtractionConfiguration; }
128 inline bool MediaExtractionConfigurationHasBeenSet() const { return m_mediaExtractionConfigurationHasBeenSet; }
129 template <typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
130 void SetMediaExtractionConfiguration(MediaExtractionConfigurationT&& value) {
131 m_mediaExtractionConfigurationHasBeenSet = true;
132 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
133 }
134 template <typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
135 UpdateKnowledgeBaseRequest& WithMediaExtractionConfiguration(MediaExtractionConfigurationT&& value) {
136 SetMediaExtractionConfiguration(std::forward<MediaExtractionConfigurationT>(value));
137 return *this;
138 }
140
142
145 inline bool GetIsEmailNotificationOptedForIngestionFailures() const { return m_isEmailNotificationOptedForIngestionFailures; }
147 return m_isEmailNotificationOptedForIngestionFailuresHasBeenSet;
148 }
150 m_isEmailNotificationOptedForIngestionFailuresHasBeenSet = true;
151 m_isEmailNotificationOptedForIngestionFailures = value;
152 }
155 return *this;
156 }
158
160
164 inline const AccessControlConfiguration& GetAccessControlConfiguration() const { return m_accessControlConfiguration; }
165 inline bool AccessControlConfigurationHasBeenSet() const { return m_accessControlConfigurationHasBeenSet; }
166 template <typename AccessControlConfigurationT = AccessControlConfiguration>
167 void SetAccessControlConfiguration(AccessControlConfigurationT&& value) {
168 m_accessControlConfigurationHasBeenSet = true;
169 m_accessControlConfiguration = std::forward<AccessControlConfigurationT>(value);
170 }
171 template <typename AccessControlConfigurationT = AccessControlConfiguration>
172 UpdateKnowledgeBaseRequest& WithAccessControlConfiguration(AccessControlConfigurationT&& value) {
173 SetAccessControlConfiguration(std::forward<AccessControlConfigurationT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_awsAccountId;
179
180 Aws::String m_knowledgeBaseId;
181
182 Aws::String m_name;
183
184 Aws::String m_description;
185
186 KnowledgeBaseConfiguration m_knowledgeBaseConfiguration;
187
188 MediaExtractionConfiguration m_mediaExtractionConfiguration;
189
190 bool m_isEmailNotificationOptedForIngestionFailures{false};
191
192 AccessControlConfiguration m_accessControlConfiguration;
193 bool m_awsAccountIdHasBeenSet = false;
194 bool m_knowledgeBaseIdHasBeenSet = false;
195 bool m_nameHasBeenSet = false;
196 bool m_descriptionHasBeenSet = false;
197 bool m_knowledgeBaseConfigurationHasBeenSet = false;
198 bool m_mediaExtractionConfigurationHasBeenSet = false;
199 bool m_isEmailNotificationOptedForIngestionFailuresHasBeenSet = false;
200 bool m_accessControlConfigurationHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace QuickSight
205} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
AWS_QUICKSIGHT_API UpdateKnowledgeBaseRequest()=default
UpdateKnowledgeBaseRequest & WithAwsAccountId(AwsAccountIdT &&value)
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
const MediaExtractionConfiguration & GetMediaExtractionConfiguration() const
UpdateKnowledgeBaseRequest & WithIsEmailNotificationOptedForIngestionFailures(bool value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateKnowledgeBaseRequest & WithMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
UpdateKnowledgeBaseRequest & WithAccessControlConfiguration(AccessControlConfigurationT &&value)
UpdateKnowledgeBaseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetAccessControlConfiguration(AccessControlConfigurationT &&value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
UpdateKnowledgeBaseRequest & WithName(NameT &&value)
UpdateKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
const AccessControlConfiguration & GetAccessControlConfiguration() const
UpdateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String