AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AgentCollaboratorSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentDescriptor.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-agent/model/RelayConversationHistory.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BEDROCKAGENT_API AgentCollaboratorSummary() = default;
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AgentDescriptor& GetAgentDescriptor() const { return m_agentDescriptor; }
48 inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; }
49 template<typename AgentDescriptorT = AgentDescriptor>
50 void SetAgentDescriptor(AgentDescriptorT&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::forward<AgentDescriptorT>(value); }
51 template<typename AgentDescriptorT = AgentDescriptor>
52 AgentCollaboratorSummary& WithAgentDescriptor(AgentDescriptorT&& value) { SetAgentDescriptor(std::forward<AgentDescriptorT>(value)); return *this;}
54
56
59 inline const Aws::String& GetAgentId() const { return m_agentId; }
60 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
61 template<typename AgentIdT = Aws::String>
62 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
63 template<typename AgentIdT = Aws::String>
64 AgentCollaboratorSummary& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
72 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
73 template<typename AgentVersionT = Aws::String>
74 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
75 template<typename AgentVersionT = Aws::String>
76 AgentCollaboratorSummary& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetCollaborationInstruction() const { return m_collaborationInstruction; }
84 inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; }
85 template<typename CollaborationInstructionT = Aws::String>
86 void SetCollaborationInstruction(CollaborationInstructionT&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::forward<CollaborationInstructionT>(value); }
87 template<typename CollaborationInstructionT = Aws::String>
88 AgentCollaboratorSummary& WithCollaborationInstruction(CollaborationInstructionT&& value) { SetCollaborationInstruction(std::forward<CollaborationInstructionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetCollaboratorId() const { return m_collaboratorId; }
96 inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; }
97 template<typename CollaboratorIdT = Aws::String>
98 void SetCollaboratorId(CollaboratorIdT&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::forward<CollaboratorIdT>(value); }
99 template<typename CollaboratorIdT = Aws::String>
100 AgentCollaboratorSummary& WithCollaboratorId(CollaboratorIdT&& value) { SetCollaboratorId(std::forward<CollaboratorIdT>(value)); return *this;}
102
104
107 inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
108 inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
109 template<typename CollaboratorNameT = Aws::String>
110 void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
111 template<typename CollaboratorNameT = Aws::String>
112 AgentCollaboratorSummary& WithCollaboratorName(CollaboratorNameT&& value) { SetCollaboratorName(std::forward<CollaboratorNameT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
120 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
121 template<typename CreatedAtT = Aws::Utils::DateTime>
122 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
123 template<typename CreatedAtT = Aws::Utils::DateTime>
124 AgentCollaboratorSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
132 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
133 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
134 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
135 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
136 AgentCollaboratorSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
138
140
143 inline RelayConversationHistory GetRelayConversationHistory() const { return m_relayConversationHistory; }
144 inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; }
145 inline void SetRelayConversationHistory(RelayConversationHistory value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; }
148 private:
149
150 AgentDescriptor m_agentDescriptor;
151 bool m_agentDescriptorHasBeenSet = false;
152
153 Aws::String m_agentId;
154 bool m_agentIdHasBeenSet = false;
155
156 Aws::String m_agentVersion;
157 bool m_agentVersionHasBeenSet = false;
158
159 Aws::String m_collaborationInstruction;
160 bool m_collaborationInstructionHasBeenSet = false;
161
162 Aws::String m_collaboratorId;
163 bool m_collaboratorIdHasBeenSet = false;
164
165 Aws::String m_collaboratorName;
166 bool m_collaboratorNameHasBeenSet = false;
167
168 Aws::Utils::DateTime m_createdAt{};
169 bool m_createdAtHasBeenSet = false;
170
171 Aws::Utils::DateTime m_lastUpdatedAt{};
172 bool m_lastUpdatedAtHasBeenSet = false;
173
175 bool m_relayConversationHistoryHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace BedrockAgent
180} // namespace Aws
AWS_BEDROCKAGENT_API AgentCollaboratorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API AgentCollaboratorSummary(Aws::Utils::Json::JsonView jsonValue)
AgentCollaboratorSummary & WithCollaborationInstruction(CollaborationInstructionT &&value)
AgentCollaboratorSummary & WithRelayConversationHistory(RelayConversationHistory value)
AgentCollaboratorSummary & WithCreatedAt(CreatedAtT &&value)
AgentCollaboratorSummary & WithAgentDescriptor(AgentDescriptorT &&value)
AgentCollaboratorSummary & WithCollaboratorName(CollaboratorNameT &&value)
AgentCollaboratorSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCollaborationInstruction(CollaborationInstructionT &&value)
AWS_BEDROCKAGENT_API AgentCollaboratorSummary()=default
AgentCollaboratorSummary & WithAgentVersion(AgentVersionT &&value)
void SetRelayConversationHistory(RelayConversationHistory value)
AgentCollaboratorSummary & WithAgentId(AgentIdT &&value)
AgentCollaboratorSummary & WithCollaboratorId(CollaboratorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue