AWS SDK for C++  1.9.131
AWS SDK for C++
UpdateRouteCalculatorRequest.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 "UpdateRouteCalculator"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; }
40 
44  inline bool CalculatorNameHasBeenSet() const { return m_calculatorNameHasBeenSet; }
45 
49  inline void SetCalculatorName(const Aws::String& value) { m_calculatorNameHasBeenSet = true; m_calculatorName = value; }
50 
54  inline void SetCalculatorName(Aws::String&& value) { m_calculatorNameHasBeenSet = true; m_calculatorName = std::move(value); }
55 
59  inline void SetCalculatorName(const char* value) { m_calculatorNameHasBeenSet = true; m_calculatorName.assign(value); }
60 
64  inline UpdateRouteCalculatorRequest& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;}
65 
69  inline UpdateRouteCalculatorRequest& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;}
70 
74  inline UpdateRouteCalculatorRequest& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;}
75 
76 
80  inline const Aws::String& GetDescription() const{ return m_description; }
81 
85  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 
90  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 
95  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 
100  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
101 
105  inline UpdateRouteCalculatorRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 
110  inline UpdateRouteCalculatorRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
111 
115  inline UpdateRouteCalculatorRequest& WithDescription(const char* value) { SetDescription(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 UpdateRouteCalculatorRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
157 
164  inline UpdateRouteCalculatorRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
165 
166  private:
167 
168  Aws::String m_calculatorName;
169  bool m_calculatorNameHasBeenSet;
170 
171  Aws::String m_description;
172  bool m_descriptionHasBeenSet;
173 
174  PricingPlan m_pricingPlan;
175  bool m_pricingPlanHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace LocationService
180 } // namespace Aws
Aws::LocationService::Model::UpdateRouteCalculatorRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateRouteCalculatorRequest.h:85
Aws::LocationService::Model::UpdateRouteCalculatorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRouteCalculatorRequest.h:31
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateRouteCalculatorRequest.h:100
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithDescription
UpdateRouteCalculatorRequest & WithDescription(const char *value)
Definition: UpdateRouteCalculatorRequest.h:115
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetCalculatorName
void SetCalculatorName(Aws::String &&value)
Definition: UpdateRouteCalculatorRequest.h:54
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithDescription
UpdateRouteCalculatorRequest & WithDescription(Aws::String &&value)
Definition: UpdateRouteCalculatorRequest.h:110
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithCalculatorName
UpdateRouteCalculatorRequest & WithCalculatorName(const char *value)
Definition: UpdateRouteCalculatorRequest.h:74
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::UpdateRouteCalculatorRequest::UpdateRouteCalculatorRequest
UpdateRouteCalculatorRequest()
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithPricingPlan
UpdateRouteCalculatorRequest & WithPricingPlan(const PricingPlan &value)
Definition: UpdateRouteCalculatorRequest.h:156
PricingPlan.h
LocationServiceRequest.h
LocationService_EXPORTS.h
Aws::LocationService::Model::UpdateRouteCalculatorRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: UpdateRouteCalculatorRequest.h:124
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithDescription
UpdateRouteCalculatorRequest & WithDescription(const Aws::String &value)
Definition: UpdateRouteCalculatorRequest.h:105
AWSString.h
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateRouteCalculatorRequest.h:95
Aws::LocationService::Model::UpdateRouteCalculatorRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateRouteCalculatorRequest.h:80
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithPricingPlan
UpdateRouteCalculatorRequest & WithPricingPlan(PricingPlan &&value)
Definition: UpdateRouteCalculatorRequest.h:164
Aws::LocationService::Model::UpdateRouteCalculatorRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: UpdateRouteCalculatorRequest.h:132
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetCalculatorName
void SetCalculatorName(const char *value)
Definition: UpdateRouteCalculatorRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::UpdateRouteCalculatorRequest
Definition: UpdateRouteCalculatorRequest.h:23
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetCalculatorName
void SetCalculatorName(const Aws::String &value)
Definition: UpdateRouteCalculatorRequest.h:49
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithCalculatorName
UpdateRouteCalculatorRequest & WithCalculatorName(Aws::String &&value)
Definition: UpdateRouteCalculatorRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: UpdateRouteCalculatorRequest.h:140
Aws::LocationService::Model::UpdateRouteCalculatorRequest::CalculatorNameHasBeenSet
bool CalculatorNameHasBeenSet() const
Definition: UpdateRouteCalculatorRequest.h:44
Aws::LocationService::Model::UpdateRouteCalculatorRequest::WithCalculatorName
UpdateRouteCalculatorRequest & WithCalculatorName(const Aws::String &value)
Definition: UpdateRouteCalculatorRequest.h:64
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: UpdateRouteCalculatorRequest.h:148
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::UpdateRouteCalculatorRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateRouteCalculatorRequest.h:90
Aws::LocationService::Model::UpdateRouteCalculatorRequest::GetCalculatorName
const Aws::String & GetCalculatorName() const
Definition: UpdateRouteCalculatorRequest.h:39