AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AgentCollaboratorInvocationOutput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/Metadata.h>
10#include <aws/bedrock-agent-runtime/model/AgentCollaboratorOutputPayload.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
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInvocationOutput() = default;
37 AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInvocationOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAgentCollaboratorAliasArn() const { return m_agentCollaboratorAliasArn; }
47 inline bool AgentCollaboratorAliasArnHasBeenSet() const { return m_agentCollaboratorAliasArnHasBeenSet; }
48 template<typename AgentCollaboratorAliasArnT = Aws::String>
49 void SetAgentCollaboratorAliasArn(AgentCollaboratorAliasArnT&& value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn = std::forward<AgentCollaboratorAliasArnT>(value); }
50 template<typename AgentCollaboratorAliasArnT = Aws::String>
51 AgentCollaboratorInvocationOutput& WithAgentCollaboratorAliasArn(AgentCollaboratorAliasArnT&& value) { SetAgentCollaboratorAliasArn(std::forward<AgentCollaboratorAliasArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAgentCollaboratorName() const { return m_agentCollaboratorName; }
59 inline bool AgentCollaboratorNameHasBeenSet() const { return m_agentCollaboratorNameHasBeenSet; }
60 template<typename AgentCollaboratorNameT = Aws::String>
61 void SetAgentCollaboratorName(AgentCollaboratorNameT&& value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName = std::forward<AgentCollaboratorNameT>(value); }
62 template<typename AgentCollaboratorNameT = Aws::String>
63 AgentCollaboratorInvocationOutput& WithAgentCollaboratorName(AgentCollaboratorNameT&& value) { SetAgentCollaboratorName(std::forward<AgentCollaboratorNameT>(value)); return *this;}
65
67
70 inline const Metadata& GetMetadata() const { return m_metadata; }
71 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
72 template<typename MetadataT = Metadata>
73 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
74 template<typename MetadataT = Metadata>
75 AgentCollaboratorInvocationOutput& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
77
79
82 inline const AgentCollaboratorOutputPayload& GetOutput() const { return m_output; }
83 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
84 template<typename OutputT = AgentCollaboratorOutputPayload>
85 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
86 template<typename OutputT = AgentCollaboratorOutputPayload>
87 AgentCollaboratorInvocationOutput& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
89 private:
90
91 Aws::String m_agentCollaboratorAliasArn;
92 bool m_agentCollaboratorAliasArnHasBeenSet = false;
93
94 Aws::String m_agentCollaboratorName;
95 bool m_agentCollaboratorNameHasBeenSet = false;
96
97 Metadata m_metadata;
98 bool m_metadataHasBeenSet = false;
99
101 bool m_outputHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace BedrockAgentRuntime
106} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentCollaboratorInvocationOutput & WithAgentCollaboratorAliasArn(AgentCollaboratorAliasArnT &&value)
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API AgentCollaboratorInvocationOutput()=default
AgentCollaboratorInvocationOutput & WithAgentCollaboratorName(AgentCollaboratorNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue