AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTileRequest.h
1
6#pragma once
7#include <aws/geo-maps/GeoMaps_EXPORTS.h>
8#include <aws/geo-maps/GeoMapsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace GeoMaps
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_GEOMAPS_API GetTileRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetTile"; }
35
36 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
37
38 AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetTileset() const { return m_tileset; }
47 inline bool TilesetHasBeenSet() const { return m_tilesetHasBeenSet; }
48 template<typename TilesetT = Aws::String>
49 void SetTileset(TilesetT&& value) { m_tilesetHasBeenSet = true; m_tileset = std::forward<TilesetT>(value); }
50 template<typename TilesetT = Aws::String>
51 GetTileRequest& WithTileset(TilesetT&& value) { SetTileset(std::forward<TilesetT>(value)); return *this;}
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) { m_zHasBeenSet = true; m_z = std::forward<ZT>(value); }
62 template<typename ZT = Aws::String>
63 GetTileRequest& WithZ(ZT&& value) { SetZ(std::forward<ZT>(value)); return *this;}
65
67
70 inline const Aws::String& GetX() const { return m_x; }
71 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
72 template<typename XT = Aws::String>
73 void SetX(XT&& value) { m_xHasBeenSet = true; m_x = std::forward<XT>(value); }
74 template<typename XT = Aws::String>
75 GetTileRequest& WithX(XT&& value) { SetX(std::forward<XT>(value)); return *this;}
77
79
82 inline const Aws::String& GetY() const { return m_y; }
83 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
84 template<typename YT = Aws::String>
85 void SetY(YT&& value) { m_yHasBeenSet = true; m_y = std::forward<YT>(value); }
86 template<typename YT = Aws::String>
87 GetTileRequest& WithY(YT&& value) { SetY(std::forward<YT>(value)); return *this;}
89
91
95 inline const Aws::String& GetKey() const { return m_key; }
96 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
97 template<typename KeyT = Aws::String>
98 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
99 template<typename KeyT = Aws::String>
100 GetTileRequest& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
102 private:
103
104 Aws::String m_tileset;
105 bool m_tilesetHasBeenSet = false;
106
107 Aws::String m_z;
108 bool m_zHasBeenSet = false;
109
110 Aws::String m_x;
111 bool m_xHasBeenSet = false;
112
113 Aws::String m_y;
114 bool m_yHasBeenSet = false;
115
116 Aws::String m_key;
117 bool m_keyHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace GeoMaps
122} // namespace Aws
GetTileRequest & WithTileset(TilesetT &&value)
void SetTileset(TilesetT &&value)
const Aws::String & GetX() 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
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