AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateGeofenceCollectionRequest.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 "UpdateGeofenceCollection"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
40 
44  inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
45 
49  inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
50 
54  inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
55 
59  inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
60 
64  inline UpdateGeofenceCollectionRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
65 
69  inline UpdateGeofenceCollectionRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
70 
74  inline UpdateGeofenceCollectionRequest& WithCollectionName(const char* value) { SetCollectionName(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 UpdateGeofenceCollectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 
110  inline UpdateGeofenceCollectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
111 
115  inline UpdateGeofenceCollectionRequest& 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 UpdateGeofenceCollectionRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
157 
164  inline UpdateGeofenceCollectionRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
165 
166 
179  inline const Aws::String& GetPricingPlanDataSource() const{ return m_pricingPlanDataSource; }
180 
193  inline bool PricingPlanDataSourceHasBeenSet() const { return m_pricingPlanDataSourceHasBeenSet; }
194 
207  inline void SetPricingPlanDataSource(const Aws::String& value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource = value; }
208 
221  inline void SetPricingPlanDataSource(Aws::String&& value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource = std::move(value); }
222 
235  inline void SetPricingPlanDataSource(const char* value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource.assign(value); }
236 
249  inline UpdateGeofenceCollectionRequest& WithPricingPlanDataSource(const Aws::String& value) { SetPricingPlanDataSource(value); return *this;}
250 
263  inline UpdateGeofenceCollectionRequest& WithPricingPlanDataSource(Aws::String&& value) { SetPricingPlanDataSource(std::move(value)); return *this;}
264 
277  inline UpdateGeofenceCollectionRequest& WithPricingPlanDataSource(const char* value) { SetPricingPlanDataSource(value); return *this;}
278 
279  private:
280 
281  Aws::String m_collectionName;
282  bool m_collectionNameHasBeenSet;
283 
284  Aws::String m_description;
285  bool m_descriptionHasBeenSet;
286 
287  PricingPlan m_pricingPlan;
288  bool m_pricingPlanHasBeenSet;
289 
290  Aws::String m_pricingPlanDataSource;
291  bool m_pricingPlanDataSourceHasBeenSet;
292  };
293 
294 } // namespace Model
295 } // namespace LocationService
296 } // namespace Aws
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateGeofenceCollectionRequest.h:85
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateGeofenceCollectionRequest.h:80
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithCollectionName
UpdateGeofenceCollectionRequest & WithCollectionName(Aws::String &&value)
Definition: UpdateGeofenceCollectionRequest.h:69
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithDescription
UpdateGeofenceCollectionRequest & WithDescription(const Aws::String &value)
Definition: UpdateGeofenceCollectionRequest.h:105
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::CollectionNameHasBeenSet
bool CollectionNameHasBeenSet() const
Definition: UpdateGeofenceCollectionRequest.h:44
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithPricingPlanDataSource
UpdateGeofenceCollectionRequest & WithPricingPlanDataSource(Aws::String &&value)
Definition: UpdateGeofenceCollectionRequest.h:263
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: UpdateGeofenceCollectionRequest.h:148
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::UpdateGeofenceCollectionRequest
UpdateGeofenceCollectionRequest()
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithPricingPlanDataSource
UpdateGeofenceCollectionRequest & WithPricingPlanDataSource(const char *value)
Definition: UpdateGeofenceCollectionRequest.h:277
Aws::LocationService::Model::UpdateGeofenceCollectionRequest
Definition: UpdateGeofenceCollectionRequest.h:23
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetCollectionName
void SetCollectionName(const Aws::String &value)
Definition: UpdateGeofenceCollectionRequest.h:49
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetCollectionName
void SetCollectionName(const char *value)
Definition: UpdateGeofenceCollectionRequest.h:59
PricingPlan.h
LocationServiceRequest.h
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithPricingPlan
UpdateGeofenceCollectionRequest & WithPricingPlan(PricingPlan &&value)
Definition: UpdateGeofenceCollectionRequest.h:164
LocationService_EXPORTS.h
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateGeofenceCollectionRequest.h:90
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithPricingPlan
UpdateGeofenceCollectionRequest & WithPricingPlan(const PricingPlan &value)
Definition: UpdateGeofenceCollectionRequest.h:156
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(Aws::String &&value)
Definition: UpdateGeofenceCollectionRequest.h:221
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithDescription
UpdateGeofenceCollectionRequest & WithDescription(const char *value)
Definition: UpdateGeofenceCollectionRequest.h:115
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(const char *value)
Definition: UpdateGeofenceCollectionRequest.h:235
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::GetPricingPlanDataSource
const Aws::String & GetPricingPlanDataSource() const
Definition: UpdateGeofenceCollectionRequest.h:179
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithDescription
UpdateGeofenceCollectionRequest & WithDescription(Aws::String &&value)
Definition: UpdateGeofenceCollectionRequest.h:110
AWSString.h
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateGeofenceCollectionRequest.h:100
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithCollectionName
UpdateGeofenceCollectionRequest & WithCollectionName(const Aws::String &value)
Definition: UpdateGeofenceCollectionRequest.h:64
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateGeofenceCollectionRequest.h:95
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(const Aws::String &value)
Definition: UpdateGeofenceCollectionRequest.h:207
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetCollectionName
void SetCollectionName(Aws::String &&value)
Definition: UpdateGeofenceCollectionRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: UpdateGeofenceCollectionRequest.h:140
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: UpdateGeofenceCollectionRequest.h:124
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: UpdateGeofenceCollectionRequest.h:132
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGeofenceCollectionRequest.h:31
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithCollectionName
UpdateGeofenceCollectionRequest & WithCollectionName(const char *value)
Definition: UpdateGeofenceCollectionRequest.h:74
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::GetCollectionName
const Aws::String & GetCollectionName() const
Definition: UpdateGeofenceCollectionRequest.h:39
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::WithPricingPlanDataSource
UpdateGeofenceCollectionRequest & WithPricingPlanDataSource(const Aws::String &value)
Definition: UpdateGeofenceCollectionRequest.h:249
Aws::LocationService::Model::UpdateGeofenceCollectionRequest::PricingPlanDataSourceHasBeenSet
bool PricingPlanDataSourceHasBeenSet() const
Definition: UpdateGeofenceCollectionRequest.h:193