7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
12#include <aws/eventbridgev2/model/PutEventsSystemMetadata.h>
22namespace EventBridgeV2 {
35 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename SourceT = Aws::String>
46 m_sourceHasBeenSet =
true;
47 m_source = std::forward<SourceT>(value);
49 template <
typename SourceT = Aws::String>
60 template <
typename DetailTypeT = Aws::String>
62 m_detailTypeHasBeenSet =
true;
63 m_detailType = std::forward<DetailTypeT>(value);
65 template <
typename DetailTypeT = Aws::String>
78 template <
typename DetailT = Aws::String>
80 m_detailHasBeenSet =
true;
81 m_detail = std::forward<DetailT>(value);
83 template <
typename DetailT = Aws::String>
97 template <
typename ResourcesT = Aws::Vector<Aws::String>>
99 m_resourcesHasBeenSet =
true;
100 m_resources = std::forward<ResourcesT>(value);
102 template <
typename ResourcesT = Aws::Vector<Aws::String>>
107 template <
typename ResourcesT = Aws::String>
109 m_resourcesHasBeenSet =
true;
110 m_resources.emplace_back(std::forward<ResourcesT>(value));
122 template <
typename TimeT = Aws::Utils::DateTime>
124 m_timeHasBeenSet =
true;
125 m_time = std::forward<TimeT>(value);
127 template <
typename TimeT = Aws::Utils::DateTime>
129 SetTime(std::forward<TimeT>(value));
138 template <
typename SystemMetadataT = PutEventsSystemMetadata>
140 m_systemMetadataHasBeenSet =
true;
141 m_systemMetadata = std::forward<SystemMetadataT>(value);
143 template <
typename SystemMetadataT = PutEventsSystemMetadata>
160 PutEventsSystemMetadata m_systemMetadata;
161 bool m_sourceHasBeenSet =
false;
162 bool m_detailTypeHasBeenSet =
false;
163 bool m_detailHasBeenSet =
false;
164 bool m_resourcesHasBeenSet =
false;
165 bool m_timeHasBeenSet =
false;
166 bool m_systemMetadataHasBeenSet =
false;
const Aws::String & GetDetailType() const
bool SourceHasBeenSet() const
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
PutEventsRequestEntry & WithDetail(DetailT &&value)
PutEventsRequestEntry & WithDetailType(DetailTypeT &&value)
PutEventsRequestEntry & WithSystemMetadata(SystemMetadataT &&value)
const PutEventsSystemMetadata & GetSystemMetadata() const
const Aws::Vector< Aws::String > & GetResources() const
const Aws::String & GetDetail() const
PutEventsRequestEntry & AddResources(ResourcesT &&value)
void SetDetailType(DetailTypeT &&value)
bool DetailTypeHasBeenSet() const
void SetSystemMetadata(SystemMetadataT &&value)
AWS_EVENTBRIDGEV2_API PutEventsRequestEntry(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool SystemMetadataHasBeenSet() const
PutEventsRequestEntry & WithResources(ResourcesT &&value)
bool TimeHasBeenSet() const
void SetDetail(DetailT &&value)
const Aws::Utils::DateTime & GetTime() const
PutEventsRequestEntry & WithTime(TimeT &&value)
void SetSource(SourceT &&value)
void SetResources(ResourcesT &&value)
void SetTime(TimeT &&value)
AWS_EVENTBRIDGEV2_API PutEventsRequestEntry & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool DetailHasBeenSet() const
AWS_EVENTBRIDGEV2_API PutEventsRequestEntry()=default
bool ResourcesHasBeenSet() const
PutEventsRequestEntry & WithSource(SourceT &&value)
const Aws::String & GetSource() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector