AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AgentCollaboratorInputPayload.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ReturnControlResults.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 AgentCollaboratorInputPayload() = default;
38 AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInputPayload(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ReturnControlResults& GetReturnControlResults() const { return m_returnControlResults; }
48 inline bool ReturnControlResultsHasBeenSet() const { return m_returnControlResultsHasBeenSet; }
49 template<typename ReturnControlResultsT = ReturnControlResults>
50 void SetReturnControlResults(ReturnControlResultsT&& value) { m_returnControlResultsHasBeenSet = true; m_returnControlResults = std::forward<ReturnControlResultsT>(value); }
51 template<typename ReturnControlResultsT = ReturnControlResults>
52 AgentCollaboratorInputPayload& WithReturnControlResults(ReturnControlResultsT&& value) { SetReturnControlResults(std::forward<ReturnControlResultsT>(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 AgentCollaboratorInputPayload& 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 AgentCollaboratorInputPayload& WithType(PayloadType value) { SetType(value); return *this;}
76 private:
77
78 ReturnControlResults m_returnControlResults;
79 bool m_returnControlResultsHasBeenSet = 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
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInputPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInputPayload()=default
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInputPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentCollaboratorInputPayload & WithReturnControlResults(ReturnControlResultsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue