AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPoliciesStatsResult.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/model/AccessPolicyStats.h>
9#include <aws/opensearchserverless/model/LifecyclePolicyStats.h>
10#include <aws/opensearchserverless/model/SecurityConfigStats.h>
11#include <aws/opensearchserverless/model/SecurityPolicyStats.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace OpenSearchServerless
28{
29namespace Model
30{
32 {
33 public:
34 AWS_OPENSEARCHSERVERLESS_API GetPoliciesStatsResult();
37
38
40
43 inline const AccessPolicyStats& GetAccessPolicyStats() const{ return m_accessPolicyStats; }
44 inline void SetAccessPolicyStats(const AccessPolicyStats& value) { m_accessPolicyStats = value; }
45 inline void SetAccessPolicyStats(AccessPolicyStats&& value) { m_accessPolicyStats = std::move(value); }
47 inline GetPoliciesStatsResult& WithAccessPolicyStats(AccessPolicyStats&& value) { SetAccessPolicyStats(std::move(value)); return *this;}
49
51
54 inline const LifecyclePolicyStats& GetLifecyclePolicyStats() const{ return m_lifecyclePolicyStats; }
55 inline void SetLifecyclePolicyStats(const LifecyclePolicyStats& value) { m_lifecyclePolicyStats = value; }
56 inline void SetLifecyclePolicyStats(LifecyclePolicyStats&& value) { m_lifecyclePolicyStats = std::move(value); }
60
62
65 inline const SecurityConfigStats& GetSecurityConfigStats() const{ return m_securityConfigStats; }
66 inline void SetSecurityConfigStats(const SecurityConfigStats& value) { m_securityConfigStats = value; }
67 inline void SetSecurityConfigStats(SecurityConfigStats&& value) { m_securityConfigStats = std::move(value); }
71
73
76 inline const SecurityPolicyStats& GetSecurityPolicyStats() const{ return m_securityPolicyStats; }
77 inline void SetSecurityPolicyStats(const SecurityPolicyStats& value) { m_securityPolicyStats = value; }
78 inline void SetSecurityPolicyStats(SecurityPolicyStats&& value) { m_securityPolicyStats = std::move(value); }
82
84
88 inline long long GetTotalPolicyCount() const{ return m_totalPolicyCount; }
89 inline void SetTotalPolicyCount(long long value) { m_totalPolicyCount = value; }
90 inline GetPoliciesStatsResult& WithTotalPolicyCount(long long value) { SetTotalPolicyCount(value); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline GetPoliciesStatsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline GetPoliciesStatsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline GetPoliciesStatsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 AccessPolicyStats m_accessPolicyStats;
106
107 LifecyclePolicyStats m_lifecyclePolicyStats;
108
109 SecurityConfigStats m_securityConfigStats;
110
111 SecurityPolicyStats m_securityPolicyStats;
112
113 long long m_totalPolicyCount;
114
115 Aws::String m_requestId;
116 };
117
118} // namespace Model
119} // namespace OpenSearchServerless
120} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API GetPoliciesStatsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPoliciesStatsResult & WithAccessPolicyStats(const AccessPolicyStats &value)
void SetSecurityPolicyStats(const SecurityPolicyStats &value)
GetPoliciesStatsResult & WithSecurityConfigStats(const SecurityConfigStats &value)
GetPoliciesStatsResult & WithTotalPolicyCount(long long value)
GetPoliciesStatsResult & WithLifecyclePolicyStats(const LifecyclePolicyStats &value)
GetPoliciesStatsResult & WithSecurityPolicyStats(SecurityPolicyStats &&value)
void SetLifecyclePolicyStats(const LifecyclePolicyStats &value)
void SetSecurityConfigStats(const SecurityConfigStats &value)
GetPoliciesStatsResult & WithRequestId(const char *value)
AWS_OPENSEARCHSERVERLESS_API GetPoliciesStatsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPoliciesStatsResult & WithSecurityPolicyStats(const SecurityPolicyStats &value)
GetPoliciesStatsResult & WithRequestId(Aws::String &&value)
GetPoliciesStatsResult & WithLifecyclePolicyStats(LifecyclePolicyStats &&value)
GetPoliciesStatsResult & WithAccessPolicyStats(AccessPolicyStats &&value)
GetPoliciesStatsResult & WithSecurityConfigStats(SecurityConfigStats &&value)
GetPoliciesStatsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue