7#include <aws/core/utils/DateTime.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
19namespace EventBridgeV2 {
33 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 m_retentionPeriodInDaysHasBeenSet =
true;
41 m_retentionPeriodInDays = value;
56 template <
typename RetentionWindowStartTimeT = Aws::Utils::DateTime>
58 m_retentionWindowStartTimeHasBeenSet =
true;
59 m_retentionWindowStartTime = std::forward<RetentionWindowStartTimeT>(value);
61 template <
typename RetentionWindowStartTimeT = Aws::Utils::DateTime>
68 int64_t m_retentionPeriodInDays{0};
71 bool m_retentionPeriodInDaysHasBeenSet =
false;
72 bool m_retentionWindowStartTimeHasBeenSet =
false;
AWS_EVENTBRIDGEV2_API StorageConfigurationOutput()=default
void SetRetentionPeriodInDays(int64_t value)
AWS_EVENTBRIDGEV2_API StorageConfigurationOutput & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetRetentionWindowStartTime() const
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetRetentionWindowStartTime(RetentionWindowStartTimeT &&value)
StorageConfigurationOutput & WithRetentionPeriodInDays(int64_t value)
bool RetentionPeriodInDaysHasBeenSet() const
bool RetentionWindowStartTimeHasBeenSet() const
AWS_EVENTBRIDGEV2_API StorageConfigurationOutput(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
StorageConfigurationOutput & WithRetentionWindowStartTime(RetentionWindowStartTimeT &&value)
int64_t GetRetentionPeriodInDays() const