AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MapConfigurationUpdate.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 LocationService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOCATIONSERVICE_API MapConfigurationUpdate() = default;
36 AWS_LOCATIONSERVICE_API MapConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOCATIONSERVICE_API MapConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
51 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
52 template<typename PoliticalViewT = Aws::String>
53 void SetPoliticalView(PoliticalViewT&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::forward<PoliticalViewT>(value); }
54 template<typename PoliticalViewT = Aws::String>
55 MapConfigurationUpdate& WithPoliticalView(PoliticalViewT&& value) { SetPoliticalView(std::forward<PoliticalViewT>(value)); return *this;}
57
59
66 inline const Aws::Vector<Aws::String>& GetCustomLayers() const { return m_customLayers; }
67 inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }
68 template<typename CustomLayersT = Aws::Vector<Aws::String>>
69 void SetCustomLayers(CustomLayersT&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::forward<CustomLayersT>(value); }
70 template<typename CustomLayersT = Aws::Vector<Aws::String>>
71 MapConfigurationUpdate& WithCustomLayers(CustomLayersT&& value) { SetCustomLayers(std::forward<CustomLayersT>(value)); return *this;}
72 template<typename CustomLayersT = Aws::String>
73 MapConfigurationUpdate& AddCustomLayers(CustomLayersT&& value) { m_customLayersHasBeenSet = true; m_customLayers.emplace_back(std::forward<CustomLayersT>(value)); return *this; }
75 private:
76
77 Aws::String m_politicalView;
78 bool m_politicalViewHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_customLayers;
81 bool m_customLayersHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace LocationService
86} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MapConfigurationUpdate & WithPoliticalView(PoliticalViewT &&value)
MapConfigurationUpdate & AddCustomLayers(CustomLayersT &&value)
AWS_LOCATIONSERVICE_API MapConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCustomLayers() const
AWS_LOCATIONSERVICE_API MapConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
MapConfigurationUpdate & WithCustomLayers(CustomLayersT &&value)
AWS_LOCATIONSERVICE_API MapConfigurationUpdate()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue