AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteTollPassValidityPeriod.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteTollPassValidityPeriodType.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 RouteTollPassValidityPeriod() = default;
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline RouteTollPassValidityPeriodType GetPeriod() const { return m_period; }
45 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
46 inline void SetPeriod(RouteTollPassValidityPeriodType value) { m_periodHasBeenSet = true; m_period = value; }
49
51
54 inline int GetPeriodCount() const { return m_periodCount; }
55 inline bool PeriodCountHasBeenSet() const { return m_periodCountHasBeenSet; }
56 inline void SetPeriodCount(int value) { m_periodCountHasBeenSet = true; m_periodCount = value; }
57 inline RouteTollPassValidityPeriod& WithPeriodCount(int value) { SetPeriodCount(value); return *this;}
59 private:
60
62 bool m_periodHasBeenSet = false;
63
64 int m_periodCount{0};
65 bool m_periodCountHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace GeoRoutes
70} // namespace Aws
void SetPeriod(RouteTollPassValidityPeriodType value)
AWS_GEOROUTES_API RouteTollPassValidityPeriod()=default
AWS_GEOROUTES_API RouteTollPassValidityPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollPassValidityPeriod & WithPeriod(RouteTollPassValidityPeriodType value)
AWS_GEOROUTES_API RouteTollPassValidityPeriod(Aws::Utils::Json::JsonView jsonValue)
RouteTollPassValidityPeriod & WithPeriodCount(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue