AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetTileRequest.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/geo-maps/GeoMapsRequest.h>
10#include <aws/geo-maps/GeoMaps_EXPORTS.h>
11#include <aws/geo-maps/model/TileAdditionalFeature.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace GeoMaps {
20namespace Model {
21
25 public:
26 AWS_GEOMAPS_API GetTileRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetTile"; }
33
34 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
35
36 AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
46 inline const Aws::Vector<TileAdditionalFeature>& GetAdditionalFeatures() const { return m_additionalFeatures; }
47 inline bool AdditionalFeaturesHasBeenSet() const { return m_additionalFeaturesHasBeenSet; }
48 template <typename AdditionalFeaturesT = Aws::Vector<TileAdditionalFeature>>
49 void SetAdditionalFeatures(AdditionalFeaturesT&& value) {
50 m_additionalFeaturesHasBeenSet = true;
51 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
52 }
53 template <typename AdditionalFeaturesT = Aws::Vector<TileAdditionalFeature>>
54 GetTileRequest& WithAdditionalFeatures(AdditionalFeaturesT&& value) {
55 SetAdditionalFeatures(std::forward<AdditionalFeaturesT>(value));
56 return *this;
57 }
59 m_additionalFeaturesHasBeenSet = true;
60 m_additionalFeatures.push_back(value);
61 return *this;
62 }
64
66
74 inline const Aws::String& GetTileset() const { return m_tileset; }
75 inline bool TilesetHasBeenSet() const { return m_tilesetHasBeenSet; }
76 template <typename TilesetT = Aws::String>
77 void SetTileset(TilesetT&& value) {
78 m_tilesetHasBeenSet = true;
79 m_tileset = std::forward<TilesetT>(value);
80 }
81 template <typename TilesetT = Aws::String>
82 GetTileRequest& WithTileset(TilesetT&& value) {
83 SetTileset(std::forward<TilesetT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetZ() const { return m_z; }
93 inline bool ZHasBeenSet() const { return m_zHasBeenSet; }
94 template <typename ZT = Aws::String>
95 void SetZ(ZT&& value) {
96 m_zHasBeenSet = true;
97 m_z = std::forward<ZT>(value);
98 }
99 template <typename ZT = Aws::String>
100 GetTileRequest& WithZ(ZT&& value) {
101 SetZ(std::forward<ZT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetX() const { return m_x; }
111 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
112 template <typename XT = Aws::String>
113 void SetX(XT&& value) {
114 m_xHasBeenSet = true;
115 m_x = std::forward<XT>(value);
116 }
117 template <typename XT = Aws::String>
118 GetTileRequest& WithX(XT&& value) {
119 SetX(std::forward<XT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetY() const { return m_y; }
129 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
130 template <typename YT = Aws::String>
131 void SetY(YT&& value) {
132 m_yHasBeenSet = true;
133 m_y = std::forward<YT>(value);
134 }
135 template <typename YT = Aws::String>
136 GetTileRequest& WithY(YT&& value) {
137 SetY(std::forward<YT>(value));
138 return *this;
139 }
141
143
147 inline const Aws::String& GetKey() const { return m_key; }
148 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
149 template <typename KeyT = Aws::String>
150 void SetKey(KeyT&& value) {
151 m_keyHasBeenSet = true;
152 m_key = std::forward<KeyT>(value);
153 }
154 template <typename KeyT = Aws::String>
155 GetTileRequest& WithKey(KeyT&& value) {
156 SetKey(std::forward<KeyT>(value));
157 return *this;
158 }
160 private:
161 Aws::Vector<TileAdditionalFeature> m_additionalFeatures;
162
163 Aws::String m_tileset;
164
165 Aws::String m_z;
166
167 Aws::String m_x;
168
169 Aws::String m_y;
170
171 Aws::String m_key;
172 bool m_additionalFeaturesHasBeenSet = false;
173 bool m_tilesetHasBeenSet = false;
174 bool m_zHasBeenSet = false;
175 bool m_xHasBeenSet = false;
176 bool m_yHasBeenSet = false;
177 bool m_keyHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace GeoMaps
182} // namespace Aws
GetTileRequest & WithTileset(TilesetT &&value)
GetTileRequest & WithAdditionalFeatures(AdditionalFeaturesT &&value)
void SetTileset(TilesetT &&value)
const Aws::String & GetX() const
GetTileRequest & AddAdditionalFeatures(TileAdditionalFeature value)
const Aws::Vector< TileAdditionalFeature > & GetAdditionalFeatures() const
GetTileRequest & WithY(YT &&value)
const Aws::String & GetKey() const
GetTileRequest & WithZ(ZT &&value)
const Aws::String & GetY() const
GetTileRequest & WithKey(KeyT &&value)
virtual const char * GetServiceRequestName() const override
GetTileRequest & WithX(XT &&value)
AWS_GEOMAPS_API GetTileRequest()=default
void SetAdditionalFeatures(AdditionalFeaturesT &&value)
const Aws::String & GetZ() const
AWS_GEOMAPS_API Aws::String SerializePayload() const override
const Aws::String & GetTileset() const
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector