AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LifecyclePolicyStats.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_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 OpenSearchServerless
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats();
34 AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetRetentionPolicyCount() const{ return m_retentionPolicyCount; }
44 inline bool RetentionPolicyCountHasBeenSet() const { return m_retentionPolicyCountHasBeenSet; }
45 inline void SetRetentionPolicyCount(long long value) { m_retentionPolicyCountHasBeenSet = true; m_retentionPolicyCount = value; }
46 inline LifecyclePolicyStats& WithRetentionPolicyCount(long long value) { SetRetentionPolicyCount(value); return *this;}
48 private:
49
50 long long m_retentionPolicyCount;
51 bool m_retentionPolicyCountHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace OpenSearchServerless
56} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats()
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyStats & WithRetentionPolicyCount(long long value)
Aws::Utils::Json::JsonValue JsonValue