AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateMapRequest.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#include <aws/location/model/MapConfigurationUpdate.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LocationService {
16namespace Model {
17
21 public:
22 AWS_LOCATIONSERVICE_API UpdateMapRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateMap"; }
29
30 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetMapName() const { return m_mapName; }
37 inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; }
38 template <typename MapNameT = Aws::String>
39 void SetMapName(MapNameT&& value) {
40 m_mapNameHasBeenSet = true;
41 m_mapName = std::forward<MapNameT>(value);
42 }
43 template <typename MapNameT = Aws::String>
44 UpdateMapRequest& WithMapName(MapNameT&& value) {
45 SetMapName(std::forward<MapNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
62 UpdateMapRequest& WithDescription(DescriptionT&& value) {
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
73 inline const MapConfigurationUpdate& GetConfigurationUpdate() const { return m_configurationUpdate; }
74 inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; }
75 template <typename ConfigurationUpdateT = MapConfigurationUpdate>
76 void SetConfigurationUpdate(ConfigurationUpdateT&& value) {
77 m_configurationUpdateHasBeenSet = true;
78 m_configurationUpdate = std::forward<ConfigurationUpdateT>(value);
79 }
80 template <typename ConfigurationUpdateT = MapConfigurationUpdate>
81 UpdateMapRequest& WithConfigurationUpdate(ConfigurationUpdateT&& value) {
82 SetConfigurationUpdate(std::forward<ConfigurationUpdateT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_mapName;
88
89 Aws::String m_description;
90
91 MapConfigurationUpdate m_configurationUpdate;
92 bool m_mapNameHasBeenSet = false;
93 bool m_descriptionHasBeenSet = false;
94 bool m_configurationUpdateHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace LocationService
99} // namespace Aws
virtual const char * GetServiceRequestName() const override
const MapConfigurationUpdate & GetConfigurationUpdate() const
UpdateMapRequest & WithMapName(MapNameT &&value)
UpdateMapRequest & WithConfigurationUpdate(ConfigurationUpdateT &&value)
UpdateMapRequest & WithDescription(DescriptionT &&value)
void SetConfigurationUpdate(ConfigurationUpdateT &&value)
AWS_LOCATIONSERVICE_API UpdateMapRequest()=default
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String