AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GeneratedResponsePart.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/TextResponsePart.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart() = default;
43 AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const TextResponsePart& GetTextResponsePart() const { return m_textResponsePart; }
54 inline bool TextResponsePartHasBeenSet() const { return m_textResponsePartHasBeenSet; }
55 template<typename TextResponsePartT = TextResponsePart>
56 void SetTextResponsePart(TextResponsePartT&& value) { m_textResponsePartHasBeenSet = true; m_textResponsePart = std::forward<TextResponsePartT>(value); }
57 template<typename TextResponsePartT = TextResponsePart>
58 GeneratedResponsePart& WithTextResponsePart(TextResponsePartT&& value) { SetTextResponsePart(std::forward<TextResponsePartT>(value)); return *this;}
60 private:
61
62 TextResponsePart m_textResponsePart;
63 bool m_textResponsePartHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace BedrockAgentRuntime
68} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GeneratedResponsePart & WithTextResponsePart(TextResponsePartT &&value)
Aws::Utils::Json::JsonValue JsonValue