AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
Descriptors.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/A2aDescriptor.h>
9#include <aws/bedrock-agentcore/model/AgentSkillsDescriptor.h>
10#include <aws/bedrock-agentcore/model/CustomDescriptor.h>
11#include <aws/bedrock-agentcore/model/McpDescriptor.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentCore {
23namespace Model {
24
33 public:
34 AWS_BEDROCKAGENTCORE_API Descriptors() = default;
35 AWS_BEDROCKAGENTCORE_API Descriptors(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENTCORE_API Descriptors& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const McpDescriptor& GetMcp() const { return m_mcp; }
45 inline bool McpHasBeenSet() const { return m_mcpHasBeenSet; }
46 template <typename McpT = McpDescriptor>
47 void SetMcp(McpT&& value) {
48 m_mcpHasBeenSet = true;
49 m_mcp = std::forward<McpT>(value);
50 }
51 template <typename McpT = McpDescriptor>
52 Descriptors& WithMcp(McpT&& value) {
53 SetMcp(std::forward<McpT>(value));
54 return *this;
55 }
57
59
63 inline const A2aDescriptor& GetA2a() const { return m_a2a; }
64 inline bool A2aHasBeenSet() const { return m_a2aHasBeenSet; }
65 template <typename A2aT = A2aDescriptor>
66 void SetA2a(A2aT&& value) {
67 m_a2aHasBeenSet = true;
68 m_a2a = std::forward<A2aT>(value);
69 }
70 template <typename A2aT = A2aDescriptor>
71 Descriptors& WithA2a(A2aT&& value) {
72 SetA2a(std::forward<A2aT>(value));
73 return *this;
74 }
76
78
82 inline const CustomDescriptor& GetCustom() const { return m_custom; }
83 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
84 template <typename CustomT = CustomDescriptor>
85 void SetCustom(CustomT&& value) {
86 m_customHasBeenSet = true;
87 m_custom = std::forward<CustomT>(value);
88 }
89 template <typename CustomT = CustomDescriptor>
90 Descriptors& WithCustom(CustomT&& value) {
91 SetCustom(std::forward<CustomT>(value));
92 return *this;
93 }
95
97
101 inline const AgentSkillsDescriptor& GetAgentSkills() const { return m_agentSkills; }
102 inline bool AgentSkillsHasBeenSet() const { return m_agentSkillsHasBeenSet; }
103 template <typename AgentSkillsT = AgentSkillsDescriptor>
104 void SetAgentSkills(AgentSkillsT&& value) {
105 m_agentSkillsHasBeenSet = true;
106 m_agentSkills = std::forward<AgentSkillsT>(value);
107 }
108 template <typename AgentSkillsT = AgentSkillsDescriptor>
109 Descriptors& WithAgentSkills(AgentSkillsT&& value) {
110 SetAgentSkills(std::forward<AgentSkillsT>(value));
111 return *this;
112 }
114 private:
115 McpDescriptor m_mcp;
116
117 A2aDescriptor m_a2a;
118
119 CustomDescriptor m_custom;
120
121 AgentSkillsDescriptor m_agentSkills;
122 bool m_mcpHasBeenSet = false;
123 bool m_a2aHasBeenSet = false;
124 bool m_customHasBeenSet = false;
125 bool m_agentSkillsHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace BedrockAgentCore
130} // namespace Aws
const CustomDescriptor & GetCustom() const
Definition Descriptors.h:82
AWS_BEDROCKAGENTCORE_API Descriptors()=default
AWS_BEDROCKAGENTCORE_API Descriptors(Aws::Utils::Json::JsonView jsonValue)
Descriptors & WithMcp(McpT &&value)
Definition Descriptors.h:52
Descriptors & WithAgentSkills(AgentSkillsT &&value)
const McpDescriptor & GetMcp() const
Definition Descriptors.h:44
const A2aDescriptor & GetA2a() const
Definition Descriptors.h:63
Descriptors & WithCustom(CustomT &&value)
Definition Descriptors.h:90
AWS_BEDROCKAGENTCORE_API Descriptors & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentSkills(AgentSkillsT &&value)
Descriptors & WithA2a(A2aT &&value)
Definition Descriptors.h:71
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
const AgentSkillsDescriptor & GetAgentSkills() const
Aws::Utils::Json::JsonValue JsonValue