AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTileset(const Aws::String& value) { m_tilesetHasBeenSet = true; m_tileset = value; }
49 inline void SetTileset(Aws::String&& value) { m_tilesetHasBeenSet = true; m_tileset = std::move(value); }
50 inline void SetTileset(const char* value) { m_tilesetHasBeenSet = true; m_tileset.assign(value); }
51 inline GetTileRequest& WithTileset(const Aws::String& value) { SetTileset(value); return *this;}
52 inline GetTileRequest& WithTileset(Aws::String&& value) { SetTileset(std::move(value)); return *this;}
53 inline GetTileRequest& WithTileset(const char* value) { SetTileset(value); return *this;}
55
57
60 inline const Aws::String& GetZ() const{ return m_z; }
61 inline bool ZHasBeenSet() const { return m_zHasBeenSet; }
62 inline void SetZ(const Aws::String& value) { m_zHasBeenSet = true; m_z = value; }
63 inline void SetZ(Aws::String&& value) { m_zHasBeenSet = true; m_z = std::move(value); }
64 inline void SetZ(const char* value) { m_zHasBeenSet = true; m_z.assign(value); }
65 inline GetTileRequest& WithZ(const Aws::String& value) { SetZ(value); return *this;}
66 inline GetTileRequest& WithZ(Aws::String&& value) { SetZ(std::move(value)); return *this;}
67 inline GetTileRequest& WithZ(const char* value) { SetZ(value); return *this;}
69
71
74 inline const Aws::String& GetX() const{ return m_x; }
75 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
76 inline void SetX(const Aws::String& value) { m_xHasBeenSet = true; m_x = value; }
77 inline void SetX(Aws::String&& value) { m_xHasBeenSet = true; m_x = std::move(value); }
78 inline void SetX(const char* value) { m_xHasBeenSet = true; m_x.assign(value); }
79 inline GetTileRequest& WithX(const Aws::String& value) { SetX(value); return *this;}
80 inline GetTileRequest& WithX(Aws::String&& value) { SetX(std::move(value)); return *this;}
81 inline GetTileRequest& WithX(const char* value) { SetX(value); return *this;}
83
85
88 inline const Aws::String& GetY() const{ return m_y; }
89 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
90 inline void SetY(const Aws::String& value) { m_yHasBeenSet = true; m_y = value; }
91 inline void SetY(Aws::String&& value) { m_yHasBeenSet = true; m_y = std::move(value); }
92 inline void SetY(const char* value) { m_yHasBeenSet = true; m_y.assign(value); }
93 inline GetTileRequest& WithY(const Aws::String& value) { SetY(value); return *this;}
94 inline GetTileRequest& WithY(Aws::String&& value) { SetY(std::move(value)); return *this;}
95 inline GetTileRequest& WithY(const char* value) { SetY(value); return *this;}
97
99
103 inline const Aws::String& GetKey() const{ return m_key; }
104 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
105 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
106 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
107 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
108 inline GetTileRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
109 inline GetTileRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
110 inline GetTileRequest& WithKey(const char* value) { SetKey(value); return *this;}
112 private:
113
114 Aws::String m_tileset;
115 bool m_tilesetHasBeenSet = false;
116
117 Aws::String m_z;
118 bool m_zHasBeenSet = false;
119
120 Aws::String m_x;
121 bool m_xHasBeenSet = false;
122
123 Aws::String m_y;
124 bool m_yHasBeenSet = false;
125
126 Aws::String m_key;
127 bool m_keyHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace GeoMaps
132} // namespace Aws
void SetY(Aws::String &&value)
GetTileRequest & WithX(const char *value)
void SetTileset(const char *value)
const Aws::String & GetX() const
GetTileRequest & WithTileset(const char *value)
void SetTileset(Aws::String &&value)
const Aws::String & GetKey() const
GetTileRequest & WithY(Aws::String &&value)
void SetX(const Aws::String &value)
void SetY(const Aws::String &value)
GetTileRequest & WithY(const char *value)
const Aws::String & GetY() const
GetTileRequest & WithX(Aws::String &&value)
GetTileRequest & WithZ(const Aws::String &value)
void SetZ(const Aws::String &value)
GetTileRequest & WithTileset(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetTileRequest & WithKey(const Aws::String &value)
void SetX(Aws::String &&value)
void SetZ(Aws::String &&value)
GetTileRequest & WithKey(const char *value)
void SetTileset(const Aws::String &value)
const Aws::String & GetZ() const
GetTileRequest & WithX(const Aws::String &value)
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetTileRequest & WithKey(Aws::String &&value)
const Aws::String & GetTileset() const
GetTileRequest & WithY(const Aws::String &value)
void SetKey(const Aws::String &value)
GetTileRequest & WithTileset(Aws::String &&value)
void SetKey(Aws::String &&value)
GetTileRequest & WithZ(Aws::String &&value)
GetTileRequest & WithZ(const char *value)
AWS_GEOMAPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String