AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MapConfigurationUpdate.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/location/LocationService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LocationService {
21namespace Model {
22
29 public:
30 AWS_LOCATIONSERVICE_API MapConfigurationUpdate() = default;
31 AWS_LOCATIONSERVICE_API MapConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LOCATIONSERVICE_API MapConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
45 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
46 template <typename PoliticalViewT = Aws::String>
47 void SetPoliticalView(PoliticalViewT&& value) {
48 m_politicalViewHasBeenSet = true;
49 m_politicalView = std::forward<PoliticalViewT>(value);
50 }
51 template <typename PoliticalViewT = Aws::String>
52 MapConfigurationUpdate& WithPoliticalView(PoliticalViewT&& value) {
53 SetPoliticalView(std::forward<PoliticalViewT>(value));
54 return *this;
55 }
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) {
70 m_customLayersHasBeenSet = true;
71 m_customLayers = std::forward<CustomLayersT>(value);
72 }
73 template <typename CustomLayersT = Aws::Vector<Aws::String>>
74 MapConfigurationUpdate& WithCustomLayers(CustomLayersT&& value) {
75 SetCustomLayers(std::forward<CustomLayersT>(value));
76 return *this;
77 }
78 template <typename CustomLayersT = Aws::String>
79 MapConfigurationUpdate& AddCustomLayers(CustomLayersT&& value) {
80 m_customLayersHasBeenSet = true;
81 m_customLayers.emplace_back(std::forward<CustomLayersT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_politicalView;
87
88 Aws::Vector<Aws::String> m_customLayers;
89 bool m_politicalViewHasBeenSet = false;
90 bool m_customLayersHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace LocationService
95} // 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