7#include <aws/crt/cbor/Cbor.h>
8#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
16namespace EventBridgeV2 {
29 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
36 m_retentionPeriodInDaysHasBeenSet =
true;
37 m_retentionPeriodInDays = value;
45 int64_t m_retentionPeriodInDays{0};
46 bool m_retentionPeriodInDaysHasBeenSet =
false;
AWS_EVENTBRIDGEV2_API StorageConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
StorageConfiguration & WithRetentionPeriodInDays(int64_t value)
AWS_EVENTBRIDGEV2_API StorageConfiguration()=default
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetRetentionPeriodInDays(int64_t value)
int64_t GetRetentionPeriodInDays() const
bool RetentionPeriodInDaysHasBeenSet() const
AWS_EVENTBRIDGEV2_API StorageConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)