AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttackStatisticsDataItem.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/AttackVolume.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Shield
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SHIELD_API AttackStatisticsDataItem();
39 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AttackVolume& GetAttackVolume() const{ return m_attackVolume; }
48 inline bool AttackVolumeHasBeenSet() const { return m_attackVolumeHasBeenSet; }
49 inline void SetAttackVolume(const AttackVolume& value) { m_attackVolumeHasBeenSet = true; m_attackVolume = value; }
50 inline void SetAttackVolume(AttackVolume&& value) { m_attackVolumeHasBeenSet = true; m_attackVolume = std::move(value); }
51 inline AttackStatisticsDataItem& WithAttackVolume(const AttackVolume& value) { SetAttackVolume(value); return *this;}
52 inline AttackStatisticsDataItem& WithAttackVolume(AttackVolume&& value) { SetAttackVolume(std::move(value)); return *this;}
54
56
60 inline long long GetAttackCount() const{ return m_attackCount; }
61 inline bool AttackCountHasBeenSet() const { return m_attackCountHasBeenSet; }
62 inline void SetAttackCount(long long value) { m_attackCountHasBeenSet = true; m_attackCount = value; }
63 inline AttackStatisticsDataItem& WithAttackCount(long long value) { SetAttackCount(value); return *this;}
65 private:
66
67 AttackVolume m_attackVolume;
68 bool m_attackVolumeHasBeenSet = false;
69
70 long long m_attackCount;
71 bool m_attackCountHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Shield
76} // namespace Aws
AttackStatisticsDataItem & WithAttackCount(long long value)
AWS_SHIELD_API AttackStatisticsDataItem(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SHIELD_API AttackStatisticsDataItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AttackStatisticsDataItem & WithAttackVolume(const AttackVolume &value)
AttackStatisticsDataItem & WithAttackVolume(AttackVolume &&value)
Aws::Utils::Json::JsonValue JsonValue