7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
12#include <aws/eventbridgev2/model/PutRawEventsSystemMetadata.h>
22namespace EventBridgeV2 {
35 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename DataT = Aws::Utils::CryptoBuffer>
45 m_dataHasBeenSet =
true;
46 m_data = std::forward<DataT>(value);
48 template <
typename DataT = Aws::Utils::CryptoBuffer>
50 SetData(std::forward<DataT>(value));
62 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
64 m_metadataHasBeenSet =
true;
65 m_metadata = std::forward<MetadataT>(value);
67 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
72 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
74 m_metadataHasBeenSet =
true;
75 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
86 template <
typename SystemMetadataT = PutRawEventsSystemMetadata>
88 m_systemMetadataHasBeenSet =
true;
89 m_systemMetadata = std::forward<SystemMetadataT>(value);
91 template <
typename SystemMetadataT = PutRawEventsSystemMetadata>
102 PutRawEventsSystemMetadata m_systemMetadata;
103 bool m_dataHasBeenSet =
false;
104 bool m_metadataHasBeenSet =
false;
105 bool m_systemMetadataHasBeenSet =
false;
void SetMetadata(MetadataT &&value)
bool SystemMetadataHasBeenSet() const
bool MetadataHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::Utils::CryptoBuffer & GetData() const
PutRawEventsRequestEntry & WithSystemMetadata(SystemMetadataT &&value)
PutRawEventsRequestEntry & WithData(DataT &&value)
AWS_EVENTBRIDGEV2_API PutRawEventsRequestEntry()=default
void SetData(DataT &&value)
AWS_EVENTBRIDGEV2_API PutRawEventsRequestEntry & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool DataHasBeenSet() const
void SetSystemMetadata(SystemMetadataT &&value)
PutRawEventsRequestEntry & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
const PutRawEventsSystemMetadata & GetSystemMetadata() const
PutRawEventsRequestEntry & WithMetadata(MetadataT &&value)
AWS_EVENTBRIDGEV2_API PutRawEventsRequestEntry(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map