AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetentionProperties.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamWrite
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_TIMESTREAMWRITE_API RetentionProperties();
35 AWS_TIMESTREAMWRITE_API RetentionProperties(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TIMESTREAMWRITE_API RetentionProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetMemoryStoreRetentionPeriodInHours() const{ return m_memoryStoreRetentionPeriodInHours; }
45 inline bool MemoryStoreRetentionPeriodInHoursHasBeenSet() const { return m_memoryStoreRetentionPeriodInHoursHasBeenSet; }
46 inline void SetMemoryStoreRetentionPeriodInHours(long long value) { m_memoryStoreRetentionPeriodInHoursHasBeenSet = true; m_memoryStoreRetentionPeriodInHours = value; }
49
51
54 inline long long GetMagneticStoreRetentionPeriodInDays() const{ return m_magneticStoreRetentionPeriodInDays; }
55 inline bool MagneticStoreRetentionPeriodInDaysHasBeenSet() const { return m_magneticStoreRetentionPeriodInDaysHasBeenSet; }
56 inline void SetMagneticStoreRetentionPeriodInDays(long long value) { m_magneticStoreRetentionPeriodInDaysHasBeenSet = true; m_magneticStoreRetentionPeriodInDays = value; }
59 private:
60
61 long long m_memoryStoreRetentionPeriodInHours;
62 bool m_memoryStoreRetentionPeriodInHoursHasBeenSet = false;
63
64 long long m_magneticStoreRetentionPeriodInDays;
65 bool m_magneticStoreRetentionPeriodInDaysHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace TimestreamWrite
70} // namespace Aws
RetentionProperties & WithMemoryStoreRetentionPeriodInHours(long long value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMWRITE_API RetentionProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API RetentionProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
RetentionProperties & WithMagneticStoreRetentionPeriodInDays(long long value)
Aws::Utils::Json::JsonValue JsonValue