AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LifecyclePolicyStats.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace OpenSearchServerless {
17namespace Model {
18
26 public:
27 AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats() = default;
28 AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats(Aws::Utils::Json::JsonView jsonValue);
29 AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetRetentionPolicyCount() const { return m_retentionPolicyCount; }
37 inline bool RetentionPolicyCountHasBeenSet() const { return m_retentionPolicyCountHasBeenSet; }
38 inline void SetRetentionPolicyCount(long long value) {
39 m_retentionPolicyCountHasBeenSet = true;
40 m_retentionPolicyCount = value;
41 }
44 return *this;
45 }
47 private:
48 long long m_retentionPolicyCount{0};
49 bool m_retentionPolicyCountHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace OpenSearchServerless
54} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API LifecyclePolicyStats()=default
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