7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/geo-routes/model/WaypointOptimizationTimeBreakdown.h>
11#include <aws/geo-routes/model/WaypointOptimizationConnection.h>
12#include <aws/geo-routes/model/WaypointOptimizationImpedingWaypoint.h>
13#include <aws/geo-routes/model/WaypointOptimizationOptimizedWaypoint.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
59 inline void SetDistance(
long long value) { m_distance = value; }
69 inline void SetDuration(
long long value) { m_duration = value; }
129 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
138 long long m_distance;
140 long long m_duration;
const WaypointOptimizationTimeBreakdown & GetTimeBreakdown() const
void SetPricingBucket(Aws::String &&value)
const Aws::Vector< WaypointOptimizationConnection > & GetConnections() const
OptimizeWaypointsResult & WithImpedingWaypoints(Aws::Vector< WaypointOptimizationImpedingWaypoint > &&value)
OptimizeWaypointsResult & AddImpedingWaypoints(WaypointOptimizationImpedingWaypoint &&value)
OptimizeWaypointsResult & AddImpedingWaypoints(const WaypointOptimizationImpedingWaypoint &value)
long long GetDistance() const
void SetConnections(Aws::Vector< WaypointOptimizationConnection > &&value)
OptimizeWaypointsResult & AddOptimizedWaypoints(WaypointOptimizationOptimizedWaypoint &&value)
AWS_GEOROUTES_API OptimizeWaypointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
OptimizeWaypointsResult & WithRequestId(const Aws::String &value)
OptimizeWaypointsResult & WithPricingBucket(const Aws::String &value)
OptimizeWaypointsResult & WithPricingBucket(Aws::String &&value)
OptimizeWaypointsResult & AddConnections(WaypointOptimizationConnection &&value)
void SetTimeBreakdown(WaypointOptimizationTimeBreakdown &&value)
void SetPricingBucket(const Aws::String &value)
void SetTimeBreakdown(const WaypointOptimizationTimeBreakdown &value)
OptimizeWaypointsResult & WithOptimizedWaypoints(const Aws::Vector< WaypointOptimizationOptimizedWaypoint > &value)
void SetOptimizedWaypoints(const Aws::Vector< WaypointOptimizationOptimizedWaypoint > &value)
void SetImpedingWaypoints(Aws::Vector< WaypointOptimizationImpedingWaypoint > &&value)
OptimizeWaypointsResult & WithImpedingWaypoints(const Aws::Vector< WaypointOptimizationImpedingWaypoint > &value)
OptimizeWaypointsResult & WithConnections(Aws::Vector< WaypointOptimizationConnection > &&value)
OptimizeWaypointsResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
OptimizeWaypointsResult & WithDuration(long long value)
OptimizeWaypointsResult & WithConnections(const Aws::Vector< WaypointOptimizationConnection > &value)
const Aws::Vector< WaypointOptimizationOptimizedWaypoint > & GetOptimizedWaypoints() const
AWS_GEOROUTES_API OptimizeWaypointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetConnections(const Aws::Vector< WaypointOptimizationConnection > &value)
const Aws::Vector< WaypointOptimizationImpedingWaypoint > & GetImpedingWaypoints() const
OptimizeWaypointsResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
OptimizeWaypointsResult & WithPricingBucket(const char *value)
void SetOptimizedWaypoints(Aws::Vector< WaypointOptimizationOptimizedWaypoint > &&value)
OptimizeWaypointsResult & WithTimeBreakdown(const WaypointOptimizationTimeBreakdown &value)
void SetPricingBucket(const char *value)
AWS_GEOROUTES_API OptimizeWaypointsResult()
OptimizeWaypointsResult & WithTimeBreakdown(WaypointOptimizationTimeBreakdown &&value)
void SetImpedingWaypoints(const Aws::Vector< WaypointOptimizationImpedingWaypoint > &value)
void SetDistance(long long value)
long long GetDuration() const
OptimizeWaypointsResult & AddOptimizedWaypoints(const WaypointOptimizationOptimizedWaypoint &value)
void SetDuration(long long value)
OptimizeWaypointsResult & WithOptimizedWaypoints(Aws::Vector< WaypointOptimizationOptimizedWaypoint > &&value)
const Aws::String & GetPricingBucket() const
OptimizeWaypointsResult & AddConnections(const WaypointOptimizationConnection &value)
OptimizeWaypointsResult & WithDistance(long long value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue