AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAgentCollaboratorRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/bedrock-agent/model/AgentDescriptor.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent/model/RelayConversationHistory.h>
12#include <utility>
13
14namespace Aws
15{
16namespace BedrockAgent
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_BEDROCKAGENT_API UpdateAgentCollaboratorRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentCollaborator"; }
33
34 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const AgentDescriptor& GetAgentDescriptor() const { return m_agentDescriptor; }
42 inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; }
43 template<typename AgentDescriptorT = AgentDescriptor>
44 void SetAgentDescriptor(AgentDescriptorT&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::forward<AgentDescriptorT>(value); }
45 template<typename AgentDescriptorT = AgentDescriptor>
46 UpdateAgentCollaboratorRequest& WithAgentDescriptor(AgentDescriptorT&& value) { SetAgentDescriptor(std::forward<AgentDescriptorT>(value)); return *this;}
48
50
53 inline const Aws::String& GetAgentId() const { return m_agentId; }
54 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
55 template<typename AgentIdT = Aws::String>
56 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
57 template<typename AgentIdT = Aws::String>
58 UpdateAgentCollaboratorRequest& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
66 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
67 template<typename AgentVersionT = Aws::String>
68 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
69 template<typename AgentVersionT = Aws::String>
70 UpdateAgentCollaboratorRequest& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
72
74
77 inline const Aws::String& GetCollaborationInstruction() const { return m_collaborationInstruction; }
78 inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; }
79 template<typename CollaborationInstructionT = Aws::String>
80 void SetCollaborationInstruction(CollaborationInstructionT&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::forward<CollaborationInstructionT>(value); }
81 template<typename CollaborationInstructionT = Aws::String>
82 UpdateAgentCollaboratorRequest& WithCollaborationInstruction(CollaborationInstructionT&& value) { SetCollaborationInstruction(std::forward<CollaborationInstructionT>(value)); return *this;}
84
86
89 inline const Aws::String& GetCollaboratorId() const { return m_collaboratorId; }
90 inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; }
91 template<typename CollaboratorIdT = Aws::String>
92 void SetCollaboratorId(CollaboratorIdT&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::forward<CollaboratorIdT>(value); }
93 template<typename CollaboratorIdT = Aws::String>
94 UpdateAgentCollaboratorRequest& WithCollaboratorId(CollaboratorIdT&& value) { SetCollaboratorId(std::forward<CollaboratorIdT>(value)); return *this;}
96
98
101 inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
102 inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
103 template<typename CollaboratorNameT = Aws::String>
104 void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
105 template<typename CollaboratorNameT = Aws::String>
106 UpdateAgentCollaboratorRequest& WithCollaboratorName(CollaboratorNameT&& value) { SetCollaboratorName(std::forward<CollaboratorNameT>(value)); return *this;}
108
110
113 inline RelayConversationHistory GetRelayConversationHistory() const { return m_relayConversationHistory; }
114 inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; }
115 inline void SetRelayConversationHistory(RelayConversationHistory value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; }
118 private:
119
120 AgentDescriptor m_agentDescriptor;
121 bool m_agentDescriptorHasBeenSet = false;
122
123 Aws::String m_agentId;
124 bool m_agentIdHasBeenSet = false;
125
126 Aws::String m_agentVersion;
127 bool m_agentVersionHasBeenSet = false;
128
129 Aws::String m_collaborationInstruction;
130 bool m_collaborationInstructionHasBeenSet = false;
131
132 Aws::String m_collaboratorId;
133 bool m_collaboratorIdHasBeenSet = false;
134
135 Aws::String m_collaboratorName;
136 bool m_collaboratorNameHasBeenSet = false;
137
139 bool m_relayConversationHistoryHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace BedrockAgent
144} // namespace Aws
UpdateAgentCollaboratorRequest & WithRelayConversationHistory(RelayConversationHistory value)
UpdateAgentCollaboratorRequest & WithCollaborationInstruction(CollaborationInstructionT &&value)
UpdateAgentCollaboratorRequest & WithAgentVersion(AgentVersionT &&value)
AWS_BEDROCKAGENT_API UpdateAgentCollaboratorRequest()=default
UpdateAgentCollaboratorRequest & WithAgentId(AgentIdT &&value)
UpdateAgentCollaboratorRequest & WithCollaboratorName(CollaboratorNameT &&value)
UpdateAgentCollaboratorRequest & WithAgentDescriptor(AgentDescriptorT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentCollaboratorRequest & WithCollaboratorId(CollaboratorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String