AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
RouteMatrixTrafficOptions.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 RouteMatrixTrafficOptions() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
42 inline long long GetFlowEventThresholdOverride() const { return m_flowEventThresholdOverride; }
43 inline bool FlowEventThresholdOverrideHasBeenSet() const { return m_flowEventThresholdOverrideHasBeenSet; }
44 inline void SetFlowEventThresholdOverride(long long value) {
45 m_flowEventThresholdOverrideHasBeenSet = true;
46 m_flowEventThresholdOverride = value;
47 }
50 return *this;
51 }
53
55
59 inline TrafficUsage GetUsage() const { return m_usage; }
60 inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }
61 inline void SetUsage(TrafficUsage value) {
62 m_usageHasBeenSet = true;
63 m_usage = value;
64 }
66 SetUsage(value);
67 return *this;
68 }
70 private:
71 long long m_flowEventThresholdOverride{0};
72
74 bool m_flowEventThresholdOverrideHasBeenSet = false;
75 bool m_usageHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GeoRoutes
80} // namespace Aws
RouteMatrixTrafficOptions & WithUsage(TrafficUsage value)
AWS_GEOROUTES_API RouteMatrixTrafficOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixTrafficOptions & WithFlowEventThresholdOverride(long long value)
AWS_GEOROUTES_API RouteMatrixTrafficOptions()=default
AWS_GEOROUTES_API RouteMatrixTrafficOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue