AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteTrafficOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/TrafficUsage.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 GeoRoutes
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOROUTES_API RouteTrafficOptions();
35 AWS_GEOROUTES_API RouteTrafficOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline long long GetFlowEventThresholdOverride() const{ return m_flowEventThresholdOverride; }
49 inline bool FlowEventThresholdOverrideHasBeenSet() const { return m_flowEventThresholdOverrideHasBeenSet; }
50 inline void SetFlowEventThresholdOverride(long long value) { m_flowEventThresholdOverrideHasBeenSet = true; m_flowEventThresholdOverride = value; }
53
55
59 inline const TrafficUsage& GetUsage() const{ return m_usage; }
60 inline bool UsageHasBeenSet() const { return m_usageHasBeenSet; }
61 inline void SetUsage(const TrafficUsage& value) { m_usageHasBeenSet = true; m_usage = value; }
62 inline void SetUsage(TrafficUsage&& value) { m_usageHasBeenSet = true; m_usage = std::move(value); }
63 inline RouteTrafficOptions& WithUsage(const TrafficUsage& value) { SetUsage(value); return *this;}
64 inline RouteTrafficOptions& WithUsage(TrafficUsage&& value) { SetUsage(std::move(value)); return *this;}
66 private:
67
68 long long m_flowEventThresholdOverride;
69 bool m_flowEventThresholdOverrideHasBeenSet = false;
70
71 TrafficUsage m_usage;
72 bool m_usageHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
AWS_GEOROUTES_API RouteTrafficOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUsage(const TrafficUsage &value)
RouteTrafficOptions & WithFlowEventThresholdOverride(long long value)
AWS_GEOROUTES_API RouteTrafficOptions(Aws::Utils::Json::JsonView jsonValue)
RouteTrafficOptions & WithUsage(TrafficUsage &&value)
RouteTrafficOptions & WithUsage(const TrafficUsage &value)
Aws::Utils::Json::JsonValue JsonValue