AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityPolicyStats.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 SecurityPolicyStats();
34 AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetEncryptionPolicyCount() const{ return m_encryptionPolicyCount; }
44 inline bool EncryptionPolicyCountHasBeenSet() const { return m_encryptionPolicyCountHasBeenSet; }
45 inline void SetEncryptionPolicyCount(long long value) { m_encryptionPolicyCountHasBeenSet = true; m_encryptionPolicyCount = value; }
46 inline SecurityPolicyStats& WithEncryptionPolicyCount(long long value) { SetEncryptionPolicyCount(value); return *this;}
48
50
53 inline long long GetNetworkPolicyCount() const{ return m_networkPolicyCount; }
54 inline bool NetworkPolicyCountHasBeenSet() const { return m_networkPolicyCountHasBeenSet; }
55 inline void SetNetworkPolicyCount(long long value) { m_networkPolicyCountHasBeenSet = true; m_networkPolicyCount = value; }
56 inline SecurityPolicyStats& WithNetworkPolicyCount(long long value) { SetNetworkPolicyCount(value); return *this;}
58 private:
59
60 long long m_encryptionPolicyCount;
61 bool m_encryptionPolicyCountHasBeenSet = false;
62
63 long long m_networkPolicyCount;
64 bool m_networkPolicyCountHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace OpenSearchServerless
69} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyStats()
SecurityPolicyStats & WithEncryptionPolicyCount(long long value)
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