AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixExclusionOptions.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:
35 AWS_GEOROUTES_API RouteMatrixExclusionOptions();
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); }
51 inline RouteMatrixExclusionOptions& WithCountries(Aws::Vector<Aws::String>&& value) { SetCountries(std::move(value)); return *this;}
52 inline RouteMatrixExclusionOptions& AddCountries(const Aws::String& value) { m_countriesHasBeenSet = true; m_countries.push_back(value); return *this; }
53 inline RouteMatrixExclusionOptions& AddCountries(Aws::String&& value) { m_countriesHasBeenSet = true; m_countries.push_back(std::move(value)); return *this; }
54 inline RouteMatrixExclusionOptions& 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
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCountries(const Aws::Vector< Aws::String > &value)
RouteMatrixExclusionOptions & WithCountries(Aws::Vector< Aws::String > &&value)
RouteMatrixExclusionOptions & WithCountries(const Aws::Vector< Aws::String > &value)
AWS_GEOROUTES_API RouteMatrixExclusionOptions(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixExclusionOptions & AddCountries(const char *value)
void SetCountries(Aws::Vector< Aws::String > &&value)
RouteMatrixExclusionOptions & AddCountries(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCountries() const
RouteMatrixExclusionOptions & AddCountries(Aws::String &&value)
AWS_GEOROUTES_API RouteMatrixExclusionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue