AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AgentCollaboratorOutputPayload.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ReturnControlPayload.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent-runtime/model/PayloadType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorOutputPayload() = default;
38 AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorOutputPayload(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ReturnControlPayload& GetReturnControlPayload() const { return m_returnControlPayload; }
48 inline bool ReturnControlPayloadHasBeenSet() const { return m_returnControlPayloadHasBeenSet; }
49 template<typename ReturnControlPayloadT = ReturnControlPayload>
50 void SetReturnControlPayload(ReturnControlPayloadT&& value) { m_returnControlPayloadHasBeenSet = true; m_returnControlPayload = std::forward<ReturnControlPayloadT>(value); }
51 template<typename ReturnControlPayloadT = ReturnControlPayload>
52 AgentCollaboratorOutputPayload& WithReturnControlPayload(ReturnControlPayloadT&& value) { SetReturnControlPayload(std::forward<ReturnControlPayloadT>(value)); return *this;}
54
56
59 inline const Aws::String& GetText() const { return m_text; }
60 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
61 template<typename TextT = Aws::String>
62 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
63 template<typename TextT = Aws::String>
64 AgentCollaboratorOutputPayload& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
66
68
71 inline PayloadType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(PayloadType value) { m_typeHasBeenSet = true; m_type = value; }
74 inline AgentCollaboratorOutputPayload& WithType(PayloadType value) { SetType(value); return *this;}
76 private:
77
78 ReturnControlPayload m_returnControlPayload;
79 bool m_returnControlPayloadHasBeenSet = false;
80
81 Aws::String m_text;
82 bool m_textHasBeenSet = false;
83
85 bool m_typeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace BedrockAgentRuntime
90} // namespace Aws
AgentCollaboratorOutputPayload & WithReturnControlPayload(ReturnControlPayloadT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorOutputPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorOutputPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorOutputPayload()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue