7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
11#include <aws/eventbridgev2/model/DeduplicationConfiguration.h>
12#include <aws/eventbridgev2/model/EventBusV2SystemMetadata.h>
22namespace EventBridgeV2 {
36 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
46 m_metadataHasBeenSet =
true;
47 m_metadata = std::forward<MetadataT>(value);
49 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
54 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
56 m_metadataHasBeenSet =
true;
57 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
68 template <
typename SystemMetadataT = EventBusV2SystemMetadata>
70 m_systemMetadataHasBeenSet =
true;
71 m_systemMetadata = std::forward<SystemMetadataT>(value);
73 template <
typename SystemMetadataT = EventBusV2SystemMetadata>
87 template <
typename DeduplicationConfigurationT = DeduplicationConfiguration>
89 m_deduplicationConfigurationHasBeenSet =
true;
90 m_deduplicationConfiguration = std::forward<DeduplicationConfigurationT>(value);
92 template <
typename DeduplicationConfigurationT = DeduplicationConfiguration>
104 bool m_metadataHasBeenSet =
false;
105 bool m_systemMetadataHasBeenSet =
false;
106 bool m_deduplicationConfigurationHasBeenSet =
false;
void SetDeduplicationConfiguration(DeduplicationConfigurationT &&value)
EventBusV2Parameters & WithDeduplicationConfiguration(DeduplicationConfigurationT &&value)
bool MetadataHasBeenSet() const
EventBusV2Parameters & WithSystemMetadata(SystemMetadataT &&value)
EventBusV2Parameters & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
bool DeduplicationConfigurationHasBeenSet() const
void SetMetadata(MetadataT &&value)
AWS_EVENTBRIDGEV2_API EventBusV2Parameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const DeduplicationConfiguration & GetDeduplicationConfiguration() const
bool SystemMetadataHasBeenSet() const
AWS_EVENTBRIDGEV2_API EventBusV2Parameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
EventBusV2Parameters & WithMetadata(MetadataT &&value)
void SetSystemMetadata(SystemMetadataT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const EventBusV2SystemMetadata & GetSystemMetadata() const
AWS_EVENTBRIDGEV2_API EventBusV2Parameters()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map