AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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/AgentSkillsDefinitionDescriptor.h>
10#include <aws/agent-registry/model/CustomDescriptor.h>
11#include <aws/agent-registry/model/McpServerDescriptor.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AgentRegistry {
23namespace Model {
24
32 public:
33 AWS_AGENTREGISTRY_API Descriptors() = default;
34 AWS_AGENTREGISTRY_API Descriptors(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AGENTREGISTRY_API Descriptors& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const McpServerDescriptor& GetMcpServer() const { return m_mcpServer; }
41 inline bool McpServerHasBeenSet() const { return m_mcpServerHasBeenSet; }
42 template <typename McpServerT = McpServerDescriptor>
43 void SetMcpServer(McpServerT&& value) {
44 m_mcpServerHasBeenSet = true;
45 m_mcpServer = std::forward<McpServerT>(value);
46 }
47 template <typename McpServerT = McpServerDescriptor>
48 Descriptors& WithMcpServer(McpServerT&& value) {
49 SetMcpServer(std::forward<McpServerT>(value));
50 return *this;
51 }
53
55
56 inline const A2aAgentCardDescriptor& GetA2aAgentCard() const { return m_a2aAgentCard; }
57 inline bool A2aAgentCardHasBeenSet() const { return m_a2aAgentCardHasBeenSet; }
58 template <typename A2aAgentCardT = A2aAgentCardDescriptor>
59 void SetA2aAgentCard(A2aAgentCardT&& value) {
60 m_a2aAgentCardHasBeenSet = true;
61 m_a2aAgentCard = std::forward<A2aAgentCardT>(value);
62 }
63 template <typename A2aAgentCardT = A2aAgentCardDescriptor>
64 Descriptors& WithA2aAgentCard(A2aAgentCardT&& value) {
65 SetA2aAgentCard(std::forward<A2aAgentCardT>(value));
66 return *this;
67 }
69
71
72 inline const AgentSkillsDefinitionDescriptor& GetAgentSkillsDefinition() const { return m_agentSkillsDefinition; }
73 inline bool AgentSkillsDefinitionHasBeenSet() const { return m_agentSkillsDefinitionHasBeenSet; }
74 template <typename AgentSkillsDefinitionT = AgentSkillsDefinitionDescriptor>
75 void SetAgentSkillsDefinition(AgentSkillsDefinitionT&& value) {
76 m_agentSkillsDefinitionHasBeenSet = true;
77 m_agentSkillsDefinition = std::forward<AgentSkillsDefinitionT>(value);
78 }
79 template <typename AgentSkillsDefinitionT = AgentSkillsDefinitionDescriptor>
80 Descriptors& WithAgentSkillsDefinition(AgentSkillsDefinitionT&& value) {
81 SetAgentSkillsDefinition(std::forward<AgentSkillsDefinitionT>(value));
82 return *this;
83 }
85
87
88 inline const CustomDescriptor& GetCustom() const { return m_custom; }
89 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
90 template <typename CustomT = CustomDescriptor>
91 void SetCustom(CustomT&& value) {
92 m_customHasBeenSet = true;
93 m_custom = std::forward<CustomT>(value);
94 }
95 template <typename CustomT = CustomDescriptor>
96 Descriptors& WithCustom(CustomT&& value) {
97 SetCustom(std::forward<CustomT>(value));
98 return *this;
99 }
101 private:
102 McpServerDescriptor m_mcpServer;
103
104 A2aAgentCardDescriptor m_a2aAgentCard;
105
106 AgentSkillsDefinitionDescriptor m_agentSkillsDefinition;
107
108 CustomDescriptor m_custom;
109 bool m_mcpServerHasBeenSet = false;
110 bool m_a2aAgentCardHasBeenSet = false;
111 bool m_agentSkillsDefinitionHasBeenSet = false;
112 bool m_customHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace AgentRegistry
117} // namespace Aws
Descriptors & WithA2aAgentCard(A2aAgentCardT &&value)
Definition Descriptors.h:64
AWS_AGENTREGISTRY_API Descriptors()=default
AWS_AGENTREGISTRY_API Descriptors(Aws::Utils::Json::JsonView jsonValue)
const McpServerDescriptor & GetMcpServer() const
Definition Descriptors.h:40
void SetA2aAgentCard(A2aAgentCardT &&value)
Definition Descriptors.h:59
Descriptors & WithAgentSkillsDefinition(AgentSkillsDefinitionT &&value)
Definition Descriptors.h:80
void SetAgentSkillsDefinition(AgentSkillsDefinitionT &&value)
Definition Descriptors.h:75
void SetMcpServer(McpServerT &&value)
Definition Descriptors.h:43
Descriptors & WithCustom(CustomT &&value)
Definition Descriptors.h:96
const CustomDescriptor & GetCustom() const
Definition Descriptors.h:88
Descriptors & WithMcpServer(McpServerT &&value)
Definition Descriptors.h:48
AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRY_API Descriptors & operator=(Aws::Utils::Json::JsonView jsonValue)
const AgentSkillsDefinitionDescriptor & GetAgentSkillsDefinition() const
Definition Descriptors.h:72
const A2aAgentCardDescriptor & GetA2aAgentCard() const
Definition Descriptors.h:56
Aws::Utils::Json::JsonValue JsonValue