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 AwsServiceT = Aws::String>
42 m_awsServiceHasBeenSet =
true;
43 m_awsService = std::forward<AwsServiceT>(value);
45 template <
typename AwsServiceT = Aws::String>
61 template <
typename PatternT = Aws::String>
63 m_patternHasBeenSet =
true;
64 m_pattern = std::forward<PatternT>(value);
66 template <
typename PatternT = Aws::String>
79 template <
typename OnFailureConfigurationT = OnFailureConfiguration>
81 m_onFailureConfigurationHasBeenSet =
true;
82 m_onFailureConfiguration = std::forward<OnFailureConfigurationT>(value);
84 template <
typename OnFailureConfigurationT = OnFailureConfiguration>
96 bool m_awsServiceHasBeenSet =
false;
97 bool m_patternHasBeenSet =
false;
98 bool m_onFailureConfigurationHasBeenSet =
false;
bool OnFailureConfigurationHasBeenSet() const
bool PatternHasBeenSet() const
const Aws::String & GetAwsService() const
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AwsServiceEventsSourceConfiguration & WithPattern(PatternT &&value)
void SetAwsService(AwsServiceT &&value)
AwsServiceEventsSourceConfiguration & WithAwsService(AwsServiceT &&value)
AWS_EVENTBRIDGEV2_API AwsServiceEventsSourceConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetOnFailureConfiguration(OnFailureConfigurationT &&value)
AwsServiceEventsSourceConfiguration & WithOnFailureConfiguration(OnFailureConfigurationT &&value)
const OnFailureConfiguration & GetOnFailureConfiguration() const
const Aws::String & GetPattern() const
bool AwsServiceHasBeenSet() const
AWS_EVENTBRIDGEV2_API AwsServiceEventsSourceConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API AwsServiceEventsSourceConfiguration()=default
void SetPattern(PatternT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String