AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetMapSpritesRequest.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 GetMapSpritesRequest() = 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 "GetMapSprites"; }
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 GetMapSpritesRequest& WithMapName(MapNameT&& value) {
49 SetMapName(std::forward<MapNameT>(value));
50 return *this;
51 }
53
55
63 inline const Aws::String& GetFileName() const { return m_fileName; }
64 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
65 template <typename FileNameT = Aws::String>
66 void SetFileName(FileNameT&& value) {
67 m_fileNameHasBeenSet = true;
68 m_fileName = std::forward<FileNameT>(value);
69 }
70 template <typename FileNameT = Aws::String>
71 GetMapSpritesRequest& WithFileName(FileNameT&& value) {
72 SetFileName(std::forward<FileNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetKey() const { return m_key; }
84 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
85 template <typename KeyT = Aws::String>
86 void SetKey(KeyT&& value) {
87 m_keyHasBeenSet = true;
88 m_key = std::forward<KeyT>(value);
89 }
90 template <typename KeyT = Aws::String>
92 SetKey(std::forward<KeyT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_mapName;
98
99 Aws::String m_fileName;
100
101 Aws::String m_key;
102 bool m_mapNameHasBeenSet = false;
103 bool m_fileNameHasBeenSet = false;
104 bool m_keyHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace LocationService
109} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetMapSpritesRequest & WithFileName(FileNameT &&value)
AWS_LOCATIONSERVICE_API GetMapSpritesRequest()=default
AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetMapSpritesRequest & WithMapName(MapNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String