AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CollaboratorConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/RelayConversationHistory.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API CollaboratorConfiguration() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAgentAliasArn() const { return m_agentAliasArn; }
40 inline bool AgentAliasArnHasBeenSet() const { return m_agentAliasArnHasBeenSet; }
41 template <typename AgentAliasArnT = Aws::String>
43 m_agentAliasArnHasBeenSet = true;
44 m_agentAliasArn = std::forward<AgentAliasArnT>(value);
45 }
46 template <typename AgentAliasArnT = Aws::String>
48 SetAgentAliasArn(std::forward<AgentAliasArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetCollaboratorInstruction() const { return m_collaboratorInstruction; }
59 inline bool CollaboratorInstructionHasBeenSet() const { return m_collaboratorInstructionHasBeenSet; }
60 template <typename CollaboratorInstructionT = Aws::String>
62 m_collaboratorInstructionHasBeenSet = true;
63 m_collaboratorInstruction = std::forward<CollaboratorInstructionT>(value);
64 }
65 template <typename CollaboratorInstructionT = Aws::String>
67 SetCollaboratorInstruction(std::forward<CollaboratorInstructionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
78 inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
79 template <typename CollaboratorNameT = Aws::String>
81 m_collaboratorNameHasBeenSet = true;
82 m_collaboratorName = std::forward<CollaboratorNameT>(value);
83 }
84 template <typename CollaboratorNameT = Aws::String>
86 SetCollaboratorName(std::forward<CollaboratorNameT>(value));
87 return *this;
88 }
90
92
95 inline RelayConversationHistory GetRelayConversationHistory() const { return m_relayConversationHistory; }
96 inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; }
98 m_relayConversationHistoryHasBeenSet = true;
99 m_relayConversationHistory = value;
100 }
103 return *this;
104 }
106 private:
107 Aws::String m_agentAliasArn;
108
109 Aws::String m_collaboratorInstruction;
110
111 Aws::String m_collaboratorName;
112
114 bool m_agentAliasArnHasBeenSet = false;
115 bool m_collaboratorInstructionHasBeenSet = false;
116 bool m_collaboratorNameHasBeenSet = false;
117 bool m_relayConversationHistoryHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace BedrockAgentRuntime
122} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API CollaboratorConfiguration(Aws::Utils::Json::JsonView jsonValue)
CollaboratorConfiguration & WithRelayConversationHistory(RelayConversationHistory value)
CollaboratorConfiguration & WithAgentAliasArn(AgentAliasArnT &&value)
AWS_BEDROCKAGENTRUNTIME_API CollaboratorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CollaboratorConfiguration & WithCollaboratorInstruction(CollaboratorInstructionT &&value)
AWS_BEDROCKAGENTRUNTIME_API CollaboratorConfiguration()=default
CollaboratorConfiguration & WithCollaboratorName(CollaboratorNameT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue