AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
AgentSkillsMdDescriptor.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
30 public:
31 AWS_AGENTREGISTRYCONTROL_API AgentSkillsMdDescriptor() = default;
32 AWS_AGENTREGISTRYCONTROL_API AgentSkillsMdDescriptor(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API AgentSkillsMdDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetData() const { return m_data; }
41 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
42 template <typename DataT = Aws::String>
43 void SetData(DataT&& value) {
44 m_dataHasBeenSet = true;
45 m_data = std::forward<DataT>(value);
46 }
47 template <typename DataT = Aws::String>
49 SetData(std::forward<DataT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDataSchemaVersion() const { return m_dataSchemaVersion; }
59 inline bool DataSchemaVersionHasBeenSet() const { return m_dataSchemaVersionHasBeenSet; }
60 template <typename DataSchemaVersionT = Aws::String>
61 void SetDataSchemaVersion(DataSchemaVersionT&& value) {
62 m_dataSchemaVersionHasBeenSet = true;
63 m_dataSchemaVersion = std::forward<DataSchemaVersionT>(value);
64 }
65 template <typename DataSchemaVersionT = Aws::String>
66 AgentSkillsMdDescriptor& WithDataSchemaVersion(DataSchemaVersionT&& value) {
67 SetDataSchemaVersion(std::forward<DataSchemaVersionT>(value));
68 return *this;
69 }
71
73
77 inline const DescriptorSource& GetSource() const { return m_source; }
78 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
79 template <typename SourceT = DescriptorSource>
80 void SetSource(SourceT&& value) {
81 m_sourceHasBeenSet = true;
82 m_source = std::forward<SourceT>(value);
83 }
84 template <typename SourceT = DescriptorSource>
86 SetSource(std::forward<SourceT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_data;
92
93 Aws::String m_dataSchemaVersion;
94
95 DescriptorSource m_source;
96 bool m_dataHasBeenSet = false;
97 bool m_dataSchemaVersionHasBeenSet = false;
98 bool m_sourceHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace AgentRegistryControl
103} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API AgentSkillsMdDescriptor()=default
AWS_AGENTREGISTRYCONTROL_API AgentSkillsMdDescriptor(Aws::Utils::Json::JsonView jsonValue)
AgentSkillsMdDescriptor & WithDataSchemaVersion(DataSchemaVersionT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API AgentSkillsMdDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue