AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PostProcessingTrace.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ModelInvocationInput.h>
9#include <aws/bedrock-agent-runtime/model/PostProcessingModelInvocationOutput.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API PostProcessingTrace() = default;
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline const ModelInvocationInput& GetModelInvocationInput() const { return m_modelInvocationInput; }
47 inline bool ModelInvocationInputHasBeenSet() const { return m_modelInvocationInputHasBeenSet; }
48 template <typename ModelInvocationInputT = ModelInvocationInput>
50 m_modelInvocationInputHasBeenSet = true;
51 m_modelInvocationInput = std::forward<ModelInvocationInputT>(value);
52 }
53 template <typename ModelInvocationInputT = ModelInvocationInput>
55 SetModelInvocationInput(std::forward<ModelInvocationInputT>(value));
56 return *this;
57 }
59
61
64 inline const PostProcessingModelInvocationOutput& GetModelInvocationOutput() const { return m_modelInvocationOutput; }
65 inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; }
66 template <typename ModelInvocationOutputT = PostProcessingModelInvocationOutput>
68 m_modelInvocationOutputHasBeenSet = true;
69 m_modelInvocationOutput = std::forward<ModelInvocationOutputT>(value);
70 }
71 template <typename ModelInvocationOutputT = PostProcessingModelInvocationOutput>
73 SetModelInvocationOutput(std::forward<ModelInvocationOutputT>(value));
74 return *this;
75 }
77 private:
78 ModelInvocationInput m_modelInvocationInput;
79
80 PostProcessingModelInvocationOutput m_modelInvocationOutput;
81 bool m_modelInvocationInputHasBeenSet = false;
82 bool m_modelInvocationOutputHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace BedrockAgentRuntime
87} // namespace Aws
const ModelInvocationInput & GetModelInvocationInput() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool ModelInvocationInputHasBeenSet() const
void SetModelInvocationInput(ModelInvocationInputT &&value)
AWS_BEDROCKAGENTRUNTIME_API PostProcessingTrace()=default
bool ModelInvocationOutputHasBeenSet() const
void SetModelInvocationOutput(ModelInvocationOutputT &&value)
PostProcessingTrace & WithModelInvocationOutput(ModelInvocationOutputT &&value)
const PostProcessingModelInvocationOutput & GetModelInvocationOutput() const
AWS_BEDROCKAGENTRUNTIME_API PostProcessingTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
PostProcessingTrace & WithModelInvocationInput(ModelInvocationInputT &&value)
AWS_BEDROCKAGENTRUNTIME_API PostProcessingTrace(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue