AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetStyleDescriptorRequest.h
1
6#pragma once
7#include <aws/geo-maps/GeoMaps_EXPORTS.h>
8#include <aws/geo-maps/GeoMapsRequest.h>
9#include <aws/geo-maps/model/MapStyle.h>
10#include <aws/geo-maps/model/ColorScheme.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace GeoMaps
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GEOMAPS_API GetStyleDescriptorRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetStyleDescriptor"; }
37
38 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
39
40 AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline MapStyle GetStyle() const { return m_style; }
48 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
49 inline void SetStyle(MapStyle value) { m_styleHasBeenSet = true; m_style = value; }
50 inline GetStyleDescriptorRequest& WithStyle(MapStyle value) { SetStyle(value); return *this;}
52
54
60 inline ColorScheme GetColorScheme() const { return m_colorScheme; }
61 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
62 inline void SetColorScheme(ColorScheme value) { m_colorSchemeHasBeenSet = true; m_colorScheme = value; }
65
67
87 inline const Aws::String& GetPoliticalView() const { return m_politicalView; }
88 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
89 template<typename PoliticalViewT = Aws::String>
90 void SetPoliticalView(PoliticalViewT&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::forward<PoliticalViewT>(value); }
91 template<typename PoliticalViewT = Aws::String>
92 GetStyleDescriptorRequest& WithPoliticalView(PoliticalViewT&& value) { SetPoliticalView(std::forward<PoliticalViewT>(value)); return *this;}
94
96
100 inline const Aws::String& GetKey() const { return m_key; }
101 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
102 template<typename KeyT = Aws::String>
103 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
104 template<typename KeyT = Aws::String>
105 GetStyleDescriptorRequest& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
107 private:
108
110 bool m_styleHasBeenSet = false;
111
112 ColorScheme m_colorScheme{ColorScheme::NOT_SET};
113 bool m_colorSchemeHasBeenSet = false;
114
115 Aws::String m_politicalView;
116 bool m_politicalViewHasBeenSet = false;
117
118 Aws::String m_key;
119 bool m_keyHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace GeoMaps
124} // namespace Aws
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetStyleDescriptorRequest & WithColorScheme(ColorScheme value)
GetStyleDescriptorRequest & WithStyle(MapStyle value)
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_GEOMAPS_API GetStyleDescriptorRequest()=default
virtual const char * GetServiceRequestName() const override
GetStyleDescriptorRequest & WithKey(KeyT &&value)
GetStyleDescriptorRequest & WithPoliticalView(PoliticalViewT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String