AWS SDK for C++

AWS SDK for C++ Version 1.11.884

Loading...
Searching...
No Matches
Descriptors.h
1
6#pragma once
7#include <aws/agent-registry/AgentRegistry_EXPORTS.h>
8#include <aws/agent-registry/model/A2aAgentCardDescriptor.h>
9#include <aws/agent-registry/model/AgUiDescriptor.h>
10#include <aws/agent-registry/model/AgentSkillsDefinitionDescriptor.h>
11#include <aws/agent-registry/model/CustomDescriptor.h>
12#include <aws/agent-registry/model/HttpDescriptor.h>
13#include <aws/agent-registry/model/McpServerDescriptor.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AgentRegistry {
25namespace Model {
26
34 public:
35 AWS_AGENTREGISTRY_API Descriptors() = default;
36 AWS_AGENTREGISTRY_API Descriptors(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGENTREGISTRY_API Descriptors& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const McpServerDescriptor& GetMcpServer() const { return m_mcpServer; }
45 inline bool McpServerHasBeenSet() const { return m_mcpServerHasBeenSet; }
46 template <typename McpServerT = McpServerDescriptor>
47 void SetMcpServer(McpServerT&& value) {
48 m_mcpServerHasBeenSet = true;
49 m_mcpServer = std::forward<McpServerT>(value);
50 }
51 template <typename McpServerT = McpServerDescriptor>
52 Descriptors& WithMcpServer(McpServerT&& value) {
53 SetMcpServer(std::forward<McpServerT>(value));
54 return *this;
55 }
57
59
62 inline const A2aAgentCardDescriptor& GetA2aAgentCard() const { return m_a2aAgentCard; }
63 inline bool A2aAgentCardHasBeenSet() const { return m_a2aAgentCardHasBeenSet; }
64 template <typename A2aAgentCardT = A2aAgentCardDescriptor>
65 void SetA2aAgentCard(A2aAgentCardT&& value) {
66 m_a2aAgentCardHasBeenSet = true;
67 m_a2aAgentCard = std::forward<A2aAgentCardT>(value);
68 }
69 template <typename A2aAgentCardT = A2aAgentCardDescriptor>
70 Descriptors& WithA2aAgentCard(A2aAgentCardT&& value) {
71 SetA2aAgentCard(std::forward<A2aAgentCardT>(value));
72 return *this;
73 }
75
77
81 inline const AgentSkillsDefinitionDescriptor& GetAgentSkillsDefinition() const { return m_agentSkillsDefinition; }
82 inline bool AgentSkillsDefinitionHasBeenSet() const { return m_agentSkillsDefinitionHasBeenSet; }
83 template <typename AgentSkillsDefinitionT = AgentSkillsDefinitionDescriptor>
84 void SetAgentSkillsDefinition(AgentSkillsDefinitionT&& value) {
85 m_agentSkillsDefinitionHasBeenSet = true;
86 m_agentSkillsDefinition = std::forward<AgentSkillsDefinitionT>(value);
87 }
88 template <typename AgentSkillsDefinitionT = AgentSkillsDefinitionDescriptor>
89 Descriptors& WithAgentSkillsDefinition(AgentSkillsDefinitionT&& value) {
90 SetAgentSkillsDefinition(std::forward<AgentSkillsDefinitionT>(value));
91 return *this;
92 }
94
96
99 inline const CustomDescriptor& GetCustom() const { return m_custom; }
100 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
101 template <typename CustomT = CustomDescriptor>
102 void SetCustom(CustomT&& value) {
103 m_customHasBeenSet = true;
104 m_custom = std::forward<CustomT>(value);
105 }
106 template <typename CustomT = CustomDescriptor>
107 Descriptors& WithCustom(CustomT&& value) {
108 SetCustom(std::forward<CustomT>(value));
109 return *this;
110 }
112
114
117 inline const HttpDescriptor& GetHttp() const { return m_http; }
118 inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
119 template <typename HttpT = HttpDescriptor>
120 void SetHttp(HttpT&& value) {
121 m_httpHasBeenSet = true;
122 m_http = std::forward<HttpT>(value);
123 }
124 template <typename HttpT = HttpDescriptor>
125 Descriptors& WithHttp(HttpT&& value) {
126 SetHttp(std::forward<HttpT>(value));
127 return *this;
128 }
130
132
136 inline const AgUiDescriptor& GetAgui() const { return m_agui; }
137 inline bool AguiHasBeenSet() const { return m_aguiHasBeenSet; }
138 template <typename AguiT = AgUiDescriptor>
139 void SetAgui(AguiT&& value) {
140 m_aguiHasBeenSet = true;
141 m_agui = std::forward<AguiT>(value);
142 }
143 template <typename AguiT = AgUiDescriptor>
144 Descriptors& WithAgui(AguiT&& value) {
145 SetAgui(std::forward<AguiT>(value));
146 return *this;
147 }
149 private:
150 McpServerDescriptor m_mcpServer;
151
152 A2aAgentCardDescriptor m_a2aAgentCard;
153
154 AgentSkillsDefinitionDescriptor m_agentSkillsDefinition;
155
156 CustomDescriptor m_custom;
157
158 HttpDescriptor m_http;
159
160 AgUiDescriptor m_agui;
161 bool m_mcpServerHasBeenSet = false;
162 bool m_a2aAgentCardHasBeenSet = false;
163 bool m_agentSkillsDefinitionHasBeenSet = false;
164 bool m_customHasBeenSet = false;
165 bool m_httpHasBeenSet = false;
166 bool m_aguiHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace AgentRegistry
171} // namespace Aws
Descriptors & WithA2aAgentCard(A2aAgentCardT &&value)
Definition Descriptors.h:70
AWS_AGENTREGISTRY_API Descriptors()=default
AWS_AGENTREGISTRY_API Descriptors(Aws::Utils::Json::JsonView jsonValue)
const McpServerDescriptor & GetMcpServer() const
Definition Descriptors.h:44
void SetA2aAgentCard(A2aAgentCardT &&value)
Definition Descriptors.h:65
Descriptors & WithAgentSkillsDefinition(AgentSkillsDefinitionT &&value)
Definition Descriptors.h:89
void SetAgentSkillsDefinition(AgentSkillsDefinitionT &&value)
Definition Descriptors.h:84
void SetMcpServer(McpServerT &&value)
Definition Descriptors.h:47
Descriptors & WithCustom(CustomT &&value)
const CustomDescriptor & GetCustom() const
Definition Descriptors.h:99
Descriptors & WithMcpServer(McpServerT &&value)
Definition Descriptors.h:52
AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
Descriptors & WithAgui(AguiT &&value)
Descriptors & WithHttp(HttpT &&value)
AWS_AGENTREGISTRY_API Descriptors & operator=(Aws::Utils::Json::JsonView jsonValue)
const AgUiDescriptor & GetAgui() const
const AgentSkillsDefinitionDescriptor & GetAgentSkillsDefinition() const
Definition Descriptors.h:81
const HttpDescriptor & GetHttp() const
const A2aAgentCardDescriptor & GetA2aAgentCard() const
Definition Descriptors.h:62
Aws::Utils::Json::JsonValue JsonValue