AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MapConfiguration.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
34 {
35 public:
36 AWS_LOCATIONSERVICE_API MapConfiguration();
37 AWS_LOCATIONSERVICE_API MapConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API MapConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
119 inline const Aws::String& GetStyle() const{ return m_style; }
120 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
121 inline void SetStyle(const Aws::String& value) { m_styleHasBeenSet = true; m_style = value; }
122 inline void SetStyle(Aws::String&& value) { m_styleHasBeenSet = true; m_style = std::move(value); }
123 inline void SetStyle(const char* value) { m_styleHasBeenSet = true; m_style.assign(value); }
124 inline MapConfiguration& WithStyle(const Aws::String& value) { SetStyle(value); return *this;}
125 inline MapConfiguration& WithStyle(Aws::String&& value) { SetStyle(std::move(value)); return *this;}
126 inline MapConfiguration& WithStyle(const char* value) { SetStyle(value); return *this;}
128
130
139 inline const Aws::String& GetPoliticalView() const{ return m_politicalView; }
140 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
141 inline void SetPoliticalView(const Aws::String& value) { m_politicalViewHasBeenSet = true; m_politicalView = value; }
142 inline void SetPoliticalView(Aws::String&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::move(value); }
143 inline void SetPoliticalView(const char* value) { m_politicalViewHasBeenSet = true; m_politicalView.assign(value); }
144 inline MapConfiguration& WithPoliticalView(const Aws::String& value) { SetPoliticalView(value); return *this;}
145 inline MapConfiguration& WithPoliticalView(Aws::String&& value) { SetPoliticalView(std::move(value)); return *this;}
146 inline MapConfiguration& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;}
148
150
157 inline const Aws::Vector<Aws::String>& GetCustomLayers() const{ return m_customLayers; }
158 inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }
159 inline void SetCustomLayers(const Aws::Vector<Aws::String>& value) { m_customLayersHasBeenSet = true; m_customLayers = value; }
160 inline void SetCustomLayers(Aws::Vector<Aws::String>&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); }
161 inline MapConfiguration& WithCustomLayers(const Aws::Vector<Aws::String>& value) { SetCustomLayers(value); return *this;}
162 inline MapConfiguration& WithCustomLayers(Aws::Vector<Aws::String>&& value) { SetCustomLayers(std::move(value)); return *this;}
163 inline MapConfiguration& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }
164 inline MapConfiguration& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; }
165 inline MapConfiguration& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }
167 private:
168
169 Aws::String m_style;
170 bool m_styleHasBeenSet = false;
171
172 Aws::String m_politicalView;
173 bool m_politicalViewHasBeenSet = false;
174
175 Aws::Vector<Aws::String> m_customLayers;
176 bool m_customLayersHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace LocationService
181} // namespace Aws
AWS_LOCATIONSERVICE_API MapConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MapConfiguration & WithPoliticalView(const char *value)
void SetCustomLayers(Aws::Vector< Aws::String > &&value)
AWS_LOCATIONSERVICE_API MapConfiguration(Aws::Utils::Json::JsonView jsonValue)
MapConfiguration & AddCustomLayers(const Aws::String &value)
MapConfiguration & AddCustomLayers(Aws::String &&value)
void SetPoliticalView(const Aws::String &value)
MapConfiguration & WithPoliticalView(Aws::String &&value)
MapConfiguration & WithPoliticalView(const Aws::String &value)
MapConfiguration & WithStyle(Aws::String &&value)
void SetCustomLayers(const Aws::Vector< Aws::String > &value)
MapConfiguration & WithCustomLayers(const Aws::Vector< Aws::String > &value)
MapConfiguration & WithStyle(const Aws::String &value)
MapConfiguration & WithStyle(const char *value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API MapConfiguration()
MapConfiguration & WithCustomLayers(Aws::Vector< Aws::String > &&value)
MapConfiguration & AddCustomLayers(const char *value)
const Aws::Vector< Aws::String > & GetCustomLayers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue