AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssistantData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/AssistantCapabilityConfiguration.h>
11#include <aws/qconnect/model/AssistantIntegrationConfiguration.h>
12#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
13#include <aws/qconnect/model/AssistantStatus.h>
14#include <aws/qconnect/model/AssistantType.h>
15#include <aws/qconnect/model/AIAgentType.h>
16#include <aws/qconnect/model/AIAgentConfigurationData.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QConnect
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_QCONNECT_API AssistantData();
43 AWS_QCONNECT_API AssistantData(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::Map<AIAgentType, AIAgentConfigurationData>& GetAiAgentConfiguration() const{ return m_aiAgentConfiguration; }
54 inline bool AiAgentConfigurationHasBeenSet() const { return m_aiAgentConfigurationHasBeenSet; }
55 inline void SetAiAgentConfiguration(const Aws::Map<AIAgentType, AIAgentConfigurationData>& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration = value; }
56 inline void SetAiAgentConfiguration(Aws::Map<AIAgentType, AIAgentConfigurationData>&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration = std::move(value); }
59 inline AssistantData& AddAiAgentConfiguration(const AIAgentType& key, const AIAgentConfigurationData& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(key, value); return *this; }
60 inline AssistantData& AddAiAgentConfiguration(AIAgentType&& key, const AIAgentConfigurationData& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(std::move(key), value); return *this; }
61 inline AssistantData& AddAiAgentConfiguration(const AIAgentType& key, AIAgentConfigurationData&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(key, std::move(value)); return *this; }
62 inline AssistantData& AddAiAgentConfiguration(AIAgentType&& key, AIAgentConfigurationData&& value) { m_aiAgentConfigurationHasBeenSet = true; m_aiAgentConfiguration.emplace(std::move(key), std::move(value)); return *this; }
64
66
69 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
70 inline bool AssistantArnHasBeenSet() const { return m_assistantArnHasBeenSet; }
71 inline void SetAssistantArn(const Aws::String& value) { m_assistantArnHasBeenSet = true; m_assistantArn = value; }
72 inline void SetAssistantArn(Aws::String&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::move(value); }
73 inline void SetAssistantArn(const char* value) { m_assistantArnHasBeenSet = true; m_assistantArn.assign(value); }
74 inline AssistantData& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
75 inline AssistantData& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
76 inline AssistantData& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
78
80
83 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
84 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
85 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
86 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
87 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
88 inline AssistantData& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
89 inline AssistantData& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
90 inline AssistantData& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
92
94
98 inline const AssistantCapabilityConfiguration& GetCapabilityConfiguration() const{ return m_capabilityConfiguration; }
99 inline bool CapabilityConfigurationHasBeenSet() const { return m_capabilityConfigurationHasBeenSet; }
100 inline void SetCapabilityConfiguration(const AssistantCapabilityConfiguration& value) { m_capabilityConfigurationHasBeenSet = true; m_capabilityConfiguration = value; }
101 inline void SetCapabilityConfiguration(AssistantCapabilityConfiguration&& value) { m_capabilityConfigurationHasBeenSet = true; m_capabilityConfiguration = std::move(value); }
105
107
110 inline const Aws::String& GetDescription() const{ return m_description; }
111 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
112 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
113 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
114 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
115 inline AssistantData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
116 inline AssistantData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
117 inline AssistantData& WithDescription(const char* value) { SetDescription(value); return *this;}
119
121
125 inline const AssistantIntegrationConfiguration& GetIntegrationConfiguration() const{ return m_integrationConfiguration; }
126 inline bool IntegrationConfigurationHasBeenSet() const { return m_integrationConfigurationHasBeenSet; }
127 inline void SetIntegrationConfiguration(const AssistantIntegrationConfiguration& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = value; }
128 inline void SetIntegrationConfiguration(AssistantIntegrationConfiguration&& value) { m_integrationConfigurationHasBeenSet = true; m_integrationConfiguration = std::move(value); }
132
134
137 inline const Aws::String& GetName() const{ return m_name; }
138 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
139 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
140 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
141 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
142 inline AssistantData& WithName(const Aws::String& value) { SetName(value); return *this;}
143 inline AssistantData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
144 inline AssistantData& WithName(const char* value) { SetName(value); return *this;}
146
148
162 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
163 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
164 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
165 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
169
171
174 inline const AssistantStatus& GetStatus() const{ return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(const AssistantStatus& value) { m_statusHasBeenSet = true; m_status = value; }
177 inline void SetStatus(AssistantStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
178 inline AssistantData& WithStatus(const AssistantStatus& value) { SetStatus(value); return *this;}
179 inline AssistantData& WithStatus(AssistantStatus&& value) { SetStatus(std::move(value)); return *this;}
181
183
186 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
187 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
188 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
189 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
190 inline AssistantData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
191 inline AssistantData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
192 inline AssistantData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
193 inline AssistantData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
194 inline AssistantData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
195 inline AssistantData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
196 inline AssistantData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
197 inline AssistantData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
198 inline AssistantData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
200
202
205 inline const AssistantType& GetType() const{ return m_type; }
206 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
207 inline void SetType(const AssistantType& value) { m_typeHasBeenSet = true; m_type = value; }
208 inline void SetType(AssistantType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
209 inline AssistantData& WithType(const AssistantType& value) { SetType(value); return *this;}
210 inline AssistantData& WithType(AssistantType&& value) { SetType(std::move(value)); return *this;}
212 private:
213
215 bool m_aiAgentConfigurationHasBeenSet = false;
216
217 Aws::String m_assistantArn;
218 bool m_assistantArnHasBeenSet = false;
219
220 Aws::String m_assistantId;
221 bool m_assistantIdHasBeenSet = false;
222
223 AssistantCapabilityConfiguration m_capabilityConfiguration;
224 bool m_capabilityConfigurationHasBeenSet = false;
225
226 Aws::String m_description;
227 bool m_descriptionHasBeenSet = false;
228
229 AssistantIntegrationConfiguration m_integrationConfiguration;
230 bool m_integrationConfigurationHasBeenSet = false;
231
232 Aws::String m_name;
233 bool m_nameHasBeenSet = false;
234
235 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
236 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
237
238 AssistantStatus m_status;
239 bool m_statusHasBeenSet = false;
240
242 bool m_tagsHasBeenSet = false;
243
244 AssistantType m_type;
245 bool m_typeHasBeenSet = false;
246 };
247
248} // namespace Model
249} // namespace QConnect
250} // namespace Aws
const Aws::String & GetDescription() const
AssistantData & WithAiAgentConfiguration(Aws::Map< AIAgentType, AIAgentConfigurationData > &&value)
AssistantData & WithAssistantArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
AssistantData & WithCapabilityConfiguration(AssistantCapabilityConfiguration &&value)
const AssistantStatus & GetStatus() const
AssistantData & WithAssistantId(const char *value)
void SetDescription(const char *value)
AssistantData & WithType(const AssistantType &value)
AssistantData & WithIntegrationConfiguration(AssistantIntegrationConfiguration &&value)
void SetCapabilityConfiguration(AssistantCapabilityConfiguration &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetIntegrationConfiguration(const AssistantIntegrationConfiguration &value)
void SetType(AssistantType &&value)
AssistantData & AddTags(const char *key, const char *value)
AssistantData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const AssistantType & GetType() const
AssistantData & AddAiAgentConfiguration(AIAgentType &&key, const AIAgentConfigurationData &value)
void SetName(Aws::String &&value)
AssistantData & WithName(Aws::String &&value)
void SetAiAgentConfiguration(const Aws::Map< AIAgentType, AIAgentConfigurationData > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStatus(AssistantStatus &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AssistantData & WithAssistantId(Aws::String &&value)
const Aws::String & GetAssistantArn() const
AssistantData & AddTags(const char *key, Aws::String &&value)
void SetAssistantId(Aws::String &&value)
const Aws::Map< AIAgentType, AIAgentConfigurationData > & GetAiAgentConfiguration() const
AssistantData & AddTags(const Aws::String &key, const Aws::String &value)
AssistantData & WithAssistantArn(const Aws::String &value)
void SetStatus(const AssistantStatus &value)
const AssistantCapabilityConfiguration & GetCapabilityConfiguration() const
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
AssistantData & WithStatus(AssistantStatus &&value)
AssistantData & WithStatus(const AssistantStatus &value)
void SetIntegrationConfiguration(AssistantIntegrationConfiguration &&value)
AssistantData & WithAiAgentConfiguration(const Aws::Map< AIAgentType, AIAgentConfigurationData > &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssistantArn(Aws::String &&value)
AssistantData & WithName(const char *value)
AssistantData & WithAssistantId(const Aws::String &value)
void SetType(const AssistantType &value)
void SetAssistantId(const char *value)
AssistantData & WithCapabilityConfiguration(const AssistantCapabilityConfiguration &value)
AssistantData & AddTags(const Aws::String &key, Aws::String &&value)
AssistantData & AddTags(Aws::String &&key, const char *value)
void SetAssistantArn(const Aws::String &value)
AssistantData & WithDescription(const char *value)
const Aws::String & GetAssistantId() const
AssistantData & WithDescription(Aws::String &&value)
AssistantData & AddTags(Aws::String &&key, Aws::String &&value)
AssistantData & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
void SetAssistantArn(const char *value)
AWS_QCONNECT_API AssistantData(Aws::Utils::Json::JsonView jsonValue)
AssistantData & WithType(AssistantType &&value)
void SetName(const Aws::String &value)
AssistantData & WithDescription(const Aws::String &value)
AssistantData & AddAiAgentConfiguration(const AIAgentType &key, AIAgentConfigurationData &&value)
AssistantData & WithIntegrationConfiguration(const AssistantIntegrationConfiguration &value)
AssistantData & AddAiAgentConfiguration(AIAgentType &&key, AIAgentConfigurationData &&value)
AssistantData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AssistantData & WithName(const Aws::String &value)
AssistantData & AddAiAgentConfiguration(const AIAgentType &key, const AIAgentConfigurationData &value)
void SetName(const char *value)
AssistantData & AddTags(Aws::String &&key, const Aws::String &value)
AssistantData & WithAssistantArn(const char *value)
void SetAiAgentConfiguration(Aws::Map< AIAgentType, AIAgentConfigurationData > &&value)
void SetAssistantId(const Aws::String &value)
AWS_QCONNECT_API AssistantData & operator=(Aws::Utils::Json::JsonView jsonValue)
const AssistantIntegrationConfiguration & GetIntegrationConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AssistantData & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetDescription(const Aws::String &value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
const Aws::String & GetName() const
void SetCapabilityConfiguration(const AssistantCapabilityConfiguration &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
Aws::Utils::Json::JsonValue JsonValue