AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
PutRawEventsSystemMetadata.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 PutRawEventsSystemMetadata() = default;
31 AWS_EVENTBRIDGEV2_API PutRawEventsSystemMetadata(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API PutRawEventsSystemMetadata& 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& GetContentType() const { return m_contentType; }
41 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
42 template <typename ContentTypeT = Aws::String>
43 void SetContentType(ContentTypeT&& value) {
44 m_contentTypeHasBeenSet = true;
45 m_contentType = std::forward<ContentTypeT>(value);
46 }
47 template <typename ContentTypeT = Aws::String>
49 SetContentType(std::forward<ContentTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDeduplicationId() const { return m_deduplicationId; }
59 inline bool DeduplicationIdHasBeenSet() const { return m_deduplicationIdHasBeenSet; }
60 template <typename DeduplicationIdT = Aws::String>
61 void SetDeduplicationId(DeduplicationIdT&& value) {
62 m_deduplicationIdHasBeenSet = true;
63 m_deduplicationId = std::forward<DeduplicationIdT>(value);
64 }
65 template <typename DeduplicationIdT = Aws::String>
67 SetDeduplicationId(std::forward<DeduplicationIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetEventGroupId() const { return m_eventGroupId; }
77 inline bool EventGroupIdHasBeenSet() const { return m_eventGroupIdHasBeenSet; }
78 template <typename EventGroupIdT = Aws::String>
79 void SetEventGroupId(EventGroupIdT&& value) {
80 m_eventGroupIdHasBeenSet = true;
81 m_eventGroupId = std::forward<EventGroupIdT>(value);
82 }
83 template <typename EventGroupIdT = Aws::String>
85 SetEventGroupId(std::forward<EventGroupIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_contentType;
91
92 Aws::String m_deduplicationId;
93
94 Aws::String m_eventGroupId;
95 bool m_contentTypeHasBeenSet = false;
96 bool m_deduplicationIdHasBeenSet = false;
97 bool m_eventGroupIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace EventBridgeV2
102} // namespace Aws
AWS_EVENTBRIDGEV2_API PutRawEventsSystemMetadata & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API PutRawEventsSystemMetadata()=default
PutRawEventsSystemMetadata & WithDeduplicationId(DeduplicationIdT &&value)
PutRawEventsSystemMetadata & WithContentType(ContentTypeT &&value)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API PutRawEventsSystemMetadata(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
PutRawEventsSystemMetadata & WithEventGroupId(EventGroupIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String