AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvocationInputMember.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ApiInvocationInput.h>
9#include <aws/bedrock-agent-runtime/model/FunctionInvocationInput.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_BEDROCKAGENTRUNTIME_API InvocationInputMember();
40 AWS_BEDROCKAGENTRUNTIME_API InvocationInputMember(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API InvocationInputMember& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const ApiInvocationInput& GetApiInvocationInput() const{ return m_apiInvocationInput; }
51 inline bool ApiInvocationInputHasBeenSet() const { return m_apiInvocationInputHasBeenSet; }
52 inline void SetApiInvocationInput(const ApiInvocationInput& value) { m_apiInvocationInputHasBeenSet = true; m_apiInvocationInput = value; }
53 inline void SetApiInvocationInput(ApiInvocationInput&& value) { m_apiInvocationInputHasBeenSet = true; m_apiInvocationInput = std::move(value); }
55 inline InvocationInputMember& WithApiInvocationInput(ApiInvocationInput&& value) { SetApiInvocationInput(std::move(value)); return *this;}
57
59
63 inline const FunctionInvocationInput& GetFunctionInvocationInput() const{ return m_functionInvocationInput; }
64 inline bool FunctionInvocationInputHasBeenSet() const { return m_functionInvocationInputHasBeenSet; }
65 inline void SetFunctionInvocationInput(const FunctionInvocationInput& value) { m_functionInvocationInputHasBeenSet = true; m_functionInvocationInput = value; }
66 inline void SetFunctionInvocationInput(FunctionInvocationInput&& value) { m_functionInvocationInputHasBeenSet = true; m_functionInvocationInput = std::move(value); }
70 private:
71
72 ApiInvocationInput m_apiInvocationInput;
73 bool m_apiInvocationInputHasBeenSet = false;
74
75 FunctionInvocationInput m_functionInvocationInput;
76 bool m_functionInvocationInputHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgentRuntime
81} // namespace Aws
InvocationInputMember & WithFunctionInvocationInput(const FunctionInvocationInput &value)
InvocationInputMember & WithApiInvocationInput(const ApiInvocationInput &value)
InvocationInputMember & WithApiInvocationInput(ApiInvocationInput &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const FunctionInvocationInput & GetFunctionInvocationInput() const
void SetApiInvocationInput(const ApiInvocationInput &value)
AWS_BEDROCKAGENTRUNTIME_API InvocationInputMember(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionInvocationInput(FunctionInvocationInput &&value)
InvocationInputMember & WithFunctionInvocationInput(FunctionInvocationInput &&value)
AWS_BEDROCKAGENTRUNTIME_API InvocationInputMember & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionInvocationInput(const FunctionInvocationInput &value)
Aws::Utils::Json::JsonValue JsonValue