AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
43 inline const Aws::Vector<TileAdditionalFeature>& GetAdditionalFeatures() const { return m_additionalFeatures; }
44 inline bool AdditionalFeaturesHasBeenSet() const { return m_additionalFeaturesHasBeenSet; }
45 template <typename AdditionalFeaturesT = Aws::Vector<TileAdditionalFeature>>
46 void SetAdditionalFeatures(AdditionalFeaturesT&& value) {
47 m_additionalFeaturesHasBeenSet = true;
48 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
49 }
50 template <typename AdditionalFeaturesT = Aws::Vector<TileAdditionalFeature>>
51 GetTileRequest& WithAdditionalFeatures(AdditionalFeaturesT&& value) {
52 SetAdditionalFeatures(std::forward<AdditionalFeaturesT>(value));
53 return *this;
54 }
56 m_additionalFeaturesHasBeenSet = true;
57 m_additionalFeatures.push_back(value);
58 return *this;
59 }
61
63
67 inline const Aws::String& GetTileset() const { return m_tileset; }
68 inline bool TilesetHasBeenSet() const { return m_tilesetHasBeenSet; }
69 template <typename TilesetT = Aws::String>
70 void SetTileset(TilesetT&& value) {
71 m_tilesetHasBeenSet = true;
72 m_tileset = std::forward<TilesetT>(value);
73 }
74 template <typename TilesetT = Aws::String>
75 GetTileRequest& WithTileset(TilesetT&& value) {
76 SetTileset(std::forward<TilesetT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetZ() const { return m_z; }
86 inline bool ZHasBeenSet() const { return m_zHasBeenSet; }
87 template <typename ZT = Aws::String>
88 void SetZ(ZT&& value) {
89 m_zHasBeenSet = true;
90 m_z = std::forward<ZT>(value);
91 }
92 template <typename ZT = Aws::String>
93 GetTileRequest& WithZ(ZT&& value) {
94 SetZ(std::forward<ZT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetX() const { return m_x; }
104 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
105 template <typename XT = Aws::String>
106 void SetX(XT&& value) {
107 m_xHasBeenSet = true;
108 m_x = std::forward<XT>(value);
109 }
110 template <typename XT = Aws::String>
111 GetTileRequest& WithX(XT&& value) {
112 SetX(std::forward<XT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetY() const { return m_y; }
122 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
123 template <typename YT = Aws::String>
124 void SetY(YT&& value) {
125 m_yHasBeenSet = true;
126 m_y = std::forward<YT>(value);
127 }
128 template <typename YT = Aws::String>
129 GetTileRequest& WithY(YT&& value) {
130 SetY(std::forward<YT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetKey() const { return m_key; }
141 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
142 template <typename KeyT = Aws::String>
143 void SetKey(KeyT&& value) {
144 m_keyHasBeenSet = true;
145 m_key = std::forward<KeyT>(value);
146 }
147 template <typename KeyT = Aws::String>
148 GetTileRequest& WithKey(KeyT&& value) {
149 SetKey(std::forward<KeyT>(value));
150 return *this;
151 }
153 private:
154 Aws::Vector<TileAdditionalFeature> m_additionalFeatures;
155
156 Aws::String m_tileset;
157
158 Aws::String m_z;
159
160 Aws::String m_x;
161
162 Aws::String m_y;
163
164 Aws::String m_key;
165 bool m_additionalFeaturesHasBeenSet = false;
166 bool m_tilesetHasBeenSet = false;
167 bool m_zHasBeenSet = false;
168 bool m_xHasBeenSet = false;
169 bool m_yHasBeenSet = false;
170 bool m_keyHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace GeoMaps
175} // 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