AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttackVolume.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/AttackVolumeStatistics.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
35 {
36 public:
37 AWS_SHIELD_API AttackVolume();
38 AWS_SHIELD_API AttackVolume(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AttackVolumeStatistics& GetBitsPerSecond() const{ return m_bitsPerSecond; }
49 inline bool BitsPerSecondHasBeenSet() const { return m_bitsPerSecondHasBeenSet; }
50 inline void SetBitsPerSecond(const AttackVolumeStatistics& value) { m_bitsPerSecondHasBeenSet = true; m_bitsPerSecond = value; }
51 inline void SetBitsPerSecond(AttackVolumeStatistics&& value) { m_bitsPerSecondHasBeenSet = true; m_bitsPerSecond = std::move(value); }
52 inline AttackVolume& WithBitsPerSecond(const AttackVolumeStatistics& value) { SetBitsPerSecond(value); return *this;}
53 inline AttackVolume& WithBitsPerSecond(AttackVolumeStatistics&& value) { SetBitsPerSecond(std::move(value)); return *this;}
55
57
61 inline const AttackVolumeStatistics& GetPacketsPerSecond() const{ return m_packetsPerSecond; }
62 inline bool PacketsPerSecondHasBeenSet() const { return m_packetsPerSecondHasBeenSet; }
63 inline void SetPacketsPerSecond(const AttackVolumeStatistics& value) { m_packetsPerSecondHasBeenSet = true; m_packetsPerSecond = value; }
64 inline void SetPacketsPerSecond(AttackVolumeStatistics&& value) { m_packetsPerSecondHasBeenSet = true; m_packetsPerSecond = std::move(value); }
65 inline AttackVolume& WithPacketsPerSecond(const AttackVolumeStatistics& value) { SetPacketsPerSecond(value); return *this;}
66 inline AttackVolume& WithPacketsPerSecond(AttackVolumeStatistics&& value) { SetPacketsPerSecond(std::move(value)); return *this;}
68
70
75 inline const AttackVolumeStatistics& GetRequestsPerSecond() const{ return m_requestsPerSecond; }
76 inline bool RequestsPerSecondHasBeenSet() const { return m_requestsPerSecondHasBeenSet; }
77 inline void SetRequestsPerSecond(const AttackVolumeStatistics& value) { m_requestsPerSecondHasBeenSet = true; m_requestsPerSecond = value; }
78 inline void SetRequestsPerSecond(AttackVolumeStatistics&& value) { m_requestsPerSecondHasBeenSet = true; m_requestsPerSecond = std::move(value); }
80 inline AttackVolume& WithRequestsPerSecond(AttackVolumeStatistics&& value) { SetRequestsPerSecond(std::move(value)); return *this;}
82 private:
83
84 AttackVolumeStatistics m_bitsPerSecond;
85 bool m_bitsPerSecondHasBeenSet = false;
86
87 AttackVolumeStatistics m_packetsPerSecond;
88 bool m_packetsPerSecondHasBeenSet = false;
89
90 AttackVolumeStatistics m_requestsPerSecond;
91 bool m_requestsPerSecondHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Shield
96} // namespace Aws
void SetBitsPerSecond(const AttackVolumeStatistics &value)
AttackVolume & WithBitsPerSecond(AttackVolumeStatistics &&value)
AWS_SHIELD_API AttackVolume(Aws::Utils::Json::JsonView jsonValue)
void SetRequestsPerSecond(AttackVolumeStatistics &&value)
void SetPacketsPerSecond(const AttackVolumeStatistics &value)
void SetRequestsPerSecond(const AttackVolumeStatistics &value)
void SetBitsPerSecond(AttackVolumeStatistics &&value)
AttackVolume & WithRequestsPerSecond(const AttackVolumeStatistics &value)
AttackVolume & WithBitsPerSecond(const AttackVolumeStatistics &value)
AttackVolume & WithPacketsPerSecond(AttackVolumeStatistics &&value)
const AttackVolumeStatistics & GetPacketsPerSecond() const
AWS_SHIELD_API AttackVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
AttackVolume & WithPacketsPerSecond(const AttackVolumeStatistics &value)
AttackVolume & WithRequestsPerSecond(AttackVolumeStatistics &&value)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
const AttackVolumeStatistics & GetBitsPerSecond() const
const AttackVolumeStatistics & GetRequestsPerSecond() const
void SetPacketsPerSecond(AttackVolumeStatistics &&value)
Aws::Utils::Json::JsonValue JsonValue