AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const MapStyle& GetStyle() const{ return m_style; }
48 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
49 inline void SetStyle(const MapStyle& value) { m_styleHasBeenSet = true; m_style = value; }
50 inline void SetStyle(MapStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); }
51 inline GetStyleDescriptorRequest& WithStyle(const MapStyle& value) { SetStyle(value); return *this;}
52 inline GetStyleDescriptorRequest& WithStyle(MapStyle&& value) { SetStyle(std::move(value)); return *this;}
54
56
62 inline const ColorScheme& GetColorScheme() const{ return m_colorScheme; }
63 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
64 inline void SetColorScheme(const ColorScheme& value) { m_colorSchemeHasBeenSet = true; m_colorScheme = value; }
65 inline void SetColorScheme(ColorScheme&& value) { m_colorSchemeHasBeenSet = true; m_colorScheme = std::move(value); }
66 inline GetStyleDescriptorRequest& WithColorScheme(const ColorScheme& value) { SetColorScheme(value); return *this;}
67 inline GetStyleDescriptorRequest& WithColorScheme(ColorScheme&& value) { SetColorScheme(std::move(value)); return *this;}
69
71
92 inline const Aws::String& GetPoliticalView() const{ return m_politicalView; }
93 inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; }
94 inline void SetPoliticalView(const Aws::String& value) { m_politicalViewHasBeenSet = true; m_politicalView = value; }
95 inline void SetPoliticalView(Aws::String&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::move(value); }
96 inline void SetPoliticalView(const char* value) { m_politicalViewHasBeenSet = true; m_politicalView.assign(value); }
97 inline GetStyleDescriptorRequest& WithPoliticalView(const Aws::String& value) { SetPoliticalView(value); return *this;}
98 inline GetStyleDescriptorRequest& WithPoliticalView(Aws::String&& value) { SetPoliticalView(std::move(value)); return *this;}
99 inline GetStyleDescriptorRequest& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;}
101
103
107 inline const Aws::String& GetKey() const{ return m_key; }
108 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
109 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
110 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
111 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
112 inline GetStyleDescriptorRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
113 inline GetStyleDescriptorRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
114 inline GetStyleDescriptorRequest& WithKey(const char* value) { SetKey(value); return *this;}
116 private:
117
118 MapStyle m_style;
119 bool m_styleHasBeenSet = false;
120
121 ColorScheme m_colorScheme;
122 bool m_colorSchemeHasBeenSet = false;
123
124 Aws::String m_politicalView;
125 bool m_politicalViewHasBeenSet = false;
126
127 Aws::String m_key;
128 bool m_keyHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace GeoMaps
133} // namespace Aws
GetStyleDescriptorRequest & WithKey(Aws::String &&value)
GetStyleDescriptorRequest & WithPoliticalView(Aws::String &&value)
GetStyleDescriptorRequest & WithColorScheme(const ColorScheme &value)
GetStyleDescriptorRequest & WithStyle(const MapStyle &value)
GetStyleDescriptorRequest & WithKey(const Aws::String &value)
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetStyleDescriptorRequest & WithPoliticalView(const Aws::String &value)
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
GetStyleDescriptorRequest & WithColorScheme(ColorScheme &&value)
GetStyleDescriptorRequest & WithPoliticalView(const char *value)
GetStyleDescriptorRequest & WithStyle(MapStyle &&value)
GetStyleDescriptorRequest & WithKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String