AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SpanAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/AIAgentType.h>
11#include <aws/qconnect/model/AIPromptType.h>
12#include <aws/qconnect/model/SpanMessage.h>
13#include <aws/qconnect/model/SpanMessageValue.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QConnect {
25namespace Model {
26
34 public:
35 AWS_QCONNECT_API SpanAttributes() = default;
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetOperationName() const { return m_operationName; }
45 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
46 template <typename OperationNameT = Aws::String>
48 m_operationNameHasBeenSet = true;
49 m_operationName = std::forward<OperationNameT>(value);
50 }
51 template <typename OperationNameT = Aws::String>
53 SetOperationName(std::forward<OperationNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetProviderName() const { return m_providerName; }
63 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
64 template <typename ProviderNameT = Aws::String>
66 m_providerNameHasBeenSet = true;
67 m_providerName = std::forward<ProviderNameT>(value);
68 }
69 template <typename ProviderNameT = Aws::String>
71 SetProviderName(std::forward<ProviderNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetErrorType() const { return m_errorType; }
81 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
82 template <typename ErrorTypeT = Aws::String>
83 void SetErrorType(ErrorTypeT&& value) {
84 m_errorTypeHasBeenSet = true;
85 m_errorType = std::forward<ErrorTypeT>(value);
86 }
87 template <typename ErrorTypeT = Aws::String>
89 SetErrorType(std::forward<ErrorTypeT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetAgentId() const { return m_agentId; }
99 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
100 template <typename AgentIdT = Aws::String>
101 void SetAgentId(AgentIdT&& value) {
102 m_agentIdHasBeenSet = true;
103 m_agentId = std::forward<AgentIdT>(value);
104 }
105 template <typename AgentIdT = Aws::String>
107 SetAgentId(std::forward<AgentIdT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
117 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
118 template <typename InstanceArnT = Aws::String>
120 m_instanceArnHasBeenSet = true;
121 m_instanceArn = std::forward<InstanceArnT>(value);
122 }
123 template <typename InstanceArnT = Aws::String>
125 SetInstanceArn(std::forward<InstanceArnT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetContactId() const { return m_contactId; }
135 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
136 template <typename ContactIdT = Aws::String>
137 void SetContactId(ContactIdT&& value) {
138 m_contactIdHasBeenSet = true;
139 m_contactId = std::forward<ContactIdT>(value);
140 }
141 template <typename ContactIdT = Aws::String>
143 SetContactId(std::forward<ContactIdT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
153 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
154 template <typename InitialContactIdT = Aws::String>
156 m_initialContactIdHasBeenSet = true;
157 m_initialContactId = std::forward<InitialContactIdT>(value);
158 }
159 template <typename InitialContactIdT = Aws::String>
161 SetInitialContactId(std::forward<InitialContactIdT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetSessionName() const { return m_sessionName; }
171 inline bool SessionNameHasBeenSet() const { return m_sessionNameHasBeenSet; }
172 template <typename SessionNameT = Aws::String>
174 m_sessionNameHasBeenSet = true;
175 m_sessionName = std::forward<SessionNameT>(value);
176 }
177 template <typename SessionNameT = Aws::String>
179 SetSessionName(std::forward<SessionNameT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetAiAgentArn() const { return m_aiAgentArn; }
189 inline bool AiAgentArnHasBeenSet() const { return m_aiAgentArnHasBeenSet; }
190 template <typename AiAgentArnT = Aws::String>
192 m_aiAgentArnHasBeenSet = true;
193 m_aiAgentArn = std::forward<AiAgentArnT>(value);
194 }
195 template <typename AiAgentArnT = Aws::String>
197 SetAiAgentArn(std::forward<AiAgentArnT>(value));
198 return *this;
199 }
201
203
206 inline AIAgentType GetAiAgentType() const { return m_aiAgentType; }
207 inline bool AiAgentTypeHasBeenSet() const { return m_aiAgentTypeHasBeenSet; }
208 inline void SetAiAgentType(AIAgentType value) {
209 m_aiAgentTypeHasBeenSet = true;
210 m_aiAgentType = value;
211 }
213 SetAiAgentType(value);
214 return *this;
215 }
217
219
222 inline const Aws::String& GetAiAgentName() const { return m_aiAgentName; }
223 inline bool AiAgentNameHasBeenSet() const { return m_aiAgentNameHasBeenSet; }
224 template <typename AiAgentNameT = Aws::String>
226 m_aiAgentNameHasBeenSet = true;
227 m_aiAgentName = std::forward<AiAgentNameT>(value);
228 }
229 template <typename AiAgentNameT = Aws::String>
231 SetAiAgentName(std::forward<AiAgentNameT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetAiAgentId() const { return m_aiAgentId; }
241 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
242 template <typename AiAgentIdT = Aws::String>
243 void SetAiAgentId(AiAgentIdT&& value) {
244 m_aiAgentIdHasBeenSet = true;
245 m_aiAgentId = std::forward<AiAgentIdT>(value);
246 }
247 template <typename AiAgentIdT = Aws::String>
249 SetAiAgentId(std::forward<AiAgentIdT>(value));
250 return *this;
251 }
253
255
258 inline int GetAiAgentVersion() const { return m_aiAgentVersion; }
259 inline bool AiAgentVersionHasBeenSet() const { return m_aiAgentVersionHasBeenSet; }
260 inline void SetAiAgentVersion(int value) {
261 m_aiAgentVersionHasBeenSet = true;
262 m_aiAgentVersion = value;
263 }
265 SetAiAgentVersion(value);
266 return *this;
267 }
269
271
274 inline const Aws::String& GetAiAgentInvoker() const { return m_aiAgentInvoker; }
275 inline bool AiAgentInvokerHasBeenSet() const { return m_aiAgentInvokerHasBeenSet; }
276 template <typename AiAgentInvokerT = Aws::String>
278 m_aiAgentInvokerHasBeenSet = true;
279 m_aiAgentInvoker = std::forward<AiAgentInvokerT>(value);
280 }
281 template <typename AiAgentInvokerT = Aws::String>
283 SetAiAgentInvoker(std::forward<AiAgentInvokerT>(value));
284 return *this;
285 }
287
289
292 inline const Aws::String& GetAiAgentOrchestratorUseCase() const { return m_aiAgentOrchestratorUseCase; }
293 inline bool AiAgentOrchestratorUseCaseHasBeenSet() const { return m_aiAgentOrchestratorUseCaseHasBeenSet; }
294 template <typename AiAgentOrchestratorUseCaseT = Aws::String>
296 m_aiAgentOrchestratorUseCaseHasBeenSet = true;
297 m_aiAgentOrchestratorUseCase = std::forward<AiAgentOrchestratorUseCaseT>(value);
298 }
299 template <typename AiAgentOrchestratorUseCaseT = Aws::String>
301 SetAiAgentOrchestratorUseCase(std::forward<AiAgentOrchestratorUseCaseT>(value));
302 return *this;
303 }
305
307
310 inline const Aws::String& GetRequestModel() const { return m_requestModel; }
311 inline bool RequestModelHasBeenSet() const { return m_requestModelHasBeenSet; }
312 template <typename RequestModelT = Aws::String>
314 m_requestModelHasBeenSet = true;
315 m_requestModel = std::forward<RequestModelT>(value);
316 }
317 template <typename RequestModelT = Aws::String>
319 SetRequestModel(std::forward<RequestModelT>(value));
320 return *this;
321 }
323
325
328 inline int GetRequestMaxTokens() const { return m_requestMaxTokens; }
329 inline bool RequestMaxTokensHasBeenSet() const { return m_requestMaxTokensHasBeenSet; }
330 inline void SetRequestMaxTokens(int value) {
331 m_requestMaxTokensHasBeenSet = true;
332 m_requestMaxTokens = value;
333 }
335 SetRequestMaxTokens(value);
336 return *this;
337 }
339
341
344 inline double GetTemperature() const { return m_temperature; }
345 inline bool TemperatureHasBeenSet() const { return m_temperatureHasBeenSet; }
346 inline void SetTemperature(double value) {
347 m_temperatureHasBeenSet = true;
348 m_temperature = value;
349 }
350 inline SpanAttributes& WithTemperature(double value) {
351 SetTemperature(value);
352 return *this;
353 }
355
357
360 inline double GetTopP() const { return m_topP; }
361 inline bool TopPHasBeenSet() const { return m_topPHasBeenSet; }
362 inline void SetTopP(double value) {
363 m_topPHasBeenSet = true;
364 m_topP = value;
365 }
366 inline SpanAttributes& WithTopP(double value) {
367 SetTopP(value);
368 return *this;
369 }
371
373
376 inline const Aws::String& GetResponseModel() const { return m_responseModel; }
377 inline bool ResponseModelHasBeenSet() const { return m_responseModelHasBeenSet; }
378 template <typename ResponseModelT = Aws::String>
380 m_responseModelHasBeenSet = true;
381 m_responseModel = std::forward<ResponseModelT>(value);
382 }
383 template <typename ResponseModelT = Aws::String>
385 SetResponseModel(std::forward<ResponseModelT>(value));
386 return *this;
387 }
389
391
394 inline const Aws::Vector<Aws::String>& GetResponseFinishReasons() const { return m_responseFinishReasons; }
395 inline bool ResponseFinishReasonsHasBeenSet() const { return m_responseFinishReasonsHasBeenSet; }
396 template <typename ResponseFinishReasonsT = Aws::Vector<Aws::String>>
398 m_responseFinishReasonsHasBeenSet = true;
399 m_responseFinishReasons = std::forward<ResponseFinishReasonsT>(value);
400 }
401 template <typename ResponseFinishReasonsT = Aws::Vector<Aws::String>>
403 SetResponseFinishReasons(std::forward<ResponseFinishReasonsT>(value));
404 return *this;
405 }
406 template <typename ResponseFinishReasonsT = Aws::String>
408 m_responseFinishReasonsHasBeenSet = true;
409 m_responseFinishReasons.emplace_back(std::forward<ResponseFinishReasonsT>(value));
410 return *this;
411 }
413
415
418 inline int GetUsageInputTokens() const { return m_usageInputTokens; }
419 inline bool UsageInputTokensHasBeenSet() const { return m_usageInputTokensHasBeenSet; }
420 inline void SetUsageInputTokens(int value) {
421 m_usageInputTokensHasBeenSet = true;
422 m_usageInputTokens = value;
423 }
425 SetUsageInputTokens(value);
426 return *this;
427 }
429
431
434 inline int GetUsageOutputTokens() const { return m_usageOutputTokens; }
435 inline bool UsageOutputTokensHasBeenSet() const { return m_usageOutputTokensHasBeenSet; }
436 inline void SetUsageOutputTokens(int value) {
437 m_usageOutputTokensHasBeenSet = true;
438 m_usageOutputTokens = value;
439 }
442 return *this;
443 }
445
447
450 inline int GetUsageTotalTokens() const { return m_usageTotalTokens; }
451 inline bool UsageTotalTokensHasBeenSet() const { return m_usageTotalTokensHasBeenSet; }
452 inline void SetUsageTotalTokens(int value) {
453 m_usageTotalTokensHasBeenSet = true;
454 m_usageTotalTokens = value;
455 }
457 SetUsageTotalTokens(value);
458 return *this;
459 }
461
463
466 inline int GetCacheReadInputTokens() const { return m_cacheReadInputTokens; }
467 inline bool CacheReadInputTokensHasBeenSet() const { return m_cacheReadInputTokensHasBeenSet; }
468 inline void SetCacheReadInputTokens(int value) {
469 m_cacheReadInputTokensHasBeenSet = true;
470 m_cacheReadInputTokens = value;
471 }
474 return *this;
475 }
477
479
482 inline int GetCacheWriteInputTokens() const { return m_cacheWriteInputTokens; }
483 inline bool CacheWriteInputTokensHasBeenSet() const { return m_cacheWriteInputTokensHasBeenSet; }
484 inline void SetCacheWriteInputTokens(int value) {
485 m_cacheWriteInputTokensHasBeenSet = true;
486 m_cacheWriteInputTokens = value;
487 }
490 return *this;
491 }
493
495
498 inline const Aws::Vector<SpanMessage>& GetInputMessages() const { return m_inputMessages; }
499 inline bool InputMessagesHasBeenSet() const { return m_inputMessagesHasBeenSet; }
500 template <typename InputMessagesT = Aws::Vector<SpanMessage>>
502 m_inputMessagesHasBeenSet = true;
503 m_inputMessages = std::forward<InputMessagesT>(value);
504 }
505 template <typename InputMessagesT = Aws::Vector<SpanMessage>>
507 SetInputMessages(std::forward<InputMessagesT>(value));
508 return *this;
509 }
510 template <typename InputMessagesT = SpanMessage>
512 m_inputMessagesHasBeenSet = true;
513 m_inputMessages.emplace_back(std::forward<InputMessagesT>(value));
514 return *this;
515 }
517
519
522 inline const Aws::Vector<SpanMessage>& GetOutputMessages() const { return m_outputMessages; }
523 inline bool OutputMessagesHasBeenSet() const { return m_outputMessagesHasBeenSet; }
524 template <typename OutputMessagesT = Aws::Vector<SpanMessage>>
526 m_outputMessagesHasBeenSet = true;
527 m_outputMessages = std::forward<OutputMessagesT>(value);
528 }
529 template <typename OutputMessagesT = Aws::Vector<SpanMessage>>
531 SetOutputMessages(std::forward<OutputMessagesT>(value));
532 return *this;
533 }
534 template <typename OutputMessagesT = SpanMessage>
536 m_outputMessagesHasBeenSet = true;
537 m_outputMessages.emplace_back(std::forward<OutputMessagesT>(value));
538 return *this;
539 }
541
543
546 inline const Aws::Vector<SpanMessageValue>& GetSystemInstructions() const { return m_systemInstructions; }
547 inline bool SystemInstructionsHasBeenSet() const { return m_systemInstructionsHasBeenSet; }
548 template <typename SystemInstructionsT = Aws::Vector<SpanMessageValue>>
550 m_systemInstructionsHasBeenSet = true;
551 m_systemInstructions = std::forward<SystemInstructionsT>(value);
552 }
553 template <typename SystemInstructionsT = Aws::Vector<SpanMessageValue>>
555 SetSystemInstructions(std::forward<SystemInstructionsT>(value));
556 return *this;
557 }
558 template <typename SystemInstructionsT = SpanMessageValue>
560 m_systemInstructionsHasBeenSet = true;
561 m_systemInstructions.emplace_back(std::forward<SystemInstructionsT>(value));
562 return *this;
563 }
565
567
570 inline const Aws::String& GetPromptArn() const { return m_promptArn; }
571 inline bool PromptArnHasBeenSet() const { return m_promptArnHasBeenSet; }
572 template <typename PromptArnT = Aws::String>
573 void SetPromptArn(PromptArnT&& value) {
574 m_promptArnHasBeenSet = true;
575 m_promptArn = std::forward<PromptArnT>(value);
576 }
577 template <typename PromptArnT = Aws::String>
579 SetPromptArn(std::forward<PromptArnT>(value));
580 return *this;
581 }
583
585
588 inline const Aws::String& GetPromptId() const { return m_promptId; }
589 inline bool PromptIdHasBeenSet() const { return m_promptIdHasBeenSet; }
590 template <typename PromptIdT = Aws::String>
591 void SetPromptId(PromptIdT&& value) {
592 m_promptIdHasBeenSet = true;
593 m_promptId = std::forward<PromptIdT>(value);
594 }
595 template <typename PromptIdT = Aws::String>
597 SetPromptId(std::forward<PromptIdT>(value));
598 return *this;
599 }
601
603
606 inline AIPromptType GetPromptType() const { return m_promptType; }
607 inline bool PromptTypeHasBeenSet() const { return m_promptTypeHasBeenSet; }
608 inline void SetPromptType(AIPromptType value) {
609 m_promptTypeHasBeenSet = true;
610 m_promptType = value;
611 }
613 SetPromptType(value);
614 return *this;
615 }
617
619
622 inline const Aws::String& GetPromptName() const { return m_promptName; }
623 inline bool PromptNameHasBeenSet() const { return m_promptNameHasBeenSet; }
624 template <typename PromptNameT = Aws::String>
626 m_promptNameHasBeenSet = true;
627 m_promptName = std::forward<PromptNameT>(value);
628 }
629 template <typename PromptNameT = Aws::String>
631 SetPromptName(std::forward<PromptNameT>(value));
632 return *this;
633 }
635
637
640 inline int GetPromptVersion() const { return m_promptVersion; }
641 inline bool PromptVersionHasBeenSet() const { return m_promptVersionHasBeenSet; }
642 inline void SetPromptVersion(int value) {
643 m_promptVersionHasBeenSet = true;
644 m_promptVersion = value;
645 }
647 SetPromptVersion(value);
648 return *this;
649 }
651 private:
652 Aws::String m_operationName;
653
654 Aws::String m_providerName;
655
656 Aws::String m_errorType;
657
658 Aws::String m_agentId;
659
660 Aws::String m_instanceArn;
661
662 Aws::String m_contactId;
663
664 Aws::String m_initialContactId;
665
666 Aws::String m_sessionName;
667
668 Aws::String m_aiAgentArn;
669
670 AIAgentType m_aiAgentType{AIAgentType::NOT_SET};
671
672 Aws::String m_aiAgentName;
673
674 Aws::String m_aiAgentId;
675
676 int m_aiAgentVersion{0};
677
678 Aws::String m_aiAgentInvoker;
679
680 Aws::String m_aiAgentOrchestratorUseCase;
681
682 Aws::String m_requestModel;
683
684 int m_requestMaxTokens{0};
685
686 double m_temperature{0.0};
687
688 double m_topP{0.0};
689
690 Aws::String m_responseModel;
691
692 Aws::Vector<Aws::String> m_responseFinishReasons;
693
694 int m_usageInputTokens{0};
695
696 int m_usageOutputTokens{0};
697
698 int m_usageTotalTokens{0};
699
700 int m_cacheReadInputTokens{0};
701
702 int m_cacheWriteInputTokens{0};
703
704 Aws::Vector<SpanMessage> m_inputMessages;
705
706 Aws::Vector<SpanMessage> m_outputMessages;
707
708 Aws::Vector<SpanMessageValue> m_systemInstructions;
709
710 Aws::String m_promptArn;
711
712 Aws::String m_promptId;
713
715
716 Aws::String m_promptName;
717
718 int m_promptVersion{0};
719 bool m_operationNameHasBeenSet = false;
720 bool m_providerNameHasBeenSet = false;
721 bool m_errorTypeHasBeenSet = false;
722 bool m_agentIdHasBeenSet = false;
723 bool m_instanceArnHasBeenSet = false;
724 bool m_contactIdHasBeenSet = false;
725 bool m_initialContactIdHasBeenSet = false;
726 bool m_sessionNameHasBeenSet = false;
727 bool m_aiAgentArnHasBeenSet = false;
728 bool m_aiAgentTypeHasBeenSet = false;
729 bool m_aiAgentNameHasBeenSet = false;
730 bool m_aiAgentIdHasBeenSet = false;
731 bool m_aiAgentVersionHasBeenSet = false;
732 bool m_aiAgentInvokerHasBeenSet = false;
733 bool m_aiAgentOrchestratorUseCaseHasBeenSet = false;
734 bool m_requestModelHasBeenSet = false;
735 bool m_requestMaxTokensHasBeenSet = false;
736 bool m_temperatureHasBeenSet = false;
737 bool m_topPHasBeenSet = false;
738 bool m_responseModelHasBeenSet = false;
739 bool m_responseFinishReasonsHasBeenSet = false;
740 bool m_usageInputTokensHasBeenSet = false;
741 bool m_usageOutputTokensHasBeenSet = false;
742 bool m_usageTotalTokensHasBeenSet = false;
743 bool m_cacheReadInputTokensHasBeenSet = false;
744 bool m_cacheWriteInputTokensHasBeenSet = false;
745 bool m_inputMessagesHasBeenSet = false;
746 bool m_outputMessagesHasBeenSet = false;
747 bool m_systemInstructionsHasBeenSet = false;
748 bool m_promptArnHasBeenSet = false;
749 bool m_promptIdHasBeenSet = false;
750 bool m_promptTypeHasBeenSet = false;
751 bool m_promptNameHasBeenSet = false;
752 bool m_promptVersionHasBeenSet = false;
753};
754
755} // namespace Model
756} // namespace QConnect
757} // namespace Aws
const Aws::String & GetAgentId() const
const Aws::Vector< SpanMessage > & GetOutputMessages() const
const Aws::String & GetSessionName() const
SpanAttributes & WithAgentId(AgentIdT &&value)
const Aws::String & GetErrorType() const
const Aws::Vector< Aws::String > & GetResponseFinishReasons() const
SpanAttributes & WithInitialContactId(InitialContactIdT &&value)
void SetPromptName(PromptNameT &&value)
void SetAiAgentType(AIAgentType value)
void SetAiAgentOrchestratorUseCase(AiAgentOrchestratorUseCaseT &&value)
SpanAttributes & WithResponseModel(ResponseModelT &&value)
SpanAttributes & WithRequestModel(RequestModelT &&value)
void SetInstanceArn(InstanceArnT &&value)
void SetContactId(ContactIdT &&value)
void SetPromptArn(PromptArnT &&value)
void SetProviderName(ProviderNameT &&value)
SpanAttributes & AddInputMessages(InputMessagesT &&value)
SpanAttributes & WithOperationName(OperationNameT &&value)
SpanAttributes & WithAiAgentType(AIAgentType value)
SpanAttributes & WithPromptArn(PromptArnT &&value)
SpanAttributes & WithSystemInstructions(SystemInstructionsT &&value)
SpanAttributes & WithTemperature(double value)
const Aws::Vector< SpanMessageValue > & GetSystemInstructions() const
SpanAttributes & WithContactId(ContactIdT &&value)
SpanAttributes & WithAiAgentOrchestratorUseCase(AiAgentOrchestratorUseCaseT &&value)
void SetInitialContactId(InitialContactIdT &&value)
SpanAttributes & WithResponseFinishReasons(ResponseFinishReasonsT &&value)
const Aws::String & GetAiAgentArn() const
SpanAttributes & WithAiAgentVersion(int value)
void SetAiAgentId(AiAgentIdT &&value)
SpanAttributes & WithAiAgentArn(AiAgentArnT &&value)
SpanAttributes & WithCacheReadInputTokens(int value)
SpanAttributes & WithPromptName(PromptNameT &&value)
SpanAttributes & WithCacheWriteInputTokens(int value)
SpanAttributes & WithRequestMaxTokens(int value)
SpanAttributes & WithPromptId(PromptIdT &&value)
const Aws::String & GetInitialContactId() const
const Aws::String & GetAiAgentId() const
SpanAttributes & WithTopP(double value)
void SetInputMessages(InputMessagesT &&value)
const Aws::String & GetProviderName() const
const Aws::String & GetAiAgentOrchestratorUseCase() const
SpanAttributes & WithSessionName(SessionNameT &&value)
const Aws::String & GetContactId() const
SpanAttributes & WithUsageInputTokens(int value)
SpanAttributes & AddOutputMessages(OutputMessagesT &&value)
SpanAttributes & AddResponseFinishReasons(ResponseFinishReasonsT &&value)
const Aws::String & GetAiAgentName() const
void SetPromptId(PromptIdT &&value)
void SetErrorType(ErrorTypeT &&value)
AWS_QCONNECT_API SpanAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRequestModel(RequestModelT &&value)
AWS_QCONNECT_API SpanAttributes()=default
SpanAttributes & WithUsageOutputTokens(int value)
void SetAiAgentInvoker(AiAgentInvokerT &&value)
const Aws::Vector< SpanMessage > & GetInputMessages() const
const Aws::String & GetResponseModel() const
void SetResponseFinishReasons(ResponseFinishReasonsT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSystemInstructions(SystemInstructionsT &&value)
void SetSessionName(SessionNameT &&value)
SpanAttributes & WithPromptVersion(int value)
void SetResponseModel(ResponseModelT &&value)
SpanAttributes & AddSystemInstructions(SystemInstructionsT &&value)
SpanAttributes & WithAiAgentId(AiAgentIdT &&value)
const Aws::String & GetRequestModel() const
void SetAiAgentArn(AiAgentArnT &&value)
SpanAttributes & WithInputMessages(InputMessagesT &&value)
SpanAttributes & WithInstanceArn(InstanceArnT &&value)
SpanAttributes & WithErrorType(ErrorTypeT &&value)
const Aws::String & GetOperationName() const
const Aws::String & GetPromptName() const
SpanAttributes & WithOutputMessages(OutputMessagesT &&value)
const Aws::String & GetPromptId() const
void SetOperationName(OperationNameT &&value)
const Aws::String & GetPromptArn() const
void SetOutputMessages(OutputMessagesT &&value)
SpanAttributes & WithProviderName(ProviderNameT &&value)
AWS_QCONNECT_API SpanAttributes(Aws::Utils::Json::JsonView jsonValue)
SpanAttributes & WithAiAgentName(AiAgentNameT &&value)
SpanAttributes & WithPromptType(AIPromptType value)
const Aws::String & GetInstanceArn() const
SpanAttributes & WithAiAgentInvoker(AiAgentInvokerT &&value)
const Aws::String & GetAiAgentInvoker() const
void SetAiAgentName(AiAgentNameT &&value)
void SetPromptType(AIPromptType value)
SpanAttributes & WithUsageTotalTokens(int value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue