AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteTollSummary.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteTollPriceSummary.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 RouteTollSummary();
35 AWS_GEOROUTES_API RouteTollSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const RouteTollPriceSummary& GetTotal() const{ return m_total; }
46 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
47 inline void SetTotal(const RouteTollPriceSummary& value) { m_totalHasBeenSet = true; m_total = value; }
48 inline void SetTotal(RouteTollPriceSummary&& value) { m_totalHasBeenSet = true; m_total = std::move(value); }
49 inline RouteTollSummary& WithTotal(const RouteTollPriceSummary& value) { SetTotal(value); return *this;}
50 inline RouteTollSummary& WithTotal(RouteTollPriceSummary&& value) { SetTotal(std::move(value)); return *this;}
52 private:
53
55 bool m_totalHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace GeoRoutes
60} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const RouteTollPriceSummary & GetTotal() const
AWS_GEOROUTES_API RouteTollSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteTollSummary & WithTotal(RouteTollPriceSummary &&value)
void SetTotal(const RouteTollPriceSummary &value)
AWS_GEOROUTES_API RouteTollSummary(Aws::Utils::Json::JsonView jsonValue)
RouteTollSummary & WithTotal(const RouteTollPriceSummary &value)
void SetTotal(RouteTollPriceSummary &&value)
Aws::Utils::Json::JsonValue JsonValue