AWS SDK for C++

AWS SDK for C++ Version 1.11.883

Loading...
Searching...
No Matches
AgentSkillsMdDescriptor.h
1
6#pragma once
7#include <aws/agent-registry/AgentRegistry_EXPORTS.h>
8#include <aws/agent-registry/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 AgentRegistry {
21namespace Model {
22
30 public:
31 AWS_AGENTREGISTRY_API AgentSkillsMdDescriptor() = default;
32 AWS_AGENTREGISTRY_API AgentSkillsMdDescriptor(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
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 AgentSkillsMdDescriptor& 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 AgentRegistry
104} // namespace Aws
AgentSkillsMdDescriptor & WithData(DataT &&value)
AWS_AGENTREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
AgentSkillsMdDescriptor & WithSource(SourceT &&value)
AWS_AGENTREGISTRY_API AgentSkillsMdDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRY_API AgentSkillsMdDescriptor()=default
AgentSkillsMdDescriptor & WithDataSchemaVersion(DataSchemaVersionT &&value)
AWS_AGENTREGISTRY_API AgentSkillsMdDescriptor(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue