AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
A2aAgentCardDescriptor.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/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AgentRegistryControl {
21namespace Model {
22
31 public:
32 AWS_AGENTREGISTRYCONTROL_API A2aAgentCardDescriptor() = default;
33 AWS_AGENTREGISTRYCONTROL_API A2aAgentCardDescriptor(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API A2aAgentCardDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetData() const { return m_data; }
42 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
43 template <typename DataT = Aws::String>
44 void SetData(DataT&& value) {
45 m_dataHasBeenSet = true;
46 m_data = std::forward<DataT>(value);
47 }
48 template <typename DataT = Aws::String>
50 SetData(std::forward<DataT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDataSchemaVersion() const { return m_dataSchemaVersion; }
60 inline bool DataSchemaVersionHasBeenSet() const { return m_dataSchemaVersionHasBeenSet; }
61 template <typename DataSchemaVersionT = Aws::String>
62 void SetDataSchemaVersion(DataSchemaVersionT&& value) {
63 m_dataSchemaVersionHasBeenSet = true;
64 m_dataSchemaVersion = std::forward<DataSchemaVersionT>(value);
65 }
66 template <typename DataSchemaVersionT = Aws::String>
67 A2aAgentCardDescriptor& WithDataSchemaVersion(DataSchemaVersionT&& value) {
68 SetDataSchemaVersion(std::forward<DataSchemaVersionT>(value));
69 return *this;
70 }
72
74
78 inline const DescriptorSource& GetSource() const { return m_source; }
79 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
80 template <typename SourceT = DescriptorSource>
81 void SetSource(SourceT&& value) {
82 m_sourceHasBeenSet = true;
83 m_source = std::forward<SourceT>(value);
84 }
85 template <typename SourceT = DescriptorSource>
87 SetSource(std::forward<SourceT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_data;
93
94 Aws::String m_dataSchemaVersion;
95
96 DescriptorSource m_source;
97 bool m_dataHasBeenSet = false;
98 bool m_dataSchemaVersionHasBeenSet = false;
99 bool m_sourceHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace AgentRegistryControl
104} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API A2aAgentCardDescriptor()=default
AWS_AGENTREGISTRYCONTROL_API A2aAgentCardDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API A2aAgentCardDescriptor(Aws::Utils::Json::JsonView jsonValue)
A2aAgentCardDescriptor & WithDataSchemaVersion(DataSchemaVersionT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue