AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConverseOutput.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/Message.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 BedrockRuntime
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BEDROCKRUNTIME_API ConverseOutput();
37 AWS_BEDROCKRUNTIME_API ConverseOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKRUNTIME_API ConverseOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Message& GetMessage() const{ return m_message; }
47 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 inline void SetMessage(const Message& value) { m_messageHasBeenSet = true; m_message = value; }
49 inline void SetMessage(Message&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
50 inline ConverseOutput& WithMessage(const Message& value) { SetMessage(value); return *this;}
51 inline ConverseOutput& WithMessage(Message&& value) { SetMessage(std::move(value)); return *this;}
53 private:
54
55 Message m_message;
56 bool m_messageHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace BedrockRuntime
61} // namespace Aws
ConverseOutput & WithMessage(const Message &value)
AWS_BEDROCKRUNTIME_API ConverseOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API ConverseOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API ConverseOutput()
ConverseOutput & WithMessage(Message &&value)
Aws::Utils::Json::JsonValue JsonValue