AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
47 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
48 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
49 inline GetSpritesRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
50 inline GetSpritesRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
51 inline GetSpritesRequest& WithFileName(const char* value) { SetFileName(value); return *this;}
53
55
58 inline const MapStyle& GetStyle() const{ return m_style; }
59 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
60 inline void SetStyle(const MapStyle& value) { m_styleHasBeenSet = true; m_style = value; }
61 inline void SetStyle(MapStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); }
62 inline GetSpritesRequest& WithStyle(const MapStyle& value) { SetStyle(value); return *this;}
63 inline GetSpritesRequest& WithStyle(MapStyle&& value) { SetStyle(std::move(value)); return *this;}
65
67
73 inline const ColorScheme& GetColorScheme() const{ return m_colorScheme; }
74 inline bool ColorSchemeHasBeenSet() const { return m_colorSchemeHasBeenSet; }
75 inline void SetColorScheme(const ColorScheme& value) { m_colorSchemeHasBeenSet = true; m_colorScheme = value; }
76 inline void SetColorScheme(ColorScheme&& value) { m_colorSchemeHasBeenSet = true; m_colorScheme = std::move(value); }
77 inline GetSpritesRequest& WithColorScheme(const ColorScheme& value) { SetColorScheme(value); return *this;}
78 inline GetSpritesRequest& WithColorScheme(ColorScheme&& value) { SetColorScheme(std::move(value)); return *this;}
80
82
88 inline const Variant& GetVariant() const{ return m_variant; }
89 inline bool VariantHasBeenSet() const { return m_variantHasBeenSet; }
90 inline void SetVariant(const Variant& value) { m_variantHasBeenSet = true; m_variant = value; }
91 inline void SetVariant(Variant&& value) { m_variantHasBeenSet = true; m_variant = std::move(value); }
92 inline GetSpritesRequest& WithVariant(const Variant& value) { SetVariant(value); return *this;}
93 inline GetSpritesRequest& WithVariant(Variant&& value) { SetVariant(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_fileName;
98 bool m_fileNameHasBeenSet = false;
99
100 MapStyle m_style;
101 bool m_styleHasBeenSet = false;
102
103 ColorScheme m_colorScheme;
104 bool m_colorSchemeHasBeenSet = false;
105
106 Variant m_variant;
107 bool m_variantHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace GeoMaps
112} // namespace Aws
void SetFileName(const Aws::String &value)
AWS_GEOMAPS_API Aws::String SerializePayload() const override
void SetColorScheme(ColorScheme &&value)
GetSpritesRequest & WithColorScheme(const ColorScheme &value)
GetSpritesRequest & WithFileName(const char *value)
GetSpritesRequest & WithFileName(Aws::String &&value)
GetSpritesRequest & WithStyle(MapStyle &&value)
GetSpritesRequest & WithVariant(Variant &&value)
GetSpritesRequest & WithStyle(const MapStyle &value)
void SetVariant(const Variant &value)
virtual const char * GetServiceRequestName() const override
GetSpritesRequest & WithColorScheme(ColorScheme &&value)
void SetColorScheme(const ColorScheme &value)
GetSpritesRequest & WithFileName(const Aws::String &value)
const ColorScheme & GetColorScheme() const
void SetStyle(const MapStyle &value)
const Aws::String & GetFileName() const
GetSpritesRequest & WithVariant(const Variant &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String