AWS SDK for C++

AWS SDK for C++ Version 1.11.884

Loading...
Searching...
No Matches
McpServerDescriptor.h
1
6#pragma once
7#include <aws/agent-registry/AgentRegistry_EXPORTS.h>
8#include <aws/agent-registry/model/DescriptorSource.h>
9#include <aws/agent-registry/model/McpServerAdditionalData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AgentRegistry {
22namespace Model {
23
33 public:
34 AWS_AGENTREGISTRY_API McpServerDescriptor() = default;
35 AWS_AGENTREGISTRY_API McpServerDescriptor(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AGENTREGISTRY_API McpServerDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetData() const { return m_data; }
45 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
46 template <typename DataT = Aws::String>
47 void SetData(DataT&& value) {
48 m_dataHasBeenSet = true;
49 m_data = std::forward<DataT>(value);
50 }
51 template <typename DataT = Aws::String>
52 McpServerDescriptor& WithData(DataT&& value) {
53 SetData(std::forward<DataT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDataSchemaVersion() const { return m_dataSchemaVersion; }
63 inline bool DataSchemaVersionHasBeenSet() const { return m_dataSchemaVersionHasBeenSet; }
64 template <typename DataSchemaVersionT = Aws::String>
65 void SetDataSchemaVersion(DataSchemaVersionT&& value) {
66 m_dataSchemaVersionHasBeenSet = true;
67 m_dataSchemaVersion = std::forward<DataSchemaVersionT>(value);
68 }
69 template <typename DataSchemaVersionT = Aws::String>
70 McpServerDescriptor& WithDataSchemaVersion(DataSchemaVersionT&& value) {
71 SetDataSchemaVersion(std::forward<DataSchemaVersionT>(value));
72 return *this;
73 }
75
77
81 inline const McpServerAdditionalData& GetAdditionalData() const { return m_additionalData; }
82 inline bool AdditionalDataHasBeenSet() const { return m_additionalDataHasBeenSet; }
83 template <typename AdditionalDataT = McpServerAdditionalData>
84 void SetAdditionalData(AdditionalDataT&& value) {
85 m_additionalDataHasBeenSet = true;
86 m_additionalData = std::forward<AdditionalDataT>(value);
87 }
88 template <typename AdditionalDataT = McpServerAdditionalData>
89 McpServerDescriptor& WithAdditionalData(AdditionalDataT&& value) {
90 SetAdditionalData(std::forward<AdditionalDataT>(value));
91 return *this;
92 }
94
96
100 inline const DescriptorSource& GetSource() const { return m_source; }
101 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
102 template <typename SourceT = DescriptorSource>
103 void SetSource(SourceT&& value) {
104 m_sourceHasBeenSet = true;
105 m_source = std::forward<SourceT>(value);
106 }
107 template <typename SourceT = DescriptorSource>
108 McpServerDescriptor& WithSource(SourceT&& value) {
109 SetSource(std::forward<SourceT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_data;
115
116 Aws::String m_dataSchemaVersion;
117
118 McpServerAdditionalData m_additionalData;
119
120 DescriptorSource m_source;
121 bool m_dataHasBeenSet = false;
122 bool m_dataSchemaVersionHasBeenSet = false;
123 bool m_additionalDataHasBeenSet = false;
124 bool m_sourceHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace AgentRegistry
129} // namespace Aws
AWS_AGENTREGISTRY_API McpServerDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRY_API McpServerDescriptor()=default
void SetDataSchemaVersion(DataSchemaVersionT &&value)
McpServerDescriptor & WithDataSchemaVersion(DataSchemaVersionT &&value)
const McpServerAdditionalData & GetAdditionalData() const
McpServerDescriptor & WithSource(SourceT &&value)
AWS_AGENTREGISTRY_API McpServerDescriptor(Aws::Utils::Json::JsonView jsonValue)
McpServerDescriptor & WithAdditionalData(AdditionalDataT &&value)
McpServerDescriptor & WithData(DataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue