AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTextResponsePart(const TextResponsePart& value) { m_textResponsePartHasBeenSet = true; m_textResponsePart = value; }
56 inline void SetTextResponsePart(TextResponsePart&& value) { m_textResponsePartHasBeenSet = true; m_textResponsePart = std::move(value); }
58 inline GeneratedResponsePart& WithTextResponsePart(TextResponsePart&& value) { SetTextResponsePart(std::move(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)
GeneratedResponsePart & WithTextResponsePart(TextResponsePart &&value)
AWS_BEDROCKAGENTRUNTIME_API GeneratedResponsePart & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GeneratedResponsePart & WithTextResponsePart(const TextResponsePart &value)
Aws::Utils::Json::JsonValue JsonValue