AWS SDK for C++  1.9.131
AWS SDK for C++
UpdateMapRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LocationService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDescription() const{ return m_description; }
40 
44  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 
49  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 
54  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
55 
59  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 
64  inline UpdateMapRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 
69  inline UpdateMapRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 
74  inline UpdateMapRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
75 
76 
80  inline const Aws::String& GetMapName() const{ return m_mapName; }
81 
85  inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; }
86 
90  inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; }
91 
95  inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); }
96 
100  inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); }
101 
105  inline UpdateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;}
106 
110  inline UpdateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;}
111 
115  inline UpdateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;}
116 
117 
124  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
125 
132  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
133 
140  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
141 
148  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
149 
156  inline UpdateMapRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
157 
164  inline UpdateMapRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
165 
166  private:
167 
168  Aws::String m_description;
169  bool m_descriptionHasBeenSet;
170 
171  Aws::String m_mapName;
172  bool m_mapNameHasBeenSet;
173 
174  PricingPlan m_pricingPlan;
175  bool m_pricingPlanHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace LocationService
180 } // namespace Aws
Aws::LocationService::Model::UpdateMapRequest::WithDescription
UpdateMapRequest & WithDescription(const Aws::String &value)
Definition: UpdateMapRequest.h:64
Aws::LocationService::Model::UpdateMapRequest::WithMapName
UpdateMapRequest & WithMapName(const char *value)
Definition: UpdateMapRequest.h:115
Aws::LocationService::Model::UpdateMapRequest::UpdateMapRequest
UpdateMapRequest()
Aws::LocationService::Model::UpdateMapRequest::WithMapName
UpdateMapRequest & WithMapName(const Aws::String &value)
Definition: UpdateMapRequest.h:105
Aws::LocationService::Model::UpdateMapRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: UpdateMapRequest.h:140
Aws::LocationService::Model::UpdateMapRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMapRequest.h:31
Aws::LocationService::Model::UpdateMapRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: UpdateMapRequest.h:132
Aws::LocationService::Model::UpdateMapRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: UpdateMapRequest.h:148
Aws::LocationService::Model::UpdateMapRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::LocationService::Model::UpdateMapRequest::WithDescription
UpdateMapRequest & WithDescription(const char *value)
Definition: UpdateMapRequest.h:74
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
PricingPlan.h
LocationServiceRequest.h
Aws::LocationService::Model::UpdateMapRequest::WithDescription
UpdateMapRequest & WithDescription(Aws::String &&value)
Definition: UpdateMapRequest.h:69
Aws::LocationService::Model::UpdateMapRequest::SetMapName
void SetMapName(const char *value)
Definition: UpdateMapRequest.h:100
LocationService_EXPORTS.h
Aws::LocationService::Model::UpdateMapRequest
Definition: UpdateMapRequest.h:23
Aws::LocationService::Model::UpdateMapRequest::MapNameHasBeenSet
bool MapNameHasBeenSet() const
Definition: UpdateMapRequest.h:85
Aws::LocationService::Model::UpdateMapRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateMapRequest.h:54
Aws::LocationService::Model::UpdateMapRequest::WithPricingPlan
UpdateMapRequest & WithPricingPlan(const PricingPlan &value)
Definition: UpdateMapRequest.h:156
Aws::LocationService::Model::UpdateMapRequest::WithMapName
UpdateMapRequest & WithMapName(Aws::String &&value)
Definition: UpdateMapRequest.h:110
Aws::LocationService::Model::UpdateMapRequest::GetMapName
const Aws::String & GetMapName() const
Definition: UpdateMapRequest.h:80
Aws::LocationService::Model::UpdateMapRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateMapRequest.h:49
AWSString.h
Aws::LocationService::Model::UpdateMapRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateMapRequest.h:44
Aws::LocationService::Model::UpdateMapRequest::WithPricingPlan
UpdateMapRequest & WithPricingPlan(PricingPlan &&value)
Definition: UpdateMapRequest.h:164
Aws::LocationService::Model::UpdateMapRequest::SetMapName
void SetMapName(Aws::String &&value)
Definition: UpdateMapRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::UpdateMapRequest::SetMapName
void SetMapName(const Aws::String &value)
Definition: UpdateMapRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::UpdateMapRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateMapRequest.h:59
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::UpdateMapRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: UpdateMapRequest.h:124
Aws::LocationService::Model::UpdateMapRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateMapRequest.h:39