7#include <aws/agent-discovery/AgentDiscovery_EXPORTS.h>
8#include <aws/agent-discovery/model/DescriptorSource.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AgentDiscovery {
46 template <
typename DataT = Aws::String>
48 m_dataHasBeenSet =
true;
49 m_data = std::forward<DataT>(value);
51 template <
typename DataT = Aws::String>
53 SetData(std::forward<DataT>(value));
64 template <
typename VersionT = Aws::String>
66 m_versionHasBeenSet =
true;
67 m_version = std::forward<VersionT>(value);
69 template <
typename VersionT = Aws::String>
82 template <
typename SourceT = DescriptorSource>
84 m_sourceHasBeenSet =
true;
85 m_source = std::forward<SourceT>(value);
87 template <
typename SourceT = DescriptorSource>
101 template <
typename AdditionalDataT = Aws::Map<Aws::String, DescriptorEntry>>
103 m_additionalDataHasBeenSet =
true;
104 m_additionalData = std::forward<AdditionalDataT>(value);
106 template <
typename AdditionalDataT = Aws::Map<Aws::String, DescriptorEntry>>
111 template <
typename AdditionalDataKeyT = Aws::String,
typename AdditionalDataValueT = DescriptorEntry>
113 m_additionalDataHasBeenSet =
true;
114 m_additionalData.emplace(std::forward<AdditionalDataKeyT>(key), std::forward<AdditionalDataValueT>(value));
126 bool m_dataHasBeenSet =
false;
127 bool m_versionHasBeenSet =
false;
128 bool m_sourceHasBeenSet =
false;
129 bool m_additionalDataHasBeenSet =
false;
bool VersionHasBeenSet() const
bool AdditionalDataHasBeenSet() const
DescriptorEntry & WithData(DataT &&value)
void SetSource(SourceT &&value)
const Aws::Map< Aws::String, DescriptorEntry > & GetAdditionalData() const
const Aws::String & GetData() const
void SetVersion(VersionT &&value)
AWS_AGENTDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTDISCOVERY_API DescriptorEntry()=default
void SetAdditionalData(AdditionalDataT &&value)
DescriptorEntry & WithVersion(VersionT &&value)
AWS_AGENTDISCOVERY_API DescriptorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetData(DataT &&value)
bool DataHasBeenSet() const
bool SourceHasBeenSet() const
DescriptorEntry & WithSource(SourceT &&value)
const DescriptorSource & GetSource() const
DescriptorEntry & AddAdditionalData(AdditionalDataKeyT &&key, AdditionalDataValueT &&value)
const Aws::String & GetVersion() const
AWS_AGENTDISCOVERY_API DescriptorEntry(Aws::Utils::Json::JsonView jsonValue)
DescriptorEntry & WithAdditionalData(AdditionalDataT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue