AWS SDK for C++

AWS SDK for C++ Version 1.11.910

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/InteractionMode.h>
13#include <aws/qconnect/model/ReturnReason.h>
14#include <aws/qconnect/model/SpanGuardrailAssessment.h>
15#include <aws/qconnect/model/SpanMessage.h>
16#include <aws/qconnect/model/SpanMessageValue.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QConnect {
28namespace Model {
29
37 public:
38 AWS_QCONNECT_API SpanAttributes() = default;
41 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::String& GetOperationName() const { return m_operationName; }
48 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
49 template <typename OperationNameT = Aws::String>
51 m_operationNameHasBeenSet = true;
52 m_operationName = std::forward<OperationNameT>(value);
53 }
54 template <typename OperationNameT = Aws::String>
56 SetOperationName(std::forward<OperationNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetProviderName() const { return m_providerName; }
66 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
67 template <typename ProviderNameT = Aws::String>
69 m_providerNameHasBeenSet = true;
70 m_providerName = std::forward<ProviderNameT>(value);
71 }
72 template <typename ProviderNameT = Aws::String>
74 SetProviderName(std::forward<ProviderNameT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetErrorType() const { return m_errorType; }
84 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
85 template <typename ErrorTypeT = Aws::String>
86 void SetErrorType(ErrorTypeT&& value) {
87 m_errorTypeHasBeenSet = true;
88 m_errorType = std::forward<ErrorTypeT>(value);
89 }
90 template <typename ErrorTypeT = Aws::String>
92 SetErrorType(std::forward<ErrorTypeT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetAgentId() const { return m_agentId; }
102 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
103 template <typename AgentIdT = Aws::String>
104 void SetAgentId(AgentIdT&& value) {
105 m_agentIdHasBeenSet = true;
106 m_agentId = std::forward<AgentIdT>(value);
107 }
108 template <typename AgentIdT = Aws::String>
110 SetAgentId(std::forward<AgentIdT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
120 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
121 template <typename InstanceArnT = Aws::String>
123 m_instanceArnHasBeenSet = true;
124 m_instanceArn = std::forward<InstanceArnT>(value);
125 }
126 template <typename InstanceArnT = Aws::String>
128 SetInstanceArn(std::forward<InstanceArnT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetContactId() const { return m_contactId; }
138 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
139 template <typename ContactIdT = Aws::String>
140 void SetContactId(ContactIdT&& value) {
141 m_contactIdHasBeenSet = true;
142 m_contactId = std::forward<ContactIdT>(value);
143 }
144 template <typename ContactIdT = Aws::String>
146 SetContactId(std::forward<ContactIdT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
156 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
157 template <typename InitialContactIdT = Aws::String>
159 m_initialContactIdHasBeenSet = true;
160 m_initialContactId = std::forward<InitialContactIdT>(value);
161 }
162 template <typename InitialContactIdT = Aws::String>
164 SetInitialContactId(std::forward<InitialContactIdT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetSessionName() const { return m_sessionName; }
174 inline bool SessionNameHasBeenSet() const { return m_sessionNameHasBeenSet; }
175 template <typename SessionNameT = Aws::String>
177 m_sessionNameHasBeenSet = true;
178 m_sessionName = std::forward<SessionNameT>(value);
179 }
180 template <typename SessionNameT = Aws::String>
182 SetSessionName(std::forward<SessionNameT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetAiAgentArn() const { return m_aiAgentArn; }
192 inline bool AiAgentArnHasBeenSet() const { return m_aiAgentArnHasBeenSet; }
193 template <typename AiAgentArnT = Aws::String>
195 m_aiAgentArnHasBeenSet = true;
196 m_aiAgentArn = std::forward<AiAgentArnT>(value);
197 }
198 template <typename AiAgentArnT = Aws::String>
200 SetAiAgentArn(std::forward<AiAgentArnT>(value));
201 return *this;
202 }
204
206
209 inline AIAgentType GetAiAgentType() const { return m_aiAgentType; }
210 inline bool AiAgentTypeHasBeenSet() const { return m_aiAgentTypeHasBeenSet; }
211 inline void SetAiAgentType(AIAgentType value) {
212 m_aiAgentTypeHasBeenSet = true;
213 m_aiAgentType = value;
214 }
216 SetAiAgentType(value);
217 return *this;
218 }
220
222
225 inline const Aws::String& GetAiAgentName() const { return m_aiAgentName; }
226 inline bool AiAgentNameHasBeenSet() const { return m_aiAgentNameHasBeenSet; }
227 template <typename AiAgentNameT = Aws::String>
229 m_aiAgentNameHasBeenSet = true;
230 m_aiAgentName = std::forward<AiAgentNameT>(value);
231 }
232 template <typename AiAgentNameT = Aws::String>
234 SetAiAgentName(std::forward<AiAgentNameT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::String& GetAiAgentId() const { return m_aiAgentId; }
244 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
245 template <typename AiAgentIdT = Aws::String>
246 void SetAiAgentId(AiAgentIdT&& value) {
247 m_aiAgentIdHasBeenSet = true;
248 m_aiAgentId = std::forward<AiAgentIdT>(value);
249 }
250 template <typename AiAgentIdT = Aws::String>
252 SetAiAgentId(std::forward<AiAgentIdT>(value));
253 return *this;
254 }
256
258
261 inline int GetAiAgentVersion() const { return m_aiAgentVersion; }
262 inline bool AiAgentVersionHasBeenSet() const { return m_aiAgentVersionHasBeenSet; }
263 inline void SetAiAgentVersion(int value) {
264 m_aiAgentVersionHasBeenSet = true;
265 m_aiAgentVersion = value;
266 }
268 SetAiAgentVersion(value);
269 return *this;
270 }
272
274
277 inline const Aws::String& GetAiAgentInvoker() const { return m_aiAgentInvoker; }
278 inline bool AiAgentInvokerHasBeenSet() const { return m_aiAgentInvokerHasBeenSet; }
279 template <typename AiAgentInvokerT = Aws::String>
281 m_aiAgentInvokerHasBeenSet = true;
282 m_aiAgentInvoker = std::forward<AiAgentInvokerT>(value);
283 }
284 template <typename AiAgentInvokerT = Aws::String>
286 SetAiAgentInvoker(std::forward<AiAgentInvokerT>(value));
287 return *this;
288 }
290
292
295 inline const Aws::String& GetAiAgentOrchestratorUseCase() const { return m_aiAgentOrchestratorUseCase; }
296 inline bool AiAgentOrchestratorUseCaseHasBeenSet() const { return m_aiAgentOrchestratorUseCaseHasBeenSet; }
297 template <typename AiAgentOrchestratorUseCaseT = Aws::String>
299 m_aiAgentOrchestratorUseCaseHasBeenSet = true;
300 m_aiAgentOrchestratorUseCase = std::forward<AiAgentOrchestratorUseCaseT>(value);
301 }
302 template <typename AiAgentOrchestratorUseCaseT = Aws::String>
304 SetAiAgentOrchestratorUseCase(std::forward<AiAgentOrchestratorUseCaseT>(value));
305 return *this;
306 }
308
310
314 inline InteractionMode GetInteractionMode() const { return m_interactionMode; }
315 inline bool InteractionModeHasBeenSet() const { return m_interactionModeHasBeenSet; }
317 m_interactionModeHasBeenSet = true;
318 m_interactionMode = value;
319 }
321 SetInteractionMode(value);
322 return *this;
323 }
325
327
332 inline const Aws::String& GetTargetAgentId() const { return m_targetAgentId; }
333 inline bool TargetAgentIdHasBeenSet() const { return m_targetAgentIdHasBeenSet; }
334 template <typename TargetAgentIdT = Aws::String>
336 m_targetAgentIdHasBeenSet = true;
337 m_targetAgentId = std::forward<TargetAgentIdT>(value);
338 }
339 template <typename TargetAgentIdT = Aws::String>
341 SetTargetAgentId(std::forward<TargetAgentIdT>(value));
342 return *this;
343 }
345
347
351 inline ReturnReason GetReturnReason() const { return m_returnReason; }
352 inline bool ReturnReasonHasBeenSet() const { return m_returnReasonHasBeenSet; }
353 inline void SetReturnReason(ReturnReason value) {
354 m_returnReasonHasBeenSet = true;
355 m_returnReason = value;
356 }
358 SetReturnReason(value);
359 return *this;
360 }
362
364
367 inline const Aws::String& GetRequestModel() const { return m_requestModel; }
368 inline bool RequestModelHasBeenSet() const { return m_requestModelHasBeenSet; }
369 template <typename RequestModelT = Aws::String>
371 m_requestModelHasBeenSet = true;
372 m_requestModel = std::forward<RequestModelT>(value);
373 }
374 template <typename RequestModelT = Aws::String>
376 SetRequestModel(std::forward<RequestModelT>(value));
377 return *this;
378 }
380
382
385 inline int GetRequestMaxTokens() const { return m_requestMaxTokens; }
386 inline bool RequestMaxTokensHasBeenSet() const { return m_requestMaxTokensHasBeenSet; }
387 inline void SetRequestMaxTokens(int value) {
388 m_requestMaxTokensHasBeenSet = true;
389 m_requestMaxTokens = value;
390 }
392 SetRequestMaxTokens(value);
393 return *this;
394 }
396
398
401 inline double GetTemperature() const { return m_temperature; }
402 inline bool TemperatureHasBeenSet() const { return m_temperatureHasBeenSet; }
403 inline void SetTemperature(double value) {
404 m_temperatureHasBeenSet = true;
405 m_temperature = value;
406 }
407 inline SpanAttributes& WithTemperature(double value) {
408 SetTemperature(value);
409 return *this;
410 }
412
414
417 inline double GetTopP() const { return m_topP; }
418 inline bool TopPHasBeenSet() const { return m_topPHasBeenSet; }
419 inline void SetTopP(double value) {
420 m_topPHasBeenSet = true;
421 m_topP = value;
422 }
423 inline SpanAttributes& WithTopP(double value) {
424 SetTopP(value);
425 return *this;
426 }
428
430
433 inline const Aws::String& GetResponseModel() const { return m_responseModel; }
434 inline bool ResponseModelHasBeenSet() const { return m_responseModelHasBeenSet; }
435 template <typename ResponseModelT = Aws::String>
437 m_responseModelHasBeenSet = true;
438 m_responseModel = std::forward<ResponseModelT>(value);
439 }
440 template <typename ResponseModelT = Aws::String>
442 SetResponseModel(std::forward<ResponseModelT>(value));
443 return *this;
444 }
446
448
451 inline const Aws::Vector<Aws::String>& GetResponseFinishReasons() const { return m_responseFinishReasons; }
452 inline bool ResponseFinishReasonsHasBeenSet() const { return m_responseFinishReasonsHasBeenSet; }
453 template <typename ResponseFinishReasonsT = Aws::Vector<Aws::String>>
455 m_responseFinishReasonsHasBeenSet = true;
456 m_responseFinishReasons = std::forward<ResponseFinishReasonsT>(value);
457 }
458 template <typename ResponseFinishReasonsT = Aws::Vector<Aws::String>>
460 SetResponseFinishReasons(std::forward<ResponseFinishReasonsT>(value));
461 return *this;
462 }
463 template <typename ResponseFinishReasonsT = Aws::String>
465 m_responseFinishReasonsHasBeenSet = true;
466 m_responseFinishReasons.emplace_back(std::forward<ResponseFinishReasonsT>(value));
467 return *this;
468 }
470
472
475 inline int GetUsageInputTokens() const { return m_usageInputTokens; }
476 inline bool UsageInputTokensHasBeenSet() const { return m_usageInputTokensHasBeenSet; }
477 inline void SetUsageInputTokens(int value) {
478 m_usageInputTokensHasBeenSet = true;
479 m_usageInputTokens = value;
480 }
482 SetUsageInputTokens(value);
483 return *this;
484 }
486
488
491 inline int GetUsageOutputTokens() const { return m_usageOutputTokens; }
492 inline bool UsageOutputTokensHasBeenSet() const { return m_usageOutputTokensHasBeenSet; }
493 inline void SetUsageOutputTokens(int value) {
494 m_usageOutputTokensHasBeenSet = true;
495 m_usageOutputTokens = value;
496 }
499 return *this;
500 }
502
504
507 inline int GetUsageTotalTokens() const { return m_usageTotalTokens; }
508 inline bool UsageTotalTokensHasBeenSet() const { return m_usageTotalTokensHasBeenSet; }
509 inline void SetUsageTotalTokens(int value) {
510 m_usageTotalTokensHasBeenSet = true;
511 m_usageTotalTokens = value;
512 }
514 SetUsageTotalTokens(value);
515 return *this;
516 }
518
520
523 inline int GetCacheReadInputTokens() const { return m_cacheReadInputTokens; }
524 inline bool CacheReadInputTokensHasBeenSet() const { return m_cacheReadInputTokensHasBeenSet; }
525 inline void SetCacheReadInputTokens(int value) {
526 m_cacheReadInputTokensHasBeenSet = true;
527 m_cacheReadInputTokens = value;
528 }
531 return *this;
532 }
534
536
539 inline int GetCacheWriteInputTokens() const { return m_cacheWriteInputTokens; }
540 inline bool CacheWriteInputTokensHasBeenSet() const { return m_cacheWriteInputTokensHasBeenSet; }
541 inline void SetCacheWriteInputTokens(int value) {
542 m_cacheWriteInputTokensHasBeenSet = true;
543 m_cacheWriteInputTokens = value;
544 }
547 return *this;
548 }
550
552
555 inline const Aws::Vector<SpanMessage>& GetInputMessages() const { return m_inputMessages; }
556 inline bool InputMessagesHasBeenSet() const { return m_inputMessagesHasBeenSet; }
557 template <typename InputMessagesT = Aws::Vector<SpanMessage>>
559 m_inputMessagesHasBeenSet = true;
560 m_inputMessages = std::forward<InputMessagesT>(value);
561 }
562 template <typename InputMessagesT = Aws::Vector<SpanMessage>>
564 SetInputMessages(std::forward<InputMessagesT>(value));
565 return *this;
566 }
567 template <typename InputMessagesT = SpanMessage>
569 m_inputMessagesHasBeenSet = true;
570 m_inputMessages.emplace_back(std::forward<InputMessagesT>(value));
571 return *this;
572 }
574
576
579 inline const Aws::Vector<SpanMessage>& GetOutputMessages() const { return m_outputMessages; }
580 inline bool OutputMessagesHasBeenSet() const { return m_outputMessagesHasBeenSet; }
581 template <typename OutputMessagesT = Aws::Vector<SpanMessage>>
583 m_outputMessagesHasBeenSet = true;
584 m_outputMessages = std::forward<OutputMessagesT>(value);
585 }
586 template <typename OutputMessagesT = Aws::Vector<SpanMessage>>
588 SetOutputMessages(std::forward<OutputMessagesT>(value));
589 return *this;
590 }
591 template <typename OutputMessagesT = SpanMessage>
593 m_outputMessagesHasBeenSet = true;
594 m_outputMessages.emplace_back(std::forward<OutputMessagesT>(value));
595 return *this;
596 }
598
600
603 inline const Aws::Vector<SpanMessageValue>& GetSystemInstructions() const { return m_systemInstructions; }
604 inline bool SystemInstructionsHasBeenSet() const { return m_systemInstructionsHasBeenSet; }
605 template <typename SystemInstructionsT = Aws::Vector<SpanMessageValue>>
607 m_systemInstructionsHasBeenSet = true;
608 m_systemInstructions = std::forward<SystemInstructionsT>(value);
609 }
610 template <typename SystemInstructionsT = Aws::Vector<SpanMessageValue>>
612 SetSystemInstructions(std::forward<SystemInstructionsT>(value));
613 return *this;
614 }
615 template <typename SystemInstructionsT = SpanMessageValue>
617 m_systemInstructionsHasBeenSet = true;
618 m_systemInstructions.emplace_back(std::forward<SystemInstructionsT>(value));
619 return *this;
620 }
622
624
627 inline const Aws::String& GetPromptArn() const { return m_promptArn; }
628 inline bool PromptArnHasBeenSet() const { return m_promptArnHasBeenSet; }
629 template <typename PromptArnT = Aws::String>
630 void SetPromptArn(PromptArnT&& value) {
631 m_promptArnHasBeenSet = true;
632 m_promptArn = std::forward<PromptArnT>(value);
633 }
634 template <typename PromptArnT = Aws::String>
636 SetPromptArn(std::forward<PromptArnT>(value));
637 return *this;
638 }
640
642
645 inline const Aws::String& GetPromptId() const { return m_promptId; }
646 inline bool PromptIdHasBeenSet() const { return m_promptIdHasBeenSet; }
647 template <typename PromptIdT = Aws::String>
648 void SetPromptId(PromptIdT&& value) {
649 m_promptIdHasBeenSet = true;
650 m_promptId = std::forward<PromptIdT>(value);
651 }
652 template <typename PromptIdT = Aws::String>
654 SetPromptId(std::forward<PromptIdT>(value));
655 return *this;
656 }
658
660
663 inline AIPromptType GetPromptType() const { return m_promptType; }
664 inline bool PromptTypeHasBeenSet() const { return m_promptTypeHasBeenSet; }
665 inline void SetPromptType(AIPromptType value) {
666 m_promptTypeHasBeenSet = true;
667 m_promptType = value;
668 }
670 SetPromptType(value);
671 return *this;
672 }
674
676
679 inline const Aws::String& GetPromptName() const { return m_promptName; }
680 inline bool PromptNameHasBeenSet() const { return m_promptNameHasBeenSet; }
681 template <typename PromptNameT = Aws::String>
683 m_promptNameHasBeenSet = true;
684 m_promptName = std::forward<PromptNameT>(value);
685 }
686 template <typename PromptNameT = Aws::String>
688 SetPromptName(std::forward<PromptNameT>(value));
689 return *this;
690 }
692
694
697 inline int GetPromptVersion() const { return m_promptVersion; }
698 inline bool PromptVersionHasBeenSet() const { return m_promptVersionHasBeenSet; }
699 inline void SetPromptVersion(int value) {
700 m_promptVersionHasBeenSet = true;
701 m_promptVersion = value;
702 }
704 SetPromptVersion(value);
705 return *this;
706 }
708
710
714 inline int GetTimeToFirstTokenMs() const { return m_timeToFirstTokenMs; }
715 inline bool TimeToFirstTokenMsHasBeenSet() const { return m_timeToFirstTokenMsHasBeenSet; }
716 inline void SetTimeToFirstTokenMs(int value) {
717 m_timeToFirstTokenMsHasBeenSet = true;
718 m_timeToFirstTokenMs = value;
719 }
722 return *this;
723 }
725
727
731 inline const Aws::Vector<SpanGuardrailAssessment>& GetGuardrailAssessments() const { return m_guardrailAssessments; }
732 inline bool GuardrailAssessmentsHasBeenSet() const { return m_guardrailAssessmentsHasBeenSet; }
733 template <typename GuardrailAssessmentsT = Aws::Vector<SpanGuardrailAssessment>>
735 m_guardrailAssessmentsHasBeenSet = true;
736 m_guardrailAssessments = std::forward<GuardrailAssessmentsT>(value);
737 }
738 template <typename GuardrailAssessmentsT = Aws::Vector<SpanGuardrailAssessment>>
740 SetGuardrailAssessments(std::forward<GuardrailAssessmentsT>(value));
741 return *this;
742 }
743 template <typename GuardrailAssessmentsT = SpanGuardrailAssessment>
745 m_guardrailAssessmentsHasBeenSet = true;
746 m_guardrailAssessments.emplace_back(std::forward<GuardrailAssessmentsT>(value));
747 return *this;
748 }
750 private:
751 Aws::String m_operationName;
752
753 Aws::String m_providerName;
754
755 Aws::String m_errorType;
756
757 Aws::String m_agentId;
758
759 Aws::String m_instanceArn;
760
761 Aws::String m_contactId;
762
763 Aws::String m_initialContactId;
764
765 Aws::String m_sessionName;
766
767 Aws::String m_aiAgentArn;
768
769 AIAgentType m_aiAgentType{AIAgentType::NOT_SET};
770
771 Aws::String m_aiAgentName;
772
773 Aws::String m_aiAgentId;
774
775 int m_aiAgentVersion{0};
776
777 Aws::String m_aiAgentInvoker;
778
779 Aws::String m_aiAgentOrchestratorUseCase;
780
781 InteractionMode m_interactionMode{InteractionMode::NOT_SET};
782
783 Aws::String m_targetAgentId;
784
785 ReturnReason m_returnReason{ReturnReason::NOT_SET};
786
787 Aws::String m_requestModel;
788
789 int m_requestMaxTokens{0};
790
791 double m_temperature{0.0};
792
793 double m_topP{0.0};
794
795 Aws::String m_responseModel;
796
797 Aws::Vector<Aws::String> m_responseFinishReasons;
798
799 int m_usageInputTokens{0};
800
801 int m_usageOutputTokens{0};
802
803 int m_usageTotalTokens{0};
804
805 int m_cacheReadInputTokens{0};
806
807 int m_cacheWriteInputTokens{0};
808
809 Aws::Vector<SpanMessage> m_inputMessages;
810
811 Aws::Vector<SpanMessage> m_outputMessages;
812
813 Aws::Vector<SpanMessageValue> m_systemInstructions;
814
815 Aws::String m_promptArn;
816
817 Aws::String m_promptId;
818
820
821 Aws::String m_promptName;
822
823 int m_promptVersion{0};
824
825 int m_timeToFirstTokenMs{0};
826
827 Aws::Vector<SpanGuardrailAssessment> m_guardrailAssessments;
828 bool m_operationNameHasBeenSet = false;
829 bool m_providerNameHasBeenSet = false;
830 bool m_errorTypeHasBeenSet = false;
831 bool m_agentIdHasBeenSet = false;
832 bool m_instanceArnHasBeenSet = false;
833 bool m_contactIdHasBeenSet = false;
834 bool m_initialContactIdHasBeenSet = false;
835 bool m_sessionNameHasBeenSet = false;
836 bool m_aiAgentArnHasBeenSet = false;
837 bool m_aiAgentTypeHasBeenSet = false;
838 bool m_aiAgentNameHasBeenSet = false;
839 bool m_aiAgentIdHasBeenSet = false;
840 bool m_aiAgentVersionHasBeenSet = false;
841 bool m_aiAgentInvokerHasBeenSet = false;
842 bool m_aiAgentOrchestratorUseCaseHasBeenSet = false;
843 bool m_interactionModeHasBeenSet = false;
844 bool m_targetAgentIdHasBeenSet = false;
845 bool m_returnReasonHasBeenSet = false;
846 bool m_requestModelHasBeenSet = false;
847 bool m_requestMaxTokensHasBeenSet = false;
848 bool m_temperatureHasBeenSet = false;
849 bool m_topPHasBeenSet = false;
850 bool m_responseModelHasBeenSet = false;
851 bool m_responseFinishReasonsHasBeenSet = false;
852 bool m_usageInputTokensHasBeenSet = false;
853 bool m_usageOutputTokensHasBeenSet = false;
854 bool m_usageTotalTokensHasBeenSet = false;
855 bool m_cacheReadInputTokensHasBeenSet = false;
856 bool m_cacheWriteInputTokensHasBeenSet = false;
857 bool m_inputMessagesHasBeenSet = false;
858 bool m_outputMessagesHasBeenSet = false;
859 bool m_systemInstructionsHasBeenSet = false;
860 bool m_promptArnHasBeenSet = false;
861 bool m_promptIdHasBeenSet = false;
862 bool m_promptTypeHasBeenSet = false;
863 bool m_promptNameHasBeenSet = false;
864 bool m_promptVersionHasBeenSet = false;
865 bool m_timeToFirstTokenMsHasBeenSet = false;
866 bool m_guardrailAssessmentsHasBeenSet = false;
867};
868
869} // namespace Model
870} // namespace QConnect
871} // 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
const Aws::String & GetTargetAgentId() 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)
void SetGuardrailAssessments(GuardrailAssessmentsT &&value)
SpanAttributes & WithOperationName(OperationNameT &&value)
SpanAttributes & WithAiAgentType(AIAgentType value)
SpanAttributes & WithPromptArn(PromptArnT &&value)
SpanAttributes & WithGuardrailAssessments(GuardrailAssessmentsT &&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 & WithReturnReason(ReturnReason 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
SpanAttributes & WithTargetAgentId(TargetAgentIdT &&value)
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 & WithInteractionMode(InteractionMode value)
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
void SetReturnReason(ReturnReason value)
const Aws::String & GetPromptName() const
SpanAttributes & WithOutputMessages(OutputMessagesT &&value)
const Aws::String & GetPromptId() const
void SetInteractionMode(InteractionMode value)
SpanAttributes & WithTimeToFirstTokenMs(int value)
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)
void SetTargetAgentId(TargetAgentIdT &&value)
SpanAttributes & WithPromptType(AIPromptType value)
const Aws::String & GetInstanceArn() const
SpanAttributes & AddGuardrailAssessments(GuardrailAssessmentsT &&value)
const Aws::Vector< SpanGuardrailAssessment > & GetGuardrailAssessments() const
SpanAttributes & WithAiAgentInvoker(AiAgentInvokerT &&value)
const Aws::String & GetAiAgentInvoker() const
void SetAiAgentName(AiAgentNameT &&value)
InteractionMode GetInteractionMode() const
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