7#include <aws/crt/cbor/Cbor.h>
8#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
9#include <aws/eventbridgev2/model/AwsServiceEventsSourceConfiguration.h>
10#include <aws/eventbridgev2/model/PartnerEventsSourceConfiguration.h>
20namespace EventBridgeV2 {
34 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename AwsServiceEventsConfigurationT = AwsServiceEventsSourceConfiguration>
42 m_awsServiceEventsConfigurationHasBeenSet =
true;
43 m_awsServiceEventsConfiguration = std::forward<AwsServiceEventsConfigurationT>(value);
45 template <
typename AwsServiceEventsConfigurationT = AwsServiceEventsSourceConfiguration>
56 template <
typename PartnerEventsConfigurationT = PartnerEventsSourceConfiguration>
58 m_partnerEventsConfigurationHasBeenSet =
true;
59 m_partnerEventsConfiguration = std::forward<PartnerEventsConfigurationT>(value);
61 template <
typename PartnerEventsConfigurationT = PartnerEventsSourceConfiguration>
71 bool m_awsServiceEventsConfigurationHasBeenSet =
false;
72 bool m_partnerEventsConfigurationHasBeenSet =
false;
void SetAwsServiceEventsConfiguration(AwsServiceEventsConfigurationT &&value)
EventSourceConfiguration & WithPartnerEventsConfiguration(PartnerEventsConfigurationT &&value)
void SetPartnerEventsConfiguration(PartnerEventsConfigurationT &&value)
bool AwsServiceEventsConfigurationHasBeenSet() const
AWS_EVENTBRIDGEV2_API EventSourceConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API EventSourceConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const PartnerEventsSourceConfiguration & GetPartnerEventsConfiguration() const
const AwsServiceEventsSourceConfiguration & GetAwsServiceEventsConfiguration() const
AWS_EVENTBRIDGEV2_API EventSourceConfiguration()=default
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool PartnerEventsConfigurationHasBeenSet() const
EventSourceConfiguration & WithAwsServiceEventsConfiguration(AwsServiceEventsConfigurationT &&value)