AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvocationResultMember.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ApiResult.h>
9#include <aws/bedrock-agent-runtime/model/FunctionResult.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
40 {
41 public:
42 AWS_BEDROCKAGENTRUNTIME_API InvocationResultMember();
43 AWS_BEDROCKAGENTRUNTIME_API InvocationResultMember(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API InvocationResultMember& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const ApiResult& GetApiResult() const{ return m_apiResult; }
53 inline bool ApiResultHasBeenSet() const { return m_apiResultHasBeenSet; }
54 inline void SetApiResult(const ApiResult& value) { m_apiResultHasBeenSet = true; m_apiResult = value; }
55 inline void SetApiResult(ApiResult&& value) { m_apiResultHasBeenSet = true; m_apiResult = std::move(value); }
56 inline InvocationResultMember& WithApiResult(const ApiResult& value) { SetApiResult(value); return *this;}
57 inline InvocationResultMember& WithApiResult(ApiResult&& value) { SetApiResult(std::move(value)); return *this;}
59
61
64 inline const FunctionResult& GetFunctionResult() const{ return m_functionResult; }
65 inline bool FunctionResultHasBeenSet() const { return m_functionResultHasBeenSet; }
66 inline void SetFunctionResult(const FunctionResult& value) { m_functionResultHasBeenSet = true; m_functionResult = value; }
67 inline void SetFunctionResult(FunctionResult&& value) { m_functionResultHasBeenSet = true; m_functionResult = std::move(value); }
68 inline InvocationResultMember& WithFunctionResult(const FunctionResult& value) { SetFunctionResult(value); return *this;}
69 inline InvocationResultMember& WithFunctionResult(FunctionResult&& value) { SetFunctionResult(std::move(value)); return *this;}
71 private:
72
73 ApiResult m_apiResult;
74 bool m_apiResultHasBeenSet = false;
75
76 FunctionResult m_functionResult;
77 bool m_functionResultHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace BedrockAgentRuntime
82} // namespace Aws
InvocationResultMember & WithApiResult(const ApiResult &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InvocationResultMember & WithFunctionResult(const FunctionResult &value)
InvocationResultMember & WithApiResult(ApiResult &&value)
InvocationResultMember & WithFunctionResult(FunctionResult &&value)
AWS_BEDROCKAGENTRUNTIME_API InvocationResultMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InvocationResultMember(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue