AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPoliticalView(const Aws::String& value) { m_politicalViewHasBeenSet = true; m_politicalView = value; }
53 inline void SetPoliticalView(Aws::String&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::move(value); }
54 inline void SetPoliticalView(const char* value) { m_politicalViewHasBeenSet = true; m_politicalView.assign(value); }
55 inline MapConfigurationUpdate& WithPoliticalView(const Aws::String& value) { SetPoliticalView(value); return *this;}
56 inline MapConfigurationUpdate& WithPoliticalView(Aws::String&& value) { SetPoliticalView(std::move(value)); return *this;}
57 inline MapConfigurationUpdate& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;}
59
61
68 inline const Aws::Vector<Aws::String>& GetCustomLayers() const{ return m_customLayers; }
69 inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; }
70 inline void SetCustomLayers(const Aws::Vector<Aws::String>& value) { m_customLayersHasBeenSet = true; m_customLayers = value; }
71 inline void SetCustomLayers(Aws::Vector<Aws::String>&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); }
73 inline MapConfigurationUpdate& WithCustomLayers(Aws::Vector<Aws::String>&& value) { SetCustomLayers(std::move(value)); return *this;}
74 inline MapConfigurationUpdate& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }
75 inline MapConfigurationUpdate& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; }
76 inline MapConfigurationUpdate& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; }
78 private:
79
80 Aws::String m_politicalView;
81 bool m_politicalViewHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_customLayers;
84 bool m_customLayersHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace LocationService
89} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MapConfigurationUpdate & WithPoliticalView(const Aws::String &value)
MapConfigurationUpdate & WithCustomLayers(const Aws::Vector< Aws::String > &value)
AWS_LOCATIONSERVICE_API MapConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomLayers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCustomLayers() const
MapConfigurationUpdate & AddCustomLayers(Aws::String &&value)
MapConfigurationUpdate & WithPoliticalView(Aws::String &&value)
MapConfigurationUpdate & AddCustomLayers(const char *value)
AWS_LOCATIONSERVICE_API MapConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
MapConfigurationUpdate & WithPoliticalView(const char *value)
MapConfigurationUpdate & AddCustomLayers(const Aws::String &value)
void SetCustomLayers(const Aws::Vector< Aws::String > &value)
MapConfigurationUpdate & WithCustomLayers(Aws::Vector< 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