AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationExclusionOptions.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Vector<Aws::String>& GetCountries() const{ return m_countries; }
47 inline bool CountriesHasBeenSet() const { return m_countriesHasBeenSet; }
48 inline void SetCountries(const Aws::Vector<Aws::String>& value) { m_countriesHasBeenSet = true; m_countries = value; }
49 inline void SetCountries(Aws::Vector<Aws::String>&& value) { m_countriesHasBeenSet = true; m_countries = std::move(value); }
52 inline WaypointOptimizationExclusionOptions& AddCountries(const Aws::String& value) { m_countriesHasBeenSet = true; m_countries.push_back(value); return *this; }
53 inline WaypointOptimizationExclusionOptions& AddCountries(Aws::String&& value) { m_countriesHasBeenSet = true; m_countries.push_back(std::move(value)); return *this; }
54 inline WaypointOptimizationExclusionOptions& AddCountries(const char* value) { m_countriesHasBeenSet = true; m_countries.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_countries;
59 bool m_countriesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace GeoRoutes
64} // namespace Aws
WaypointOptimizationExclusionOptions & AddCountries(const Aws::String &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationExclusionOptions & WithCountries(const Aws::Vector< Aws::String > &value)
AWS_GEOROUTES_API WaypointOptimizationExclusionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API WaypointOptimizationExclusionOptions(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationExclusionOptions & AddCountries(const char *value)
WaypointOptimizationExclusionOptions & WithCountries(Aws::Vector< Aws::String > &&value)
WaypointOptimizationExclusionOptions & AddCountries(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue