AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
IsolineTrafficOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/TrafficUsage.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GeoRoutes {
20namespace Model {
21
28 public:
29 AWS_GEOROUTES_API IsolineTrafficOptions() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
43 inline long long GetFlowEventThresholdOverride() const { return m_flowEventThresholdOverride; }
44 inline bool FlowEventThresholdOverrideHasBeenSet() const { return m_flowEventThresholdOverrideHasBeenSet; }
45 inline void SetFlowEventThresholdOverride(long long value) {
46 m_flowEventThresholdOverrideHasBeenSet = true;
47 m_flowEventThresholdOverride = value;
48 }
51 return *this;
52 }
54
56
60 inline TrafficUsage GetUsage() const { return m_usage; }
61 inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }
62 inline void SetUsage(TrafficUsage value) {
63 m_usageHasBeenSet = true;
64 m_usage = value;
65 }
67 SetUsage(value);
68 return *this;
69 }
71 private:
72 long long m_flowEventThresholdOverride{0};
73
75 bool m_flowEventThresholdOverrideHasBeenSet = false;
76 bool m_usageHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GeoRoutes
81} // namespace Aws
IsolineTrafficOptions & WithFlowEventThresholdOverride(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineTrafficOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API IsolineTrafficOptions()=default
IsolineTrafficOptions & WithUsage(TrafficUsage value)
AWS_GEOROUTES_API IsolineTrafficOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue