AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
EventBusV2SystemMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace EventBridgeV2 {
20namespace Model {
21
29 public:
30 AWS_EVENTBRIDGEV2_API EventBusV2SystemMetadata() = default;
31 AWS_EVENTBRIDGEV2_API EventBusV2SystemMetadata(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API EventBusV2SystemMetadata& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetEventGroupId() const { return m_eventGroupId; }
41 inline bool EventGroupIdHasBeenSet() const { return m_eventGroupIdHasBeenSet; }
42 template <typename EventGroupIdT = Aws::String>
43 void SetEventGroupId(EventGroupIdT&& value) {
44 m_eventGroupIdHasBeenSet = true;
45 m_eventGroupId = std::forward<EventGroupIdT>(value);
46 }
47 template <typename EventGroupIdT = Aws::String>
49 SetEventGroupId(std::forward<EventGroupIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDeduplicationId() const { return m_deduplicationId; }
60 inline bool DeduplicationIdHasBeenSet() const { return m_deduplicationIdHasBeenSet; }
61 template <typename DeduplicationIdT = Aws::String>
62 void SetDeduplicationId(DeduplicationIdT&& value) {
63 m_deduplicationIdHasBeenSet = true;
64 m_deduplicationId = std::forward<DeduplicationIdT>(value);
65 }
66 template <typename DeduplicationIdT = Aws::String>
67 EventBusV2SystemMetadata& WithDeduplicationId(DeduplicationIdT&& value) {
68 SetDeduplicationId(std::forward<DeduplicationIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_eventGroupId;
74
75 Aws::String m_deduplicationId;
76 bool m_eventGroupIdHasBeenSet = false;
77 bool m_deduplicationIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EventBridgeV2
82} // namespace Aws
AWS_EVENTBRIDGEV2_API EventBusV2SystemMetadata & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EventBusV2SystemMetadata & WithDeduplicationId(DeduplicationIdT &&value)
AWS_EVENTBRIDGEV2_API EventBusV2SystemMetadata()=default
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API EventBusV2SystemMetadata(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EventBusV2SystemMetadata & WithEventGroupId(EventGroupIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String