AWS SDK for C++  1.9.126
AWS SDK for C++
CreateMapRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace LocationService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "CreateMap"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const MapConfiguration& GetConfiguration() const{ return m_configuration; }
42 
46  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
47 
51  inline void SetConfiguration(const MapConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
52 
56  inline void SetConfiguration(MapConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
57 
61  inline CreateMapRequest& WithConfiguration(const MapConfiguration& value) { SetConfiguration(value); return *this;}
62 
66  inline CreateMapRequest& WithConfiguration(MapConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
67 
68 
72  inline const Aws::String& GetDescription() const{ return m_description; }
73 
77  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 
82  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 
87  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
88 
92  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 
97  inline CreateMapRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 
102  inline CreateMapRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
103 
107  inline CreateMapRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
108 
109 
117  inline const Aws::String& GetMapName() const{ return m_mapName; }
118 
126  inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; }
127 
135  inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; }
136 
144  inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); }
145 
153  inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); }
154 
162  inline CreateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;}
163 
171  inline CreateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;}
172 
180  inline CreateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;}
181 
182 
189  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
190 
197  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
198 
205  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
206 
213  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
214 
221  inline CreateMapRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
222 
229  inline CreateMapRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
230 
231 
242  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
243 
254  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
255 
266  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
267 
278  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
279 
290  inline CreateMapRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
291 
302  inline CreateMapRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
303 
314  inline CreateMapRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
315 
326  inline CreateMapRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
327 
338  inline CreateMapRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
339 
350  inline CreateMapRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
351 
362  inline CreateMapRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
363 
374  inline CreateMapRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
375 
386  inline CreateMapRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
387 
388  private:
389 
390  MapConfiguration m_configuration;
391  bool m_configurationHasBeenSet;
392 
393  Aws::String m_description;
394  bool m_descriptionHasBeenSet;
395 
396  Aws::String m_mapName;
397  bool m_mapNameHasBeenSet;
398 
399  PricingPlan m_pricingPlan;
400  bool m_pricingPlanHasBeenSet;
401 
403  bool m_tagsHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace LocationService
408 } // namespace Aws
Aws::LocationService::Model::CreateMapRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateMapRequest.h:82
Aws::LocationService::Model::CreateMapRequest::CreateMapRequest
CreateMapRequest()
Aws::LocationService::Model::CreateMapRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateMapRequest.h:87
Aws::LocationService::Model::CreateMapRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: CreateMapRequest.h:197
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateMapRequest.h:326
Aws::LocationService::Model::CreateMapRequest::WithConfiguration
CreateMapRequest & WithConfiguration(MapConfiguration &&value)
Definition: CreateMapRequest.h:66
Aws::LocationService::Model::CreateMapRequest::WithConfiguration
CreateMapRequest & WithConfiguration(const MapConfiguration &value)
Definition: CreateMapRequest.h:61
Aws::LocationService::Model::CreateMapRequest::WithMapName
CreateMapRequest & WithMapName(const Aws::String &value)
Definition: CreateMapRequest.h:162
Aws::LocationService::Model::CreateMapRequest::WithPricingPlan
CreateMapRequest & WithPricingPlan(PricingPlan &&value)
Definition: CreateMapRequest.h:229
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::LocationService::Model::CreateMapRequest::GetConfiguration
const MapConfiguration & GetConfiguration() const
Definition: CreateMapRequest.h:41
Aws::LocationService::Model::CreateMapRequest::WithMapName
CreateMapRequest & WithMapName(Aws::String &&value)
Definition: CreateMapRequest.h:171
Aws::LocationService::Model::CreateMapRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateMapRequest.h:33
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateMapRequest.h:314
Aws::LocationService::Model::CreateMapRequest::WithPricingPlan
CreateMapRequest & WithPricingPlan(const PricingPlan &value)
Definition: CreateMapRequest.h:221
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
PricingPlan.h
Aws::LocationService::Model::CreateMapRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateMapRequest.h:266
LocationServiceRequest.h
Aws::LocationService::Model::CreateMapRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: CreateMapRequest.h:213
LocationService_EXPORTS.h
Aws::LocationService::Model::CreateMapRequest::WithDescription
CreateMapRequest & WithDescription(Aws::String &&value)
Definition: CreateMapRequest.h:102
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateMapRequest.h:374
Aws::LocationService::Model::CreateMapRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateMapRequest.h:92
Aws::LocationService::Model::MapConfiguration
Definition: MapConfiguration.h:33
Aws::LocationService::Model::CreateMapRequest::MapNameHasBeenSet
bool MapNameHasBeenSet() const
Definition: CreateMapRequest.h:126
Aws::LocationService::Model::CreateMapRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateMapRequest.h:72
MapConfiguration.h
Aws::LocationService::Model::CreateMapRequest::SetConfiguration
void SetConfiguration(const MapConfiguration &value)
Definition: CreateMapRequest.h:51
AWSString.h
Aws::LocationService::Model::CreateMapRequest::WithDescription
CreateMapRequest & WithDescription(const char *value)
Definition: CreateMapRequest.h:107
Aws::LocationService::Model::CreateMapRequest
Definition: CreateMapRequest.h:25
Aws::LocationService::Model::CreateMapRequest::SetMapName
void SetMapName(const Aws::String &value)
Definition: CreateMapRequest.h:135
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateMapRequest.h:362
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateMapRequest.h:350
Aws::LocationService::Model::CreateMapRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: CreateMapRequest.h:189
Aws::LocationService::Model::CreateMapRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateMapRequest.h:254
Aws::LocationService::Model::CreateMapRequest::SetMapName
void SetMapName(Aws::String &&value)
Definition: CreateMapRequest.h:144
Aws::LocationService::Model::CreateMapRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateMapRequest.h:278
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(const char *key, const char *value)
Definition: CreateMapRequest.h:386
Aws::LocationService::Model::CreateMapRequest::WithMapName
CreateMapRequest & WithMapName(const char *value)
Definition: CreateMapRequest.h:180
Aws::LocationService::Model::CreateMapRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::CreateMapRequest::WithTags
CreateMapRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateMapRequest.h:302
Aws::LocationService::Model::CreateMapRequest::WithDescription
CreateMapRequest & WithDescription(const Aws::String &value)
Definition: CreateMapRequest.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::CreateMapRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateMapRequest.h:77
Aws::LocationService::Model::CreateMapRequest::GetMapName
const Aws::String & GetMapName() const
Definition: CreateMapRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::CreateMapRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateMapRequest.h:242
Aws::LocationService::Model::CreateMapRequest::AddTags
CreateMapRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateMapRequest.h:338
Aws::LocationService::Model::CreateMapRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: CreateMapRequest.h:205
Aws::LocationService::Model::CreateMapRequest::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: CreateMapRequest.h:46
AWSMap.h
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::CreateMapRequest::WithTags
CreateMapRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateMapRequest.h:290
Aws::LocationService::Model::CreateMapRequest::SetMapName
void SetMapName(const char *value)
Definition: CreateMapRequest.h:153
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::LocationService::Model::CreateMapRequest::SetConfiguration
void SetConfiguration(MapConfiguration &&value)
Definition: CreateMapRequest.h:56