AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AssistantData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/AIAgentConfigurationData.h>
12#include <aws/qconnect/model/AIAgentType.h>
13#include <aws/qconnect/model/AssistantCapabilityConfiguration.h>
14#include <aws/qconnect/model/AssistantIntegrationConfiguration.h>
15#include <aws/qconnect/model/AssistantStatus.h>
16#include <aws/qconnect/model/AssistantType.h>
17#include <aws/qconnect/model/OrchestratorConfigurationEntry.h>
18#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QConnect {
30namespace Model {
31
38 public:
39 AWS_QCONNECT_API AssistantData() = default;
40 AWS_QCONNECT_API AssistantData(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
49 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
50 template <typename AssistantIdT = Aws::String>
51 void SetAssistantId(AssistantIdT&& value) {
52 m_assistantIdHasBeenSet = true;
53 m_assistantId = std::forward<AssistantIdT>(value);
54 }
55 template <typename AssistantIdT = Aws::String>
56 AssistantData& WithAssistantId(AssistantIdT&& value) {
57 SetAssistantId(std::forward<AssistantIdT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetAssistantArn() const { return m_assistantArn; }
67 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
68 template <typename AssistantArnT = Aws::String>
69 void SetAssistantArn(AssistantArnT&& value) {
70 m_assistantArnHasBeenSet = true;
71 m_assistantArn = std::forward<AssistantArnT>(value);
72 }
73 template <typename AssistantArnT = Aws::String>
74 AssistantData& WithAssistantArn(AssistantArnT&& value) {
75 SetAssistantArn(std::forward<AssistantArnT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetName() const { return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
92 AssistantData& WithName(NameT&& value) {
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
102 inline AssistantType GetType() const { return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(AssistantType value) {
105 m_typeHasBeenSet = true;
106 m_type = value;
107 }
109 SetType(value);
110 return *this;
111 }
113
115
118 inline AssistantStatus GetStatus() const { return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(AssistantStatus value) {
121 m_statusHasBeenSet = true;
122 m_status = value;
123 }
125 SetStatus(value);
126 return *this;
127 }
129
131
134 inline const Aws::String& GetDescription() const { return m_description; }
135 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
136 template <typename DescriptionT = Aws::String>
137 void SetDescription(DescriptionT&& value) {
138 m_descriptionHasBeenSet = true;
139 m_description = std::forward<DescriptionT>(value);
140 }
141 template <typename DescriptionT = Aws::String>
142 AssistantData& WithDescription(DescriptionT&& value) {
143 SetDescription(std::forward<DescriptionT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
153 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) {
156 m_tagsHasBeenSet = true;
157 m_tags = std::forward<TagsT>(value);
158 }
159 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 AssistantData& WithTags(TagsT&& value) {
161 SetTags(std::forward<TagsT>(value));
162 return *this;
163 }
164 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
165 AssistantData& AddTags(TagsKeyT&& key, TagsValueT&& value) {
166 m_tagsHasBeenSet = true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 return *this;
169 }
171
173
188 return m_serverSideEncryptionConfiguration;
189 }
190 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
191 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
192 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) {
193 m_serverSideEncryptionConfigurationHasBeenSet = true;
194 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
195 }
196 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
197 AssistantData& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) {
198 SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value));
199 return *this;
200 }
202
204
208 inline const AssistantIntegrationConfiguration& GetIntegrationConfiguration() const { return m_integrationConfiguration; }
209 inline bool IntegrationConfigurationHasBeenSet() const { return m_integrationConfigurationHasBeenSet; }
210 template <typename IntegrationConfigurationT = AssistantIntegrationConfiguration>
211 void SetIntegrationConfiguration(IntegrationConfigurationT&& value) {
212 m_integrationConfigurationHasBeenSet = true;
213 m_integrationConfiguration = std::forward<IntegrationConfigurationT>(value);
214 }
215 template <typename IntegrationConfigurationT = AssistantIntegrationConfiguration>
216 AssistantData& WithIntegrationConfiguration(IntegrationConfigurationT&& value) {
217 SetIntegrationConfiguration(std::forward<IntegrationConfigurationT>(value));
218 return *this;
219 }
221
223
227 inline const AssistantCapabilityConfiguration& GetCapabilityConfiguration() const { return m_capabilityConfiguration; }
228 inline bool CapabilityConfigurationHasBeenSet() const { return m_capabilityConfigurationHasBeenSet; }
229 template <typename CapabilityConfigurationT = AssistantCapabilityConfiguration>
230 void SetCapabilityConfiguration(CapabilityConfigurationT&& value) {
231 m_capabilityConfigurationHasBeenSet = true;
232 m_capabilityConfiguration = std::forward<CapabilityConfigurationT>(value);
233 }
234 template <typename CapabilityConfigurationT = AssistantCapabilityConfiguration>
235 AssistantData& WithCapabilityConfiguration(CapabilityConfigurationT&& value) {
236 SetCapabilityConfiguration(std::forward<CapabilityConfigurationT>(value));
237 return *this;
238 }
240
242
246 inline const Aws::Map<AIAgentType, AIAgentConfigurationData>& GetAiAgentConfiguration() const { return m_aiAgentConfiguration; }
247 inline bool AiAgentConfigurationHasBeenSet() const { return m_aiAgentConfigurationHasBeenSet; }
248 template <typename AiAgentConfigurationT = Aws::Map<AIAgentType, AIAgentConfigurationData>>
249 void SetAiAgentConfiguration(AiAgentConfigurationT&& value) {
250 m_aiAgentConfigurationHasBeenSet = true;
251 m_aiAgentConfiguration = std::forward<AiAgentConfigurationT>(value);
252 }
253 template <typename AiAgentConfigurationT = Aws::Map<AIAgentType, AIAgentConfigurationData>>
254 AssistantData& WithAiAgentConfiguration(AiAgentConfigurationT&& value) {
255 SetAiAgentConfiguration(std::forward<AiAgentConfigurationT>(value));
256 return *this;
257 }
259 m_aiAgentConfigurationHasBeenSet = true;
260 m_aiAgentConfiguration.emplace(key, value);
261 return *this;
262 }
264
266
270 return m_orchestratorConfigurationList;
271 }
272 inline bool OrchestratorConfigurationListHasBeenSet() const { return m_orchestratorConfigurationListHasBeenSet; }
273 template <typename OrchestratorConfigurationListT = Aws::Vector<OrchestratorConfigurationEntry>>
274 void SetOrchestratorConfigurationList(OrchestratorConfigurationListT&& value) {
275 m_orchestratorConfigurationListHasBeenSet = true;
276 m_orchestratorConfigurationList = std::forward<OrchestratorConfigurationListT>(value);
277 }
278 template <typename OrchestratorConfigurationListT = Aws::Vector<OrchestratorConfigurationEntry>>
279 AssistantData& WithOrchestratorConfigurationList(OrchestratorConfigurationListT&& value) {
280 SetOrchestratorConfigurationList(std::forward<OrchestratorConfigurationListT>(value));
281 return *this;
282 }
283 template <typename OrchestratorConfigurationListT = OrchestratorConfigurationEntry>
284 AssistantData& AddOrchestratorConfigurationList(OrchestratorConfigurationListT&& value) {
285 m_orchestratorConfigurationListHasBeenSet = true;
286 m_orchestratorConfigurationList.emplace_back(std::forward<OrchestratorConfigurationListT>(value));
287 return *this;
288 }
290 private:
291 Aws::String m_assistantId;
292
293 Aws::String m_assistantArn;
294
295 Aws::String m_name;
296
298
300
301 Aws::String m_description;
302
304
305 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
306
307 AssistantIntegrationConfiguration m_integrationConfiguration;
308
309 AssistantCapabilityConfiguration m_capabilityConfiguration;
310
312
313 Aws::Vector<OrchestratorConfigurationEntry> m_orchestratorConfigurationList;
314 bool m_assistantIdHasBeenSet = false;
315 bool m_assistantArnHasBeenSet = false;
316 bool m_nameHasBeenSet = false;
317 bool m_typeHasBeenSet = false;
318 bool m_statusHasBeenSet = false;
319 bool m_descriptionHasBeenSet = false;
320 bool m_tagsHasBeenSet = false;
321 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
322 bool m_integrationConfigurationHasBeenSet = false;
323 bool m_capabilityConfigurationHasBeenSet = false;
324 bool m_aiAgentConfigurationHasBeenSet = false;
325 bool m_orchestratorConfigurationListHasBeenSet = false;
326};
327
328} // namespace Model
329} // namespace QConnect
330} // namespace Aws
const Aws::String & GetDescription() const
AssistantData & WithAssistantId(AssistantIdT &&value)
void SetStatus(AssistantStatus value)
const Aws::Vector< OrchestratorConfigurationEntry > & GetOrchestratorConfigurationList() const
void SetIntegrationConfiguration(IntegrationConfigurationT &&value)
void SetType(AssistantType value)
AWS_QCONNECT_API AssistantData()=default
bool ServerSideEncryptionConfigurationHasBeenSet() const
AssistantData & AddOrchestratorConfigurationList(OrchestratorConfigurationListT &&value)
AssistantData & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
AssistantData & WithCapabilityConfiguration(CapabilityConfigurationT &&value)
AssistantData & WithIntegrationConfiguration(IntegrationConfigurationT &&value)
AssistantStatus GetStatus() const
AssistantData & WithAiAgentConfiguration(AiAgentConfigurationT &&value)
AssistantData & WithStatus(AssistantStatus value)
void SetAssistantArn(AssistantArnT &&value)
const Aws::String & GetAssistantArn() const
const Aws::Map< AIAgentType, AIAgentConfigurationData > & GetAiAgentConfiguration() const
void SetOrchestratorConfigurationList(OrchestratorConfigurationListT &&value)
void SetDescription(DescriptionT &&value)
AssistantData & WithOrchestratorConfigurationList(OrchestratorConfigurationListT &&value)
const AssistantCapabilityConfiguration & GetCapabilityConfiguration() const
AssistantData & AddAiAgentConfiguration(AIAgentType key, AIAgentConfigurationData value)
AssistantData & WithDescription(DescriptionT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAiAgentConfiguration(AiAgentConfigurationT &&value)
AssistantData & WithAssistantArn(AssistantArnT &&value)
AssistantData & WithTags(TagsT &&value)
const Aws::String & GetAssistantId() const
void SetAssistantId(AssistantIdT &&value)
AWS_QCONNECT_API AssistantData(Aws::Utils::Json::JsonView jsonValue)
AssistantData & AddTags(TagsKeyT &&key, TagsValueT &&value)
AssistantData & WithType(AssistantType value)
AssistantData & WithName(NameT &&value)
AWS_QCONNECT_API AssistantData & operator=(Aws::Utils::Json::JsonView jsonValue)
const AssistantIntegrationConfiguration & GetIntegrationConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
const Aws::String & GetName() const
void SetCapabilityConfiguration(CapabilityConfigurationT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue