AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; }
43 inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); }
44 inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); }
45 inline UpdateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;}
46 inline UpdateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;}
47 inline UpdateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline UpdateMapRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline UpdateMapRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline UpdateMapRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
69 inline const MapConfigurationUpdate& GetConfigurationUpdate() const{ return m_configurationUpdate; }
70 inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; }
71 inline void SetConfigurationUpdate(const MapConfigurationUpdate& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = value; }
72 inline void SetConfigurationUpdate(MapConfigurationUpdate&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::move(value); }
76 private:
77
78 Aws::String m_mapName;
79 bool m_mapNameHasBeenSet = false;
80
81 Aws::String m_description;
82 bool m_descriptionHasBeenSet = false;
83
84 MapConfigurationUpdate m_configurationUpdate;
85 bool m_configurationUpdateHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace LocationService
90} // namespace Aws
virtual const char * GetServiceRequestName() const override
const MapConfigurationUpdate & GetConfigurationUpdate() const
AWS_LOCATIONSERVICE_API UpdateMapRequest()
UpdateMapRequest & WithDescription(Aws::String &&value)
UpdateMapRequest & WithConfigurationUpdate(const MapConfigurationUpdate &value)
UpdateMapRequest & WithMapName(Aws::String &&value)
UpdateMapRequest & WithMapName(const Aws::String &value)
void SetConfigurationUpdate(MapConfigurationUpdate &&value)
UpdateMapRequest & WithDescription(const char *value)
void SetMapName(const Aws::String &value)
UpdateMapRequest & WithMapName(const char *value)
UpdateMapRequest & WithDescription(const Aws::String &value)
UpdateMapRequest & WithConfigurationUpdate(MapConfigurationUpdate &&value)
void SetConfigurationUpdate(const MapConfigurationUpdate &value)
void SetDescription(const Aws::String &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String