7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/WaypointOptimizationConstraint.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
69 bool m_constraintHasBeenSet =
false;
72 bool m_reasonHasBeenSet =
false;
const Aws::String & GetReason() const
void SetReason(const Aws::String &value)
AWS_GEOROUTES_API WaypointOptimizationFailedConstraint(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationFailedConstraint()
WaypointOptimizationFailedConstraint & WithReason(const char *value)
void SetReason(Aws::String &&value)
bool ConstraintHasBeenSet() const
WaypointOptimizationFailedConstraint & WithConstraint(WaypointOptimizationConstraint &&value)
bool ReasonHasBeenSet() const
WaypointOptimizationFailedConstraint & WithConstraint(const WaypointOptimizationConstraint &value)
void SetConstraint(const WaypointOptimizationConstraint &value)
WaypointOptimizationFailedConstraint & WithReason(const Aws::String &value)
WaypointOptimizationFailedConstraint & WithReason(Aws::String &&value)
const WaypointOptimizationConstraint & GetConstraint() const
void SetConstraint(WaypointOptimizationConstraint &&value)
AWS_GEOROUTES_API WaypointOptimizationFailedConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const char *value)
WaypointOptimizationConstraint
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue