AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const RouteTollPassValidityPeriodType& GetPeriod() const{ return m_period; }
45 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
46 inline void SetPeriod(const RouteTollPassValidityPeriodType& value) { m_periodHasBeenSet = true; m_period = value; }
47 inline void SetPeriod(RouteTollPassValidityPeriodType&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
49 inline RouteTollPassValidityPeriod& WithPeriod(RouteTollPassValidityPeriodType&& value) { SetPeriod(std::move(value)); return *this;}
51
53
56 inline int GetPeriodCount() const{ return m_periodCount; }
57 inline bool PeriodCountHasBeenSet() const { return m_periodCountHasBeenSet; }
58 inline void SetPeriodCount(int value) { m_periodCountHasBeenSet = true; m_periodCount = value; }
59 inline RouteTollPassValidityPeriod& WithPeriodCount(int value) { SetPeriodCount(value); return *this;}
61 private:
62
64 bool m_periodHasBeenSet = false;
65
66 int m_periodCount;
67 bool m_periodCountHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace GeoRoutes
72} // namespace Aws
RouteTollPassValidityPeriod & WithPeriod(const RouteTollPassValidityPeriodType &value)
AWS_GEOROUTES_API RouteTollPassValidityPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollPassValidityPeriod & WithPeriod(RouteTollPassValidityPeriodType &&value)
const RouteTollPassValidityPeriodType & GetPeriod() const
void SetPeriod(const RouteTollPassValidityPeriodType &value)
void SetPeriod(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