AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SecurityPolicyStats.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 SecurityPolicyStats() = default;
28 AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats(Aws::Utils::Json::JsonView jsonValue);
29 AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetEncryptionPolicyCount() const { return m_encryptionPolicyCount; }
37 inline bool EncryptionPolicyCountHasBeenSet() const { return m_encryptionPolicyCountHasBeenSet; }
38 inline void SetEncryptionPolicyCount(long long value) {
39 m_encryptionPolicyCountHasBeenSet = true;
40 m_encryptionPolicyCount = value;
41 }
44 return *this;
45 }
47
49
52 inline long long GetNetworkPolicyCount() const { return m_networkPolicyCount; }
53 inline bool NetworkPolicyCountHasBeenSet() const { return m_networkPolicyCountHasBeenSet; }
54 inline void SetNetworkPolicyCount(long long value) {
55 m_networkPolicyCountHasBeenSet = true;
56 m_networkPolicyCount = value;
57 }
60 return *this;
61 }
63 private:
64 long long m_encryptionPolicyCount{0};
65
66 long long m_networkPolicyCount{0};
67 bool m_encryptionPolicyCountHasBeenSet = false;
68 bool m_networkPolicyCountHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace OpenSearchServerless
73} // namespace Aws
SecurityPolicyStats & WithEncryptionPolicyCount(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats()=default
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats(Aws::Utils::Json::JsonView jsonValue)
SecurityPolicyStats & WithNetworkPolicyCount(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue