AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvocationInput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ActionGroupInvocationInput.h>
9#include <aws/bedrock-agent-runtime/model/CodeInterpreterInvocationInput.h>
10#include <aws/bedrock-agent-runtime/model/InvocationType.h>
11#include <aws/bedrock-agent-runtime/model/KnowledgeBaseLookupInput.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgentRuntime
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API InvocationInput();
40 AWS_BEDROCKAGENTRUNTIME_API InvocationInput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API InvocationInput& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ActionGroupInvocationInput& GetActionGroupInvocationInput() const{ return m_actionGroupInvocationInput; }
50 inline bool ActionGroupInvocationInputHasBeenSet() const { return m_actionGroupInvocationInputHasBeenSet; }
51 inline void SetActionGroupInvocationInput(const ActionGroupInvocationInput& value) { m_actionGroupInvocationInputHasBeenSet = true; m_actionGroupInvocationInput = value; }
52 inline void SetActionGroupInvocationInput(ActionGroupInvocationInput&& value) { m_actionGroupInvocationInputHasBeenSet = true; m_actionGroupInvocationInput = std::move(value); }
56
58
61 inline const CodeInterpreterInvocationInput& GetCodeInterpreterInvocationInput() const{ return m_codeInterpreterInvocationInput; }
62 inline bool CodeInterpreterInvocationInputHasBeenSet() const { return m_codeInterpreterInvocationInputHasBeenSet; }
63 inline void SetCodeInterpreterInvocationInput(const CodeInterpreterInvocationInput& value) { m_codeInterpreterInvocationInputHasBeenSet = true; m_codeInterpreterInvocationInput = value; }
64 inline void SetCodeInterpreterInvocationInput(CodeInterpreterInvocationInput&& value) { m_codeInterpreterInvocationInputHasBeenSet = true; m_codeInterpreterInvocationInput = std::move(value); }
68
70
74 inline const InvocationType& GetInvocationType() const{ return m_invocationType; }
75 inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; }
76 inline void SetInvocationType(const InvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; }
77 inline void SetInvocationType(InvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); }
78 inline InvocationInput& WithInvocationType(const InvocationType& value) { SetInvocationType(value); return *this;}
79 inline InvocationInput& WithInvocationType(InvocationType&& value) { SetInvocationType(std::move(value)); return *this;}
81
83
87 inline const KnowledgeBaseLookupInput& GetKnowledgeBaseLookupInput() const{ return m_knowledgeBaseLookupInput; }
88 inline bool KnowledgeBaseLookupInputHasBeenSet() const { return m_knowledgeBaseLookupInputHasBeenSet; }
89 inline void SetKnowledgeBaseLookupInput(const KnowledgeBaseLookupInput& value) { m_knowledgeBaseLookupInputHasBeenSet = true; m_knowledgeBaseLookupInput = value; }
90 inline void SetKnowledgeBaseLookupInput(KnowledgeBaseLookupInput&& value) { m_knowledgeBaseLookupInputHasBeenSet = true; m_knowledgeBaseLookupInput = std::move(value); }
94
96
99 inline const Aws::String& GetTraceId() const{ return m_traceId; }
100 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
101 inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; }
102 inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); }
103 inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); }
104 inline InvocationInput& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;}
105 inline InvocationInput& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;}
106 inline InvocationInput& WithTraceId(const char* value) { SetTraceId(value); return *this;}
108 private:
109
110 ActionGroupInvocationInput m_actionGroupInvocationInput;
111 bool m_actionGroupInvocationInputHasBeenSet = false;
112
113 CodeInterpreterInvocationInput m_codeInterpreterInvocationInput;
114 bool m_codeInterpreterInvocationInputHasBeenSet = false;
115
116 InvocationType m_invocationType;
117 bool m_invocationTypeHasBeenSet = false;
118
119 KnowledgeBaseLookupInput m_knowledgeBaseLookupInput;
120 bool m_knowledgeBaseLookupInputHasBeenSet = false;
121
122 Aws::String m_traceId;
123 bool m_traceIdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace BedrockAgentRuntime
128} // namespace Aws
InvocationInput & WithTraceId(const char *value)
InvocationInput & WithCodeInterpreterInvocationInput(const CodeInterpreterInvocationInput &value)
AWS_BEDROCKAGENTRUNTIME_API InvocationInput(Aws::Utils::Json::JsonView jsonValue)
void SetCodeInterpreterInvocationInput(const CodeInterpreterInvocationInput &value)
InvocationInput & WithKnowledgeBaseLookupInput(const KnowledgeBaseLookupInput &value)
void SetKnowledgeBaseLookupInput(KnowledgeBaseLookupInput &&value)
InvocationInput & WithActionGroupInvocationInput(const ActionGroupInvocationInput &value)
const ActionGroupInvocationInput & GetActionGroupInvocationInput() const
void SetActionGroupInvocationInput(ActionGroupInvocationInput &&value)
InvocationInput & WithTraceId(const Aws::String &value)
const InvocationType & GetInvocationType() const
void SetInvocationType(const InvocationType &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InvocationInput & WithInvocationType(InvocationType &&value)
AWS_BEDROCKAGENTRUNTIME_API InvocationInput()
AWS_BEDROCKAGENTRUNTIME_API InvocationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const CodeInterpreterInvocationInput & GetCodeInterpreterInvocationInput() const
InvocationInput & WithTraceId(Aws::String &&value)
InvocationInput & WithKnowledgeBaseLookupInput(KnowledgeBaseLookupInput &&value)
void SetCodeInterpreterInvocationInput(CodeInterpreterInvocationInput &&value)
InvocationInput & WithInvocationType(const InvocationType &value)
InvocationInput & WithCodeInterpreterInvocationInput(CodeInterpreterInvocationInput &&value)
InvocationInput & WithActionGroupInvocationInput(ActionGroupInvocationInput &&value)
void SetActionGroupInvocationInput(const ActionGroupInvocationInput &value)
const KnowledgeBaseLookupInput & GetKnowledgeBaseLookupInput() const
void SetKnowledgeBaseLookupInput(const KnowledgeBaseLookupInput &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue