AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculateRouteMatrixSummary.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/DistanceUnit.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LocationService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOCATIONSERVICE_API CalculateRouteMatrixSummary();
36 AWS_LOCATIONSERVICE_API CalculateRouteMatrixSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetDataSource() const{ return m_dataSource; }
52 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
53 inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
54 inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
55 inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); }
56 inline CalculateRouteMatrixSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;}
57 inline CalculateRouteMatrixSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;}
58 inline CalculateRouteMatrixSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;}
60
62
67 inline int GetRouteCount() const{ return m_routeCount; }
68 inline bool RouteCountHasBeenSet() const { return m_routeCountHasBeenSet; }
69 inline void SetRouteCount(int value) { m_routeCountHasBeenSet = true; m_routeCount = value; }
70 inline CalculateRouteMatrixSummary& WithRouteCount(int value) { SetRouteCount(value); return *this;}
72
74
78 inline int GetErrorCount() const{ return m_errorCount; }
79 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
80 inline void SetErrorCount(int value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
81 inline CalculateRouteMatrixSummary& WithErrorCount(int value) { SetErrorCount(value); return *this;}
83
85
88 inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
89 inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
90 inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
91 inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); }
92 inline CalculateRouteMatrixSummary& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
93 inline CalculateRouteMatrixSummary& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_dataSource;
98 bool m_dataSourceHasBeenSet = false;
99
100 int m_routeCount;
101 bool m_routeCountHasBeenSet = false;
102
103 int m_errorCount;
104 bool m_errorCountHasBeenSet = false;
105
106 DistanceUnit m_distanceUnit;
107 bool m_distanceUnitHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LocationService
112} // namespace Aws
AWS_LOCATIONSERVICE_API CalculateRouteMatrixSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API CalculateRouteMatrixSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CalculateRouteMatrixSummary & WithDataSource(Aws::String &&value)
CalculateRouteMatrixSummary & WithDistanceUnit(DistanceUnit &&value)
CalculateRouteMatrixSummary & WithDistanceUnit(const DistanceUnit &value)
CalculateRouteMatrixSummary & WithDataSource(const char *value)
CalculateRouteMatrixSummary & WithDataSource(const Aws::String &value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue