AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
StorageConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace EventBridgeV2 {
17namespace Model {
18
25 public:
26 AWS_EVENTBRIDGEV2_API StorageConfiguration() = default;
27 AWS_EVENTBRIDGEV2_API StorageConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
28 AWS_EVENTBRIDGEV2_API StorageConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
30
32
33 inline int64_t GetRetentionPeriodInDays() const { return m_retentionPeriodInDays; }
34 inline bool RetentionPeriodInDaysHasBeenSet() const { return m_retentionPeriodInDaysHasBeenSet; }
35 inline void SetRetentionPeriodInDays(int64_t value) {
36 m_retentionPeriodInDaysHasBeenSet = true;
37 m_retentionPeriodInDays = value;
38 }
41 return *this;
42 }
44 private:
45 int64_t m_retentionPeriodInDays{0};
46 bool m_retentionPeriodInDaysHasBeenSet = false;
47};
48
49} // namespace Model
50} // namespace EventBridgeV2
51} // namespace Aws
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
AWS_EVENTBRIDGEV2_API StorageConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)