AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IsolineThresholds.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
33 {
34 public:
35 AWS_GEOROUTES_API IsolineThresholds() = default;
36 AWS_GEOROUTES_API IsolineThresholds(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<long long>& GetDistance() const { return m_distance; }
46 inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; }
47 template<typename DistanceT = Aws::Vector<long long>>
48 void SetDistance(DistanceT&& value) { m_distanceHasBeenSet = true; m_distance = std::forward<DistanceT>(value); }
49 template<typename DistanceT = Aws::Vector<long long>>
50 IsolineThresholds& WithDistance(DistanceT&& value) { SetDistance(std::forward<DistanceT>(value)); return *this;}
51 inline IsolineThresholds& AddDistance(long long value) { m_distanceHasBeenSet = true; m_distance.push_back(value); return *this; }
53
55
58 inline const Aws::Vector<long long>& GetTime() const { return m_time; }
59 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
60 template<typename TimeT = Aws::Vector<long long>>
61 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
62 template<typename TimeT = Aws::Vector<long long>>
63 IsolineThresholds& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
64 inline IsolineThresholds& AddTime(long long value) { m_timeHasBeenSet = true; m_time.push_back(value); return *this; }
66 private:
67
68 Aws::Vector<long long> m_distance;
69 bool m_distanceHasBeenSet = false;
70
72 bool m_timeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GeoRoutes
77} // namespace Aws
const Aws::Vector< long long > & GetTime() const
IsolineThresholds & AddTime(long long value)
IsolineThresholds & WithDistance(DistanceT &&value)
AWS_GEOROUTES_API IsolineThresholds(Aws::Utils::Json::JsonView jsonValue)
IsolineThresholds & AddDistance(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API IsolineThresholds()=default
const Aws::Vector< long long > & GetDistance() const
AWS_GEOROUTES_API IsolineThresholds & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineThresholds & WithTime(TimeT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue