AWS SDK for C++

AWS SDK for C++ Version 1.11.770

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
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 RouteTollPassValidityPeriod() = default;
32 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline RouteTollPassValidityPeriodType GetPeriod() const { return m_period; }
39 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
41 m_periodHasBeenSet = true;
42 m_period = value;
43 }
45 SetPeriod(value);
46 return *this;
47 }
49
51
54 inline int GetPeriodCount() const { return m_periodCount; }
55 inline bool PeriodCountHasBeenSet() const { return m_periodCountHasBeenSet; }
56 inline void SetPeriodCount(int value) {
57 m_periodCountHasBeenSet = true;
58 m_periodCount = value;
59 }
61 SetPeriodCount(value);
62 return *this;
63 }
65 private:
67
68 int m_periodCount{0};
69 bool m_periodHasBeenSet = false;
70 bool m_periodCountHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace GeoRoutes
75} // 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