AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
McpServerDescriptor.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/DescriptorSource.h>
9#include <aws/agent-registry-control/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 AgentRegistryControl {
22namespace Model {
23
33 public:
34 AWS_AGENTREGISTRYCONTROL_API McpServerDescriptor() = default;
35 AWS_AGENTREGISTRYCONTROL_API McpServerDescriptor(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AGENTREGISTRYCONTROL_API McpServerDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetData() const { return m_data; }
44 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
45 template <typename DataT = Aws::String>
46 void SetData(DataT&& value) {
47 m_dataHasBeenSet = true;
48 m_data = std::forward<DataT>(value);
49 }
50 template <typename DataT = Aws::String>
51 McpServerDescriptor& WithData(DataT&& value) {
52 SetData(std::forward<DataT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDataSchemaVersion() const { return m_dataSchemaVersion; }
62 inline bool DataSchemaVersionHasBeenSet() const { return m_dataSchemaVersionHasBeenSet; }
63 template <typename DataSchemaVersionT = Aws::String>
64 void SetDataSchemaVersion(DataSchemaVersionT&& value) {
65 m_dataSchemaVersionHasBeenSet = true;
66 m_dataSchemaVersion = std::forward<DataSchemaVersionT>(value);
67 }
68 template <typename DataSchemaVersionT = Aws::String>
69 McpServerDescriptor& WithDataSchemaVersion(DataSchemaVersionT&& value) {
70 SetDataSchemaVersion(std::forward<DataSchemaVersionT>(value));
71 return *this;
72 }
74
76
80 inline const McpServerAdditionalData& GetAdditionalData() const { return m_additionalData; }
81 inline bool AdditionalDataHasBeenSet() const { return m_additionalDataHasBeenSet; }
82 template <typename AdditionalDataT = McpServerAdditionalData>
83 void SetAdditionalData(AdditionalDataT&& value) {
84 m_additionalDataHasBeenSet = true;
85 m_additionalData = std::forward<AdditionalDataT>(value);
86 }
87 template <typename AdditionalDataT = McpServerAdditionalData>
88 McpServerDescriptor& WithAdditionalData(AdditionalDataT&& value) {
89 SetAdditionalData(std::forward<AdditionalDataT>(value));
90 return *this;
91 }
93
95
99 inline const DescriptorSource& GetSource() const { return m_source; }
100 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
101 template <typename SourceT = DescriptorSource>
102 void SetSource(SourceT&& value) {
103 m_sourceHasBeenSet = true;
104 m_source = std::forward<SourceT>(value);
105 }
106 template <typename SourceT = DescriptorSource>
107 McpServerDescriptor& WithSource(SourceT&& value) {
108 SetSource(std::forward<SourceT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_data;
114
115 Aws::String m_dataSchemaVersion;
116
117 McpServerAdditionalData m_additionalData;
118
119 DescriptorSource m_source;
120 bool m_dataHasBeenSet = false;
121 bool m_dataSchemaVersionHasBeenSet = false;
122 bool m_additionalDataHasBeenSet = false;
123 bool m_sourceHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace AgentRegistryControl
128} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API McpServerDescriptor()=default
AWS_AGENTREGISTRYCONTROL_API McpServerDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
McpServerDescriptor & WithSource(SourceT &&value)
const McpServerAdditionalData & GetAdditionalData() const
McpServerDescriptor & WithAdditionalData(AdditionalDataT &&value)
McpServerDescriptor & WithDataSchemaVersion(DataSchemaVersionT &&value)
AWS_AGENTREGISTRYCONTROL_API McpServerDescriptor(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue