AWS SDK for C++

AWS SDK for C++ Version 1.11.793

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
31 public:
32 AWS_GEOROUTES_API IsolineTrafficOptions() = default;
35 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline long long GetFlowEventThresholdOverride() const { return m_flowEventThresholdOverride; }
45 inline bool FlowEventThresholdOverrideHasBeenSet() const { return m_flowEventThresholdOverrideHasBeenSet; }
46 inline void SetFlowEventThresholdOverride(long long value) {
47 m_flowEventThresholdOverrideHasBeenSet = true;
48 m_flowEventThresholdOverride = value;
49 }
52 return *this;
53 }
55
57
65 inline TrafficUsage GetUsage() const { return m_usage; }
66 inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }
67 inline void SetUsage(TrafficUsage value) {
68 m_usageHasBeenSet = true;
69 m_usage = value;
70 }
72 SetUsage(value);
73 return *this;
74 }
76 private:
77 long long m_flowEventThresholdOverride{0};
78
80 bool m_flowEventThresholdOverrideHasBeenSet = false;
81 bool m_usageHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace GeoRoutes
86} // 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