AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
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>
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 AgentSkillsMdDescriptor& WithDataSchemaVersion(DataSchemaVersionT&& value) {
63 SetDataSchemaVersion(std::forward<DataSchemaVersionT>(value));
64 return *this;
65 }
67
69
73 inline const DescriptorSource& GetSource() const { return m_source; }
74 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
75 template <typename SourceT = DescriptorSource>
76 void SetSource(SourceT&& value) {
77 m_sourceHasBeenSet = true;
78 m_source = std::forward<SourceT>(value);
79 }
80 template <typename SourceT = DescriptorSource>
82 SetSource(std::forward<SourceT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_data;
88
89 Aws::String m_dataSchemaVersion;
90
91 DescriptorSource m_source;
92 bool m_dataHasBeenSet = false;
93 bool m_dataSchemaVersionHasBeenSet = false;
94 bool m_sourceHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace AgentRegistry
99} // 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