AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
30 public:
31 AWS_AGENTREGISTRY_API McpServerDescriptor() = default;
32 AWS_AGENTREGISTRY_API McpServerDescriptor(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRY_API McpServerDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetData() const { return m_data; }
39 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
40 template <typename DataT = Aws::String>
41 void SetData(DataT&& value) {
42 m_dataHasBeenSet = true;
43 m_data = std::forward<DataT>(value);
44 }
45 template <typename DataT = Aws::String>
46 McpServerDescriptor& WithData(DataT&& value) {
47 SetData(std::forward<DataT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetDataSchemaVersion() const { return m_dataSchemaVersion; }
55 inline bool DataSchemaVersionHasBeenSet() const { return m_dataSchemaVersionHasBeenSet; }
56 template <typename DataSchemaVersionT = Aws::String>
57 void SetDataSchemaVersion(DataSchemaVersionT&& value) {
58 m_dataSchemaVersionHasBeenSet = true;
59 m_dataSchemaVersion = std::forward<DataSchemaVersionT>(value);
60 }
61 template <typename DataSchemaVersionT = Aws::String>
62 McpServerDescriptor& WithDataSchemaVersion(DataSchemaVersionT&& value) {
63 SetDataSchemaVersion(std::forward<DataSchemaVersionT>(value));
64 return *this;
65 }
67
69
70 inline const McpServerAdditionalData& GetAdditionalData() const { return m_additionalData; }
71 inline bool AdditionalDataHasBeenSet() const { return m_additionalDataHasBeenSet; }
72 template <typename AdditionalDataT = McpServerAdditionalData>
73 void SetAdditionalData(AdditionalDataT&& value) {
74 m_additionalDataHasBeenSet = true;
75 m_additionalData = std::forward<AdditionalDataT>(value);
76 }
77 template <typename AdditionalDataT = McpServerAdditionalData>
78 McpServerDescriptor& WithAdditionalData(AdditionalDataT&& value) {
79 SetAdditionalData(std::forward<AdditionalDataT>(value));
80 return *this;
81 }
83
85
89 inline const DescriptorSource& GetSource() const { return m_source; }
90 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
91 template <typename SourceT = DescriptorSource>
92 void SetSource(SourceT&& value) {
93 m_sourceHasBeenSet = true;
94 m_source = std::forward<SourceT>(value);
95 }
96 template <typename SourceT = DescriptorSource>
97 McpServerDescriptor& WithSource(SourceT&& value) {
98 SetSource(std::forward<SourceT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_data;
104
105 Aws::String m_dataSchemaVersion;
106
107 McpServerAdditionalData m_additionalData;
108
109 DescriptorSource m_source;
110 bool m_dataHasBeenSet = false;
111 bool m_dataSchemaVersionHasBeenSet = false;
112 bool m_additionalDataHasBeenSet = false;
113 bool m_sourceHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace AgentRegistry
118} // 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