7#include <aws/agent-discovery/AgentDiscovery_EXPORTS.h>
8#include <aws/agent-discovery/model/DescriptorEntry.h>
9#include <aws/agent-discovery/model/Identifier.h>
10#include <aws/agent-discovery/model/RecordType.h>
11#include <aws/agent-discovery/model/TrustManifest.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace AgentDiscovery {
46 template <
typename IdentifierT = Identifier>
48 m_identifierHasBeenSet =
true;
49 m_identifier = std::forward<IdentifierT>(value);
51 template <
typename IdentifierT = Identifier>
64 template <
typename DisplayNameT = Aws::String>
66 m_displayNameHasBeenSet =
true;
67 m_displayName = std::forward<DisplayNameT>(value);
69 template <
typename DisplayNameT = Aws::String>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
102 m_recordTypeHasBeenSet =
true;
103 m_recordType = value;
115 template <
typename DomainT = Aws::String>
117 m_domainHasBeenSet =
true;
118 m_domain = std::forward<DomainT>(value);
120 template <
typename DomainT = Aws::String>
137 template <
typename DescriptorsT = Aws::Map<Aws::String, DescriptorEntry>>
139 m_descriptorsHasBeenSet =
true;
140 m_descriptors = std::forward<DescriptorsT>(value);
142 template <
typename DescriptorsT = Aws::Map<Aws::String, DescriptorEntry>>
147 template <
typename DescriptorsKeyT = Aws::String,
typename DescriptorsValueT = DescriptorEntry>
149 m_descriptorsHasBeenSet =
true;
150 m_descriptors.emplace(std::forward<DescriptorsKeyT>(key), std::forward<DescriptorsValueT>(value));
173 template <
typename TrustManifestsT = Aws::Vector<TrustManifest>>
175 m_trustManifestsHasBeenSet =
true;
176 m_trustManifests = std::forward<TrustManifestsT>(value);
178 template <
typename TrustManifestsT = Aws::Vector<TrustManifest>>
183 template <
typename TrustManifestsT = TrustManifest>
185 m_trustManifestsHasBeenSet =
true;
186 m_trustManifests.emplace_back(std::forward<TrustManifestsT>(value));
198 template <
typename RecordVersionT = Aws::String>
200 m_recordVersionHasBeenSet =
true;
201 m_recordVersion = std::forward<RecordVersionT>(value);
203 template <
typename RecordVersionT = Aws::String>
216 template <
typename CreatedAtT = Aws::Utils::DateTime>
218 m_createdAtHasBeenSet =
true;
219 m_createdAt = std::forward<CreatedAtT>(value);
221 template <
typename CreatedAtT = Aws::Utils::DateTime>
234 template <
typename UpdatedAtT = Aws::Utils::DateTime>
236 m_updatedAtHasBeenSet =
true;
237 m_updatedAt = std::forward<UpdatedAtT>(value);
239 template <
typename UpdatedAtT = Aws::Utils::DateTime>
265 bool m_identifierHasBeenSet =
false;
266 bool m_displayNameHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
268 bool m_recordTypeHasBeenSet =
false;
269 bool m_domainHasBeenSet =
false;
270 bool m_descriptorsHasBeenSet =
false;
271 bool m_trustManifestsHasBeenSet =
false;
272 bool m_recordVersionHasBeenSet =
false;
273 bool m_createdAtHasBeenSet =
false;
274 bool m_updatedAtHasBeenSet =
false;
PublicRecord & WithIdentifier(IdentifierT &&value)
PublicRecord & WithDisplayName(DisplayNameT &&value)
PublicRecord & WithTrustManifests(TrustManifestsT &&value)
PublicRecord & WithUpdatedAt(UpdatedAtT &&value)
bool DescriptorsHasBeenSet() const
PublicRecord & WithRecordVersion(RecordVersionT &&value)
AWS_AGENTDISCOVERY_API PublicRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomain(DomainT &&value)
const Identifier & GetIdentifier() const
const Aws::String & GetDisplayName() const
bool UpdatedAtHasBeenSet() const
bool CreatedAtHasBeenSet() const
PublicRecord & WithDescription(DescriptionT &&value)
const Aws::String & GetDomain() const
bool IdentifierHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_AGENTDISCOVERY_API PublicRecord(Aws::Utils::Json::JsonView jsonValue)
PublicRecord & WithDescriptors(DescriptorsT &&value)
bool DisplayNameHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
AWS_AGENTDISCOVERY_API PublicRecord()=default
AWS_AGENTDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetRecordVersion() const
void SetDescriptors(DescriptorsT &&value)
void SetRecordVersion(RecordVersionT &&value)
void SetTrustManifests(TrustManifestsT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool DomainHasBeenSet() const
const Aws::Map< Aws::String, DescriptorEntry > & GetDescriptors() const
bool RecordTypeHasBeenSet() const
PublicRecord & WithCreatedAt(CreatedAtT &&value)
bool TrustManifestsHasBeenSet() const
PublicRecord & WithRecordType(RecordType value)
void SetIdentifier(IdentifierT &&value)
PublicRecord & AddTrustManifests(TrustManifestsT &&value)
PublicRecord & WithDomain(DomainT &&value)
bool DescriptionHasBeenSet() const
PublicRecord & AddDescriptors(DescriptorsKeyT &&key, DescriptorsValueT &&value)
void SetRecordType(RecordType value)
const Aws::String & GetDescription() const
const Aws::Vector< TrustManifest > & GetTrustManifests() const
bool RecordVersionHasBeenSet() const
RecordType GetRecordType() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue