AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Hits.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_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 NetworkFirewall
20{
21namespace Model
22{
23
29 class Hits
30 {
31 public:
32 AWS_NETWORKFIREWALL_API Hits() = default;
33 AWS_NETWORKFIREWALL_API Hits(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKFIREWALL_API Hits& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetCount() const { return m_count; }
43 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
44 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
45 inline Hits& WithCount(int value) { SetCount(value); return *this;}
47 private:
48
49 int m_count{0};
50 bool m_countHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace NetworkFirewall
55} // namespace Aws
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
Hits & WithCount(int value)
Definition Hits.h:45
AWS_NETWORKFIREWALL_API Hits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Hits()=default
void SetCount(int value)
Definition Hits.h:44
AWS_NETWORKFIREWALL_API Hits(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue