AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssociateAgentCollaboratorRequest.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#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace BedrockAgent
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BEDROCKAGENT_API AssociateAgentCollaboratorRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "AssociateAgentCollaborator"; }
34
35 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const AgentDescriptor& GetAgentDescriptor() const { return m_agentDescriptor; }
43 inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; }
44 template<typename AgentDescriptorT = AgentDescriptor>
45 void SetAgentDescriptor(AgentDescriptorT&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::forward<AgentDescriptorT>(value); }
46 template<typename AgentDescriptorT = AgentDescriptor>
47 AssociateAgentCollaboratorRequest& WithAgentDescriptor(AgentDescriptorT&& value) { SetAgentDescriptor(std::forward<AgentDescriptorT>(value)); return *this;}
49
51
54 inline const Aws::String& GetAgentId() const { return m_agentId; }
55 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
56 template<typename AgentIdT = Aws::String>
57 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
58 template<typename AgentIdT = Aws::String>
59 AssociateAgentCollaboratorRequest& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
67 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
68 template<typename AgentVersionT = Aws::String>
69 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
70 template<typename AgentVersionT = Aws::String>
71 AssociateAgentCollaboratorRequest& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetClientToken() const { return m_clientToken; }
79 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
80 template<typename ClientTokenT = Aws::String>
81 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
82 template<typename ClientTokenT = Aws::String>
83 AssociateAgentCollaboratorRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
85
87
90 inline const Aws::String& GetCollaborationInstruction() const { return m_collaborationInstruction; }
91 inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; }
92 template<typename CollaborationInstructionT = Aws::String>
93 void SetCollaborationInstruction(CollaborationInstructionT&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::forward<CollaborationInstructionT>(value); }
94 template<typename CollaborationInstructionT = Aws::String>
95 AssociateAgentCollaboratorRequest& WithCollaborationInstruction(CollaborationInstructionT&& value) { SetCollaborationInstruction(std::forward<CollaborationInstructionT>(value)); return *this;}
97
99
102 inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
103 inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
104 template<typename CollaboratorNameT = Aws::String>
105 void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
106 template<typename CollaboratorNameT = Aws::String>
107 AssociateAgentCollaboratorRequest& WithCollaboratorName(CollaboratorNameT&& value) { SetCollaboratorName(std::forward<CollaboratorNameT>(value)); return *this;}
109
111
114 inline RelayConversationHistory GetRelayConversationHistory() const { return m_relayConversationHistory; }
115 inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; }
116 inline void SetRelayConversationHistory(RelayConversationHistory value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; }
119 private:
120
121 AgentDescriptor m_agentDescriptor;
122 bool m_agentDescriptorHasBeenSet = false;
123
124 Aws::String m_agentId;
125 bool m_agentIdHasBeenSet = false;
126
127 Aws::String m_agentVersion;
128 bool m_agentVersionHasBeenSet = false;
129
131 bool m_clientTokenHasBeenSet = true;
132
133 Aws::String m_collaborationInstruction;
134 bool m_collaborationInstructionHasBeenSet = false;
135
136 Aws::String m_collaboratorName;
137 bool m_collaboratorNameHasBeenSet = false;
138
140 bool m_relayConversationHistoryHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace BedrockAgent
145} // namespace Aws
AssociateAgentCollaboratorRequest & WithClientToken(ClientTokenT &&value)
AWS_BEDROCKAGENT_API AssociateAgentCollaboratorRequest()=default
AssociateAgentCollaboratorRequest & WithCollaborationInstruction(CollaborationInstructionT &&value)
AssociateAgentCollaboratorRequest & WithAgentId(AgentIdT &&value)
AssociateAgentCollaboratorRequest & WithCollaboratorName(CollaboratorNameT &&value)
AssociateAgentCollaboratorRequest & WithAgentVersion(AgentVersionT &&value)
AssociateAgentCollaboratorRequest & WithAgentDescriptor(AgentDescriptorT &&value)
AssociateAgentCollaboratorRequest & WithRelayConversationHistory(RelayConversationHistory value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String