AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDistance(const Aws::Vector<long long>& value) { m_distanceHasBeenSet = true; m_distance = value; }
48 inline void SetDistance(Aws::Vector<long long>&& value) { m_distanceHasBeenSet = true; m_distance = std::move(value); }
49 inline IsolineThresholds& WithDistance(const Aws::Vector<long long>& value) { SetDistance(value); return *this;}
50 inline IsolineThresholds& WithDistance(Aws::Vector<long long>&& value) { SetDistance(std::move(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 inline void SetTime(const Aws::Vector<long long>& value) { m_timeHasBeenSet = true; m_time = value; }
61 inline void SetTime(Aws::Vector<long long>&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
62 inline IsolineThresholds& WithTime(const Aws::Vector<long long>& value) { SetTime(value); return *this;}
63 inline IsolineThresholds& WithTime(Aws::Vector<long long>&& value) { SetTime(std::move(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
IsolineThresholds & WithTime(const Aws::Vector< long long > &value)
const Aws::Vector< long long > & GetTime() const
IsolineThresholds & WithTime(Aws::Vector< long long > &&value)
IsolineThresholds & AddTime(long long value)
AWS_GEOROUTES_API IsolineThresholds(Aws::Utils::Json::JsonView jsonValue)
IsolineThresholds & AddDistance(long long value)
void SetDistance(Aws::Vector< long long > &&value)
void SetTime(Aws::Vector< long long > &&value)
void SetDistance(const Aws::Vector< long long > &value)
IsolineThresholds & WithDistance(Aws::Vector< long long > &&value)
IsolineThresholds & WithDistance(const Aws::Vector< long long > &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTime(const Aws::Vector< long long > &value)
const Aws::Vector< long long > & GetDistance() const
AWS_GEOROUTES_API IsolineThresholds & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue