AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetSpritesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-maps/GeoMapsRequest.h>
9#include <aws/geo-maps/GeoMaps_EXPORTS.h>
10#include <aws/geo-maps/model/ColorScheme.h>
11#include <aws/geo-maps/model/MapStyle.h>
12#include <aws/geo-maps/model/Variant.h>
13
14#include <utility>
15
16namespace Aws {
17namespace GeoMaps {
18namespace Model {
19
23 public:
24 AWS_GEOMAPS_API GetSpritesRequest() = 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 "GetSprites"; }
31
32 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
33
35
40 inline const Aws::String& GetFileName() const { return m_fileName; }
41 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
42 template <typename FileNameT = Aws::String>
43 void SetFileName(FileNameT&& value) {
44 m_fileNameHasBeenSet = true;
45 m_fileName = std::forward<FileNameT>(value);
46 }
47 template <typename FileNameT = Aws::String>
48 GetSpritesRequest& WithFileName(FileNameT&& value) {
49 SetFileName(std::forward<FileNameT>(value));
50 return *this;
51 }
53
55
58 inline MapStyle GetStyle() const { return m_style; }
59 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
60 inline void SetStyle(MapStyle value) {
61 m_styleHasBeenSet = true;
62 m_style = value;
63 }
65 SetStyle(value);
66 return *this;
67 }
69
71
77 inline ColorScheme GetColorScheme() const { return m_colorScheme; }
78 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
79 inline void SetColorScheme(ColorScheme value) {
80 m_colorSchemeHasBeenSet = true;
81 m_colorScheme = value;
82 }
84 SetColorScheme(value);
85 return *this;
86 }
88
90
96 inline Variant GetVariant() const { return m_variant; }
97 inline bool VariantHasBeenSet() const { return m_variantHasBeenSet; }
98 inline void SetVariant(Variant value) {
99 m_variantHasBeenSet = true;
100 m_variant = value;
101 }
103 SetVariant(value);
104 return *this;
105 }
107 private:
108 Aws::String m_fileName;
109
111
112 ColorScheme m_colorScheme{ColorScheme::NOT_SET};
113
114 Variant m_variant{Variant::NOT_SET};
115 bool m_fileNameHasBeenSet = false;
116 bool m_styleHasBeenSet = false;
117 bool m_colorSchemeHasBeenSet = false;
118 bool m_variantHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace GeoMaps
123} // namespace Aws
AWS_GEOMAPS_API Aws::String SerializePayload() const override
GetSpritesRequest & WithStyle(MapStyle value)
GetSpritesRequest & WithColorScheme(ColorScheme value)
virtual const char * GetServiceRequestName() const override
GetSpritesRequest & WithVariant(Variant value)
const Aws::String & GetFileName() const
AWS_GEOMAPS_API GetSpritesRequest()=default
GetSpritesRequest & WithFileName(FileNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String