AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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/SpanGuardrailAssessment.h>
13#include <aws/qconnect/model/SpanMessage.h>
14#include <aws/qconnect/model/SpanMessageValue.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QConnect {
26namespace Model {
27
35 public:
36 AWS_QCONNECT_API SpanAttributes() = default;
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetOperationName() const { return m_operationName; }
46 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
47 template <typename OperationNameT = Aws::String>
49 m_operationNameHasBeenSet = true;
50 m_operationName = std::forward<OperationNameT>(value);
51 }
52 template <typename OperationNameT = Aws::String>
54 SetOperationName(std::forward<OperationNameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetProviderName() const { return m_providerName; }
64 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
65 template <typename ProviderNameT = Aws::String>
67 m_providerNameHasBeenSet = true;
68 m_providerName = std::forward<ProviderNameT>(value);
69 }
70 template <typename ProviderNameT = Aws::String>
72 SetProviderName(std::forward<ProviderNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetErrorType() const { return m_errorType; }
82 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
83 template <typename ErrorTypeT = Aws::String>
84 void SetErrorType(ErrorTypeT&& value) {
85 m_errorTypeHasBeenSet = true;
86 m_errorType = std::forward<ErrorTypeT>(value);
87 }
88 template <typename ErrorTypeT = Aws::String>
90 SetErrorType(std::forward<ErrorTypeT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetAgentId() const { return m_agentId; }
100 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
101 template <typename AgentIdT = Aws::String>
102 void SetAgentId(AgentIdT&& value) {
103 m_agentIdHasBeenSet = true;
104 m_agentId = std::forward<AgentIdT>(value);
105 }
106 template <typename AgentIdT = Aws::String>
108 SetAgentId(std::forward<AgentIdT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
118 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
119 template <typename InstanceArnT = Aws::String>
121 m_instanceArnHasBeenSet = true;
122 m_instanceArn = std::forward<InstanceArnT>(value);
123 }
124 template <typename InstanceArnT = Aws::String>
126 SetInstanceArn(std::forward<InstanceArnT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetContactId() const { return m_contactId; }
136 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
137 template <typename ContactIdT = Aws::String>
138 void SetContactId(ContactIdT&& value) {
139 m_contactIdHasBeenSet = true;
140 m_contactId = std::forward<ContactIdT>(value);
141 }
142 template <typename ContactIdT = Aws::String>
144 SetContactId(std::forward<ContactIdT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetInitialContactId() const { return m_initialContactId; }
154 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
155 template <typename InitialContactIdT = Aws::String>
157 m_initialContactIdHasBeenSet = true;
158 m_initialContactId = std::forward<InitialContactIdT>(value);
159 }
160 template <typename InitialContactIdT = Aws::String>
162 SetInitialContactId(std::forward<InitialContactIdT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetSessionName() const { return m_sessionName; }
172 inline bool SessionNameHasBeenSet() const { return m_sessionNameHasBeenSet; }
173 template <typename SessionNameT = Aws::String>
175 m_sessionNameHasBeenSet = true;
176 m_sessionName = std::forward<SessionNameT>(value);
177 }
178 template <typename SessionNameT = Aws::String>
180 SetSessionName(std::forward<SessionNameT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetAiAgentArn() const { return m_aiAgentArn; }
190 inline bool AiAgentArnHasBeenSet() const { return m_aiAgentArnHasBeenSet; }
191 template <typename AiAgentArnT = Aws::String>
193 m_aiAgentArnHasBeenSet = true;
194 m_aiAgentArn = std::forward<AiAgentArnT>(value);
195 }
196 template <typename AiAgentArnT = Aws::String>
198 SetAiAgentArn(std::forward<AiAgentArnT>(value));
199 return *this;
200 }
202
204
207 inline AIAgentType GetAiAgentType() const { return m_aiAgentType; }
208 inline bool AiAgentTypeHasBeenSet() const { return m_aiAgentTypeHasBeenSet; }
209 inline void SetAiAgentType(AIAgentType value) {
210 m_aiAgentTypeHasBeenSet = true;
211 m_aiAgentType = value;
212 }
214 SetAiAgentType(value);
215 return *this;
216 }
218
220
223 inline const Aws::String& GetAiAgentName() const { return m_aiAgentName; }
224 inline bool AiAgentNameHasBeenSet() const { return m_aiAgentNameHasBeenSet; }
225 template <typename AiAgentNameT = Aws::String>
227 m_aiAgentNameHasBeenSet = true;
228 m_aiAgentName = std::forward<AiAgentNameT>(value);
229 }
230 template <typename AiAgentNameT = Aws::String>
232 SetAiAgentName(std::forward<AiAgentNameT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::String& GetAiAgentId() const { return m_aiAgentId; }
242 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
243 template <typename AiAgentIdT = Aws::String>
244 void SetAiAgentId(AiAgentIdT&& value) {
245 m_aiAgentIdHasBeenSet = true;
246 m_aiAgentId = std::forward<AiAgentIdT>(value);
247 }
248 template <typename AiAgentIdT = Aws::String>
250 SetAiAgentId(std::forward<AiAgentIdT>(value));
251 return *this;
252 }
254
256
259 inline int GetAiAgentVersion() const { return m_aiAgentVersion; }
260 inline bool AiAgentVersionHasBeenSet() const { return m_aiAgentVersionHasBeenSet; }
261 inline void SetAiAgentVersion(int value) {
262 m_aiAgentVersionHasBeenSet = true;
263 m_aiAgentVersion = value;
264 }
266 SetAiAgentVersion(value);
267 return *this;
268 }
270
272
275 inline const Aws::String& GetAiAgentInvoker() const { return m_aiAgentInvoker; }
276 inline bool AiAgentInvokerHasBeenSet() const { return m_aiAgentInvokerHasBeenSet; }
277 template <typename AiAgentInvokerT = Aws::String>
279 m_aiAgentInvokerHasBeenSet = true;
280 m_aiAgentInvoker = std::forward<AiAgentInvokerT>(value);
281 }
282 template <typename AiAgentInvokerT = Aws::String>
284 SetAiAgentInvoker(std::forward<AiAgentInvokerT>(value));
285 return *this;
286 }
288
290
293 inline const Aws::String& GetAiAgentOrchestratorUseCase() const { return m_aiAgentOrchestratorUseCase; }
294 inline bool AiAgentOrchestratorUseCaseHasBeenSet() const { return m_aiAgentOrchestratorUseCaseHasBeenSet; }
295 template <typename AiAgentOrchestratorUseCaseT = Aws::String>
297 m_aiAgentOrchestratorUseCaseHasBeenSet = true;
298 m_aiAgentOrchestratorUseCase = std::forward<AiAgentOrchestratorUseCaseT>(value);
299 }
300 template <typename AiAgentOrchestratorUseCaseT = Aws::String>
302 SetAiAgentOrchestratorUseCase(std::forward<AiAgentOrchestratorUseCaseT>(value));
303 return *this;
304 }
306
308
311 inline const Aws::String& GetRequestModel() const { return m_requestModel; }
312 inline bool RequestModelHasBeenSet() const { return m_requestModelHasBeenSet; }
313 template <typename RequestModelT = Aws::String>
315 m_requestModelHasBeenSet = true;
316 m_requestModel = std::forward<RequestModelT>(value);
317 }
318 template <typename RequestModelT = Aws::String>
320 SetRequestModel(std::forward<RequestModelT>(value));
321 return *this;
322 }
324
326
329 inline int GetRequestMaxTokens() const { return m_requestMaxTokens; }
330 inline bool RequestMaxTokensHasBeenSet() const { return m_requestMaxTokensHasBeenSet; }
331 inline void SetRequestMaxTokens(int value) {
332 m_requestMaxTokensHasBeenSet = true;
333 m_requestMaxTokens = value;
334 }
336 SetRequestMaxTokens(value);
337 return *this;
338 }
340
342
345 inline double GetTemperature() const { return m_temperature; }
346 inline bool TemperatureHasBeenSet() const { return m_temperatureHasBeenSet; }
347 inline void SetTemperature(double value) {
348 m_temperatureHasBeenSet = true;
349 m_temperature = value;
350 }
351 inline SpanAttributes& WithTemperature(double value) {
352 SetTemperature(value);
353 return *this;
354 }
356
358
361 inline double GetTopP() const { return m_topP; }
362 inline bool TopPHasBeenSet() const { return m_topPHasBeenSet; }
363 inline void SetTopP(double value) {
364 m_topPHasBeenSet = true;
365 m_topP = value;
366 }
367 inline SpanAttributes& WithTopP(double value) {
368 SetTopP(value);
369 return *this;
370 }
372
374
377 inline const Aws::String& GetResponseModel() const { return m_responseModel; }
378 inline bool ResponseModelHasBeenSet() const { return m_responseModelHasBeenSet; }
379 template <typename ResponseModelT = Aws::String>
381 m_responseModelHasBeenSet = true;
382 m_responseModel = std::forward<ResponseModelT>(value);
383 }
384 template <typename ResponseModelT = Aws::String>
386 SetResponseModel(std::forward<ResponseModelT>(value));
387 return *this;
388 }
390
392
395 inline const Aws::Vector<Aws::String>& GetResponseFinishReasons() const { return m_responseFinishReasons; }
396 inline bool ResponseFinishReasonsHasBeenSet() const { return m_responseFinishReasonsHasBeenSet; }
397 template <typename ResponseFinishReasonsT = Aws::Vector<Aws::String>>
399 m_responseFinishReasonsHasBeenSet = true;
400 m_responseFinishReasons = std::forward<ResponseFinishReasonsT>(value);
401 }
402 template <typename ResponseFinishReasonsT = Aws::Vector<Aws::String>>
404 SetResponseFinishReasons(std::forward<ResponseFinishReasonsT>(value));
405 return *this;
406 }
407 template <typename ResponseFinishReasonsT = Aws::String>
409 m_responseFinishReasonsHasBeenSet = true;
410 m_responseFinishReasons.emplace_back(std::forward<ResponseFinishReasonsT>(value));
411 return *this;
412 }
414
416
419 inline int GetUsageInputTokens() const { return m_usageInputTokens; }
420 inline bool UsageInputTokensHasBeenSet() const { return m_usageInputTokensHasBeenSet; }
421 inline void SetUsageInputTokens(int value) {
422 m_usageInputTokensHasBeenSet = true;
423 m_usageInputTokens = value;
424 }
426 SetUsageInputTokens(value);
427 return *this;
428 }
430
432
435 inline int GetUsageOutputTokens() const { return m_usageOutputTokens; }
436 inline bool UsageOutputTokensHasBeenSet() const { return m_usageOutputTokensHasBeenSet; }
437 inline void SetUsageOutputTokens(int value) {
438 m_usageOutputTokensHasBeenSet = true;
439 m_usageOutputTokens = value;
440 }
443 return *this;
444 }
446
448
451 inline int GetUsageTotalTokens() const { return m_usageTotalTokens; }
452 inline bool UsageTotalTokensHasBeenSet() const { return m_usageTotalTokensHasBeenSet; }
453 inline void SetUsageTotalTokens(int value) {
454 m_usageTotalTokensHasBeenSet = true;
455 m_usageTotalTokens = value;
456 }
458 SetUsageTotalTokens(value);
459 return *this;
460 }
462
464
467 inline int GetCacheReadInputTokens() const { return m_cacheReadInputTokens; }
468 inline bool CacheReadInputTokensHasBeenSet() const { return m_cacheReadInputTokensHasBeenSet; }
469 inline void SetCacheReadInputTokens(int value) {
470 m_cacheReadInputTokensHasBeenSet = true;
471 m_cacheReadInputTokens = value;
472 }
475 return *this;
476 }
478
480
483 inline int GetCacheWriteInputTokens() const { return m_cacheWriteInputTokens; }
484 inline bool CacheWriteInputTokensHasBeenSet() const { return m_cacheWriteInputTokensHasBeenSet; }
485 inline void SetCacheWriteInputTokens(int value) {
486 m_cacheWriteInputTokensHasBeenSet = true;
487 m_cacheWriteInputTokens = value;
488 }
491 return *this;
492 }
494
496
499 inline const Aws::Vector<SpanMessage>& GetInputMessages() const { return m_inputMessages; }
500 inline bool InputMessagesHasBeenSet() const { return m_inputMessagesHasBeenSet; }
501 template <typename InputMessagesT = Aws::Vector<SpanMessage>>
503 m_inputMessagesHasBeenSet = true;
504 m_inputMessages = std::forward<InputMessagesT>(value);
505 }
506 template <typename InputMessagesT = Aws::Vector<SpanMessage>>
508 SetInputMessages(std::forward<InputMessagesT>(value));
509 return *this;
510 }
511 template <typename InputMessagesT = SpanMessage>
513 m_inputMessagesHasBeenSet = true;
514 m_inputMessages.emplace_back(std::forward<InputMessagesT>(value));
515 return *this;
516 }
518
520
523 inline const Aws::Vector<SpanMessage>& GetOutputMessages() const { return m_outputMessages; }
524 inline bool OutputMessagesHasBeenSet() const { return m_outputMessagesHasBeenSet; }
525 template <typename OutputMessagesT = Aws::Vector<SpanMessage>>
527 m_outputMessagesHasBeenSet = true;
528 m_outputMessages = std::forward<OutputMessagesT>(value);
529 }
530 template <typename OutputMessagesT = Aws::Vector<SpanMessage>>
532 SetOutputMessages(std::forward<OutputMessagesT>(value));
533 return *this;
534 }
535 template <typename OutputMessagesT = SpanMessage>
537 m_outputMessagesHasBeenSet = true;
538 m_outputMessages.emplace_back(std::forward<OutputMessagesT>(value));
539 return *this;
540 }
542
544
547 inline const Aws::Vector<SpanMessageValue>& GetSystemInstructions() const { return m_systemInstructions; }
548 inline bool SystemInstructionsHasBeenSet() const { return m_systemInstructionsHasBeenSet; }
549 template <typename SystemInstructionsT = Aws::Vector<SpanMessageValue>>
551 m_systemInstructionsHasBeenSet = true;
552 m_systemInstructions = std::forward<SystemInstructionsT>(value);
553 }
554 template <typename SystemInstructionsT = Aws::Vector<SpanMessageValue>>
556 SetSystemInstructions(std::forward<SystemInstructionsT>(value));
557 return *this;
558 }
559 template <typename SystemInstructionsT = SpanMessageValue>
561 m_systemInstructionsHasBeenSet = true;
562 m_systemInstructions.emplace_back(std::forward<SystemInstructionsT>(value));
563 return *this;
564 }
566
568
571 inline const Aws::String& GetPromptArn() const { return m_promptArn; }
572 inline bool PromptArnHasBeenSet() const { return m_promptArnHasBeenSet; }
573 template <typename PromptArnT = Aws::String>
574 void SetPromptArn(PromptArnT&& value) {
575 m_promptArnHasBeenSet = true;
576 m_promptArn = std::forward<PromptArnT>(value);
577 }
578 template <typename PromptArnT = Aws::String>
580 SetPromptArn(std::forward<PromptArnT>(value));
581 return *this;
582 }
584
586
589 inline const Aws::String& GetPromptId() const { return m_promptId; }
590 inline bool PromptIdHasBeenSet() const { return m_promptIdHasBeenSet; }
591 template <typename PromptIdT = Aws::String>
592 void SetPromptId(PromptIdT&& value) {
593 m_promptIdHasBeenSet = true;
594 m_promptId = std::forward<PromptIdT>(value);
595 }
596 template <typename PromptIdT = Aws::String>
598 SetPromptId(std::forward<PromptIdT>(value));
599 return *this;
600 }
602
604
607 inline AIPromptType GetPromptType() const { return m_promptType; }
608 inline bool PromptTypeHasBeenSet() const { return m_promptTypeHasBeenSet; }
609 inline void SetPromptType(AIPromptType value) {
610 m_promptTypeHasBeenSet = true;
611 m_promptType = value;
612 }
614 SetPromptType(value);
615 return *this;
616 }
618
620
623 inline const Aws::String& GetPromptName() const { return m_promptName; }
624 inline bool PromptNameHasBeenSet() const { return m_promptNameHasBeenSet; }
625 template <typename PromptNameT = Aws::String>
627 m_promptNameHasBeenSet = true;
628 m_promptName = std::forward<PromptNameT>(value);
629 }
630 template <typename PromptNameT = Aws::String>
632 SetPromptName(std::forward<PromptNameT>(value));
633 return *this;
634 }
636
638
641 inline int GetPromptVersion() const { return m_promptVersion; }
642 inline bool PromptVersionHasBeenSet() const { return m_promptVersionHasBeenSet; }
643 inline void SetPromptVersion(int value) {
644 m_promptVersionHasBeenSet = true;
645 m_promptVersion = value;
646 }
648 SetPromptVersion(value);
649 return *this;
650 }
652
654
658 inline int GetTimeToFirstTokenMs() const { return m_timeToFirstTokenMs; }
659 inline bool TimeToFirstTokenMsHasBeenSet() const { return m_timeToFirstTokenMsHasBeenSet; }
660 inline void SetTimeToFirstTokenMs(int value) {
661 m_timeToFirstTokenMsHasBeenSet = true;
662 m_timeToFirstTokenMs = value;
663 }
666 return *this;
667 }
669
671
675 inline const Aws::Vector<SpanGuardrailAssessment>& GetGuardrailAssessments() const { return m_guardrailAssessments; }
676 inline bool GuardrailAssessmentsHasBeenSet() const { return m_guardrailAssessmentsHasBeenSet; }
677 template <typename GuardrailAssessmentsT = Aws::Vector<SpanGuardrailAssessment>>
679 m_guardrailAssessmentsHasBeenSet = true;
680 m_guardrailAssessments = std::forward<GuardrailAssessmentsT>(value);
681 }
682 template <typename GuardrailAssessmentsT = Aws::Vector<SpanGuardrailAssessment>>
684 SetGuardrailAssessments(std::forward<GuardrailAssessmentsT>(value));
685 return *this;
686 }
687 template <typename GuardrailAssessmentsT = SpanGuardrailAssessment>
689 m_guardrailAssessmentsHasBeenSet = true;
690 m_guardrailAssessments.emplace_back(std::forward<GuardrailAssessmentsT>(value));
691 return *this;
692 }
694 private:
695 Aws::String m_operationName;
696
697 Aws::String m_providerName;
698
699 Aws::String m_errorType;
700
701 Aws::String m_agentId;
702
703 Aws::String m_instanceArn;
704
705 Aws::String m_contactId;
706
707 Aws::String m_initialContactId;
708
709 Aws::String m_sessionName;
710
711 Aws::String m_aiAgentArn;
712
713 AIAgentType m_aiAgentType{AIAgentType::NOT_SET};
714
715 Aws::String m_aiAgentName;
716
717 Aws::String m_aiAgentId;
718
719 int m_aiAgentVersion{0};
720
721 Aws::String m_aiAgentInvoker;
722
723 Aws::String m_aiAgentOrchestratorUseCase;
724
725 Aws::String m_requestModel;
726
727 int m_requestMaxTokens{0};
728
729 double m_temperature{0.0};
730
731 double m_topP{0.0};
732
733 Aws::String m_responseModel;
734
735 Aws::Vector<Aws::String> m_responseFinishReasons;
736
737 int m_usageInputTokens{0};
738
739 int m_usageOutputTokens{0};
740
741 int m_usageTotalTokens{0};
742
743 int m_cacheReadInputTokens{0};
744
745 int m_cacheWriteInputTokens{0};
746
747 Aws::Vector<SpanMessage> m_inputMessages;
748
749 Aws::Vector<SpanMessage> m_outputMessages;
750
751 Aws::Vector<SpanMessageValue> m_systemInstructions;
752
753 Aws::String m_promptArn;
754
755 Aws::String m_promptId;
756
758
759 Aws::String m_promptName;
760
761 int m_promptVersion{0};
762
763 int m_timeToFirstTokenMs{0};
764
765 Aws::Vector<SpanGuardrailAssessment> m_guardrailAssessments;
766 bool m_operationNameHasBeenSet = false;
767 bool m_providerNameHasBeenSet = false;
768 bool m_errorTypeHasBeenSet = false;
769 bool m_agentIdHasBeenSet = false;
770 bool m_instanceArnHasBeenSet = false;
771 bool m_contactIdHasBeenSet = false;
772 bool m_initialContactIdHasBeenSet = false;
773 bool m_sessionNameHasBeenSet = false;
774 bool m_aiAgentArnHasBeenSet = false;
775 bool m_aiAgentTypeHasBeenSet = false;
776 bool m_aiAgentNameHasBeenSet = false;
777 bool m_aiAgentIdHasBeenSet = false;
778 bool m_aiAgentVersionHasBeenSet = false;
779 bool m_aiAgentInvokerHasBeenSet = false;
780 bool m_aiAgentOrchestratorUseCaseHasBeenSet = false;
781 bool m_requestModelHasBeenSet = false;
782 bool m_requestMaxTokensHasBeenSet = false;
783 bool m_temperatureHasBeenSet = false;
784 bool m_topPHasBeenSet = false;
785 bool m_responseModelHasBeenSet = false;
786 bool m_responseFinishReasonsHasBeenSet = false;
787 bool m_usageInputTokensHasBeenSet = false;
788 bool m_usageOutputTokensHasBeenSet = false;
789 bool m_usageTotalTokensHasBeenSet = false;
790 bool m_cacheReadInputTokensHasBeenSet = false;
791 bool m_cacheWriteInputTokensHasBeenSet = false;
792 bool m_inputMessagesHasBeenSet = false;
793 bool m_outputMessagesHasBeenSet = false;
794 bool m_systemInstructionsHasBeenSet = false;
795 bool m_promptArnHasBeenSet = false;
796 bool m_promptIdHasBeenSet = false;
797 bool m_promptTypeHasBeenSet = false;
798 bool m_promptNameHasBeenSet = false;
799 bool m_promptVersionHasBeenSet = false;
800 bool m_timeToFirstTokenMsHasBeenSet = false;
801 bool m_guardrailAssessmentsHasBeenSet = false;
802};
803
804} // namespace Model
805} // namespace QConnect
806} // 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)
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 & 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
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)
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)
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