7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10#include <aws/eventbridgev2/model/OnFailureConfiguration.h>
20namespace EventBridgeV2 {
34 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename PartnerEventSourceArnT = Aws::String>
42 m_partnerEventSourceArnHasBeenSet =
true;
43 m_partnerEventSourceArn = std::forward<PartnerEventSourceArnT>(value);
45 template <
typename PartnerEventSourceArnT = Aws::String>
60 template <
typename PatternT = Aws::String>
62 m_patternHasBeenSet =
true;
63 m_pattern = std::forward<PatternT>(value);
65 template <
typename PatternT = Aws::String>
76 template <
typename PartnerBusKmsKeyIdentifierT = Aws::String>
78 m_partnerBusKmsKeyIdentifierHasBeenSet =
true;
79 m_partnerBusKmsKeyIdentifier = std::forward<PartnerBusKmsKeyIdentifierT>(value);
81 template <
typename PartnerBusKmsKeyIdentifierT = Aws::String>
95 template <
typename OnFailureConfigurationT = OnFailureConfiguration>
97 m_onFailureConfigurationHasBeenSet =
true;
98 m_onFailureConfiguration = std::forward<OnFailureConfigurationT>(value);
100 template <
typename OnFailureConfigurationT = OnFailureConfiguration>
114 bool m_partnerEventSourceArnHasBeenSet =
false;
115 bool m_patternHasBeenSet =
false;
116 bool m_partnerBusKmsKeyIdentifierHasBeenSet =
false;
117 bool m_onFailureConfigurationHasBeenSet =
false;
AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration()=default
bool PartnerEventSourceArnHasBeenSet() const
const Aws::String & GetPattern() const
bool PartnerBusKmsKeyIdentifierHasBeenSet() const
void SetPartnerBusKmsKeyIdentifier(PartnerBusKmsKeyIdentifierT &&value)
AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const OnFailureConfiguration & GetOnFailureConfiguration() const
PartnerEventsSourceConfiguration & WithOnFailureConfiguration(OnFailureConfigurationT &&value)
void SetOnFailureConfiguration(OnFailureConfigurationT &&value)
void SetPattern(PatternT &&value)
PartnerEventsSourceConfiguration & WithPattern(PatternT &&value)
void SetPartnerEventSourceArn(PartnerEventSourceArnT &&value)
PartnerEventsSourceConfiguration & WithPartnerEventSourceArn(PartnerEventSourceArnT &&value)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetPartnerEventSourceArn() const
const Aws::String & GetPartnerBusKmsKeyIdentifier() const
bool OnFailureConfigurationHasBeenSet() const
bool PatternHasBeenSet() const
PartnerEventsSourceConfiguration & WithPartnerBusKmsKeyIdentifier(PartnerBusKmsKeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String