AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
WaypointOptimizationExclusionOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoRoutes {
21namespace Model {
22
32 public:
33 AWS_GEOROUTES_API WaypointOptimizationExclusionOptions() = default;
36 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<Aws::String>& GetCountries() const { return m_countries; }
44 inline bool CountriesHasBeenSet() const { return m_countriesHasBeenSet; }
45 template <typename CountriesT = Aws::Vector<Aws::String>>
46 void SetCountries(CountriesT&& value) {
47 m_countriesHasBeenSet = true;
48 m_countries = std::forward<CountriesT>(value);
49 }
50 template <typename CountriesT = Aws::Vector<Aws::String>>
52 SetCountries(std::forward<CountriesT>(value));
53 return *this;
54 }
55 template <typename CountriesT = Aws::String>
57 m_countriesHasBeenSet = true;
58 m_countries.emplace_back(std::forward<CountriesT>(value));
59 return *this;
60 }
62 private:
63 Aws::Vector<Aws::String> m_countries;
64 bool m_countriesHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace GeoRoutes
69} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API WaypointOptimizationExclusionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationExclusionOptions & WithCountries(CountriesT &&value)
AWS_GEOROUTES_API WaypointOptimizationExclusionOptions(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationExclusionOptions & AddCountries(CountriesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue