AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSpritesRequest.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 <aws/geo-maps/model/MapStyle.h>
11#include <aws/geo-maps/model/ColorScheme.h>
12#include <aws/geo-maps/model/Variant.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GeoMaps
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GEOMAPS_API GetSpritesRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetSprites"; }
34
35 AWS_GEOMAPS_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetFileName() const { return m_fileName; }
45 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
46 template<typename FileNameT = Aws::String>
47 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
48 template<typename FileNameT = Aws::String>
49 GetSpritesRequest& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
51
53
56 inline MapStyle GetStyle() const { return m_style; }
57 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
58 inline void SetStyle(MapStyle value) { m_styleHasBeenSet = true; m_style = value; }
59 inline GetSpritesRequest& WithStyle(MapStyle value) { SetStyle(value); return *this;}
61
63
69 inline ColorScheme GetColorScheme() const { return m_colorScheme; }
70 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
71 inline void SetColorScheme(ColorScheme value) { m_colorSchemeHasBeenSet = true; m_colorScheme = value; }
72 inline GetSpritesRequest& WithColorScheme(ColorScheme value) { SetColorScheme(value); return *this;}
74
76
82 inline Variant GetVariant() const { return m_variant; }
83 inline bool VariantHasBeenSet() const { return m_variantHasBeenSet; }
84 inline void SetVariant(Variant value) { m_variantHasBeenSet = true; m_variant = value; }
85 inline GetSpritesRequest& WithVariant(Variant value) { SetVariant(value); return *this;}
87 private:
88
89 Aws::String m_fileName;
90 bool m_fileNameHasBeenSet = false;
91
93 bool m_styleHasBeenSet = false;
94
95 ColorScheme m_colorScheme{ColorScheme::NOT_SET};
96 bool m_colorSchemeHasBeenSet = false;
97
98 Variant m_variant{Variant::NOT_SET};
99 bool m_variantHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace GeoMaps
104} // 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