AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetMapTileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/location/LocationService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace LocationService {
18namespace Model {
19
23 public:
24 AWS_LOCATIONSERVICE_API GetMapTileRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetMapTile"; }
31
32 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetMapName() const { return m_mapName; }
41 inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; }
42 template <typename MapNameT = Aws::String>
43 void SetMapName(MapNameT&& value) {
44 m_mapNameHasBeenSet = true;
45 m_mapName = std::forward<MapNameT>(value);
46 }
47 template <typename MapNameT = Aws::String>
48 GetMapTileRequest& WithMapName(MapNameT&& value) {
49 SetMapName(std::forward<MapNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetZ() const { return m_z; }
59 inline bool ZHasBeenSet() const { return m_zHasBeenSet; }
60 template <typename ZT = Aws::String>
61 void SetZ(ZT&& value) {
62 m_zHasBeenSet = true;
63 m_z = std::forward<ZT>(value);
64 }
65 template <typename ZT = Aws::String>
66 GetMapTileRequest& WithZ(ZT&& value) {
67 SetZ(std::forward<ZT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetX() const { return m_x; }
77 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
78 template <typename XT = Aws::String>
79 void SetX(XT&& value) {
80 m_xHasBeenSet = true;
81 m_x = std::forward<XT>(value);
82 }
83 template <typename XT = Aws::String>
84 GetMapTileRequest& WithX(XT&& value) {
85 SetX(std::forward<XT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetY() const { return m_y; }
95 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
96 template <typename YT = Aws::String>
97 void SetY(YT&& value) {
98 m_yHasBeenSet = true;
99 m_y = std::forward<YT>(value);
100 }
101 template <typename YT = Aws::String>
103 SetY(std::forward<YT>(value));
104 return *this;
105 }
107
109
114 inline const Aws::String& GetKey() const { return m_key; }
115 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
116 template <typename KeyT = Aws::String>
117 void SetKey(KeyT&& value) {
118 m_keyHasBeenSet = true;
119 m_key = std::forward<KeyT>(value);
120 }
121 template <typename KeyT = Aws::String>
122 GetMapTileRequest& WithKey(KeyT&& value) {
123 SetKey(std::forward<KeyT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_mapName;
129
130 Aws::String m_z;
131
132 Aws::String m_x;
133
134 Aws::String m_y;
135
136 Aws::String m_key;
137 bool m_mapNameHasBeenSet = false;
138 bool m_zHasBeenSet = false;
139 bool m_xHasBeenSet = false;
140 bool m_yHasBeenSet = false;
141 bool m_keyHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace LocationService
146} // namespace Aws
AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LOCATIONSERVICE_API GetMapTileRequest()=default
GetMapTileRequest & WithMapName(MapNameT &&value)
GetMapTileRequest & WithKey(KeyT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String