AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateMapRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/MapConfigurationUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API UpdateMapRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateMap"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
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) { m_mapNameHasBeenSet = true; m_mapName = std::forward<MapNameT>(value); }
44 template<typename MapNameT = Aws::String>
45 UpdateMapRequest& WithMapName(MapNameT&& value) { SetMapName(std::forward<MapNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 UpdateMapRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
65 inline const MapConfigurationUpdate& GetConfigurationUpdate() const { return m_configurationUpdate; }
66 inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; }
67 template<typename ConfigurationUpdateT = MapConfigurationUpdate>
68 void SetConfigurationUpdate(ConfigurationUpdateT&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::forward<ConfigurationUpdateT>(value); }
69 template<typename ConfigurationUpdateT = MapConfigurationUpdate>
70 UpdateMapRequest& WithConfigurationUpdate(ConfigurationUpdateT&& value) { SetConfigurationUpdate(std::forward<ConfigurationUpdateT>(value)); return *this;}
72 private:
73
74 Aws::String m_mapName;
75 bool m_mapNameHasBeenSet = false;
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 MapConfigurationUpdate m_configurationUpdate;
81 bool m_configurationUpdateHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace LocationService
86} // 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