AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
AttackVolumeStatistics.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/shield/Shield_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace Shield {
17namespace Model {
18
26 public:
27 AWS_SHIELD_API AttackVolumeStatistics() = default;
28 AWS_SHIELD_API AttackVolumeStatistics(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_SHIELD_API AttackVolumeStatistics& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
31
33
36 inline double GetMax() const { return m_max; }
37 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
38 inline void SetMax(double value) {
39 m_maxHasBeenSet = true;
40 m_max = value;
41 }
42 inline AttackVolumeStatistics& WithMax(double value) {
43 SetMax(value);
44 return *this;
45 }
47 private:
48 double m_max{0.0};
49 bool m_maxHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace Shield
54} // namespace Aws
AttackVolumeStatistics & WithMax(double value)
AWS_SHIELD_API AttackVolumeStatistics(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API AttackVolumeStatistics()=default
AWS_SHIELD_API AttackVolumeStatistics & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const