AWS SDK for C++  1.9.40
AWS SDK for C++
CreateGeofenceCollectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace LocationService
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateGeofenceCollection"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
44  inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
45 
53  inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
54 
62  inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
63 
71  inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
72 
80  inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
81 
89  inline CreateGeofenceCollectionRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
90 
98  inline CreateGeofenceCollectionRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
99 
107  inline CreateGeofenceCollectionRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
108 
109 
113  inline const Aws::String& GetDescription() const{ return m_description; }
114 
118  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 
123  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
124 
128  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
129 
133  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
134 
138  inline CreateGeofenceCollectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
139 
143  inline CreateGeofenceCollectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
144 
148  inline CreateGeofenceCollectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
149 
150 
157  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
158 
165  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
166 
173  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
174 
181  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
182 
189  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
190 
197  inline CreateGeofenceCollectionRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
198 
205  inline CreateGeofenceCollectionRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
206 
213  inline CreateGeofenceCollectionRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
214 
215 
222  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
223 
230  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
231 
238  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
239 
246  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
247 
254  inline CreateGeofenceCollectionRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
255 
262  inline CreateGeofenceCollectionRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
263 
264 
277  inline const Aws::String& GetPricingPlanDataSource() const{ return m_pricingPlanDataSource; }
278 
291  inline bool PricingPlanDataSourceHasBeenSet() const { return m_pricingPlanDataSourceHasBeenSet; }
292 
305  inline void SetPricingPlanDataSource(const Aws::String& value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource = value; }
306 
319  inline void SetPricingPlanDataSource(Aws::String&& value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource = std::move(value); }
320 
333  inline void SetPricingPlanDataSource(const char* value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource.assign(value); }
334 
347  inline CreateGeofenceCollectionRequest& WithPricingPlanDataSource(const Aws::String& value) { SetPricingPlanDataSource(value); return *this;}
348 
361  inline CreateGeofenceCollectionRequest& WithPricingPlanDataSource(Aws::String&& value) { SetPricingPlanDataSource(std::move(value)); return *this;}
362 
375  inline CreateGeofenceCollectionRequest& WithPricingPlanDataSource(const char* value) { SetPricingPlanDataSource(value); return *this;}
376 
377 
388  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
389 
400  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
401 
412  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
413 
424  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
425 
436  inline CreateGeofenceCollectionRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
437 
448  inline CreateGeofenceCollectionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
449 
460  inline CreateGeofenceCollectionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
461 
472  inline CreateGeofenceCollectionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
473 
484  inline CreateGeofenceCollectionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
485 
496  inline CreateGeofenceCollectionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
497 
508  inline CreateGeofenceCollectionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
509 
520  inline CreateGeofenceCollectionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
521 
532  inline CreateGeofenceCollectionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
533 
534  private:
535 
536  Aws::String m_collectionName;
537  bool m_collectionNameHasBeenSet;
538 
539  Aws::String m_description;
540  bool m_descriptionHasBeenSet;
541 
542  Aws::String m_kmsKeyId;
543  bool m_kmsKeyIdHasBeenSet;
544 
545  PricingPlan m_pricingPlan;
546  bool m_pricingPlanHasBeenSet;
547 
548  Aws::String m_pricingPlanDataSource;
549  bool m_pricingPlanDataSourceHasBeenSet;
550 
552  bool m_tagsHasBeenSet;
553  };
554 
555 } // namespace Model
556 } // namespace LocationService
557 } // namespace Aws
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:472
Aws::LocationService::Model::CreateGeofenceCollectionRequest::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: CreateGeofenceCollectionRequest.h:165
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:496
Aws::LocationService::Model::CreateGeofenceCollectionRequest::CollectionNameHasBeenSet
bool CollectionNameHasBeenSet() const
Definition: CreateGeofenceCollectionRequest.h:53
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetCollectionName
const Aws::String & GetCollectionName() const
Definition: CreateGeofenceCollectionRequest.h:44
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:128
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetCollectionName
void SetCollectionName(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:71
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithKmsKeyId
CreateGeofenceCollectionRequest & WithKmsKeyId(const char *value)
Definition: CreateGeofenceCollectionRequest.h:213
Aws::LocationService::Model::CreateGeofenceCollectionRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: CreateGeofenceCollectionRequest.h:230
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateGeofenceCollectionRequest.h:32
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithCollectionName
CreateGeofenceCollectionRequest & WithCollectionName(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:98
Aws::LocationService::Model::CreateGeofenceCollectionRequest::CreateGeofenceCollectionRequest
CreateGeofenceCollectionRequest()
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:173
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithTags
CreateGeofenceCollectionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateGeofenceCollectionRequest.h:448
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithDescription
CreateGeofenceCollectionRequest & WithDescription(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:143
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithPricingPlanDataSource
CreateGeofenceCollectionRequest & WithPricingPlanDataSource(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:347
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetCollectionName
void SetCollectionName(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:62
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:319
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithKmsKeyId
CreateGeofenceCollectionRequest & WithKmsKeyId(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:197
Aws::LocationService::Model::CreateGeofenceCollectionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateGeofenceCollectionRequest.h:118
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:484
Aws::LocationService::Model::CreateGeofenceCollectionRequest
Definition: CreateGeofenceCollectionRequest.h:24
PricingPlan.h
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateGeofenceCollectionRequest.h:412
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: CreateGeofenceCollectionRequest.h:246
LocationServiceRequest.h
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SerializePayload
Aws::String SerializePayload() const override
LocationService_EXPORTS.h
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(const char *key, const char *value)
Definition: CreateGeofenceCollectionRequest.h:532
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(const char *value)
Definition: CreateGeofenceCollectionRequest.h:333
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:305
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateGeofenceCollectionRequest.h:424
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithCollectionName
CreateGeofenceCollectionRequest & WithCollectionName(const char *value)
Definition: CreateGeofenceCollectionRequest.h:107
Aws::LocationService::Model::CreateGeofenceCollectionRequest::PricingPlanDataSourceHasBeenSet
bool PricingPlanDataSourceHasBeenSet() const
Definition: CreateGeofenceCollectionRequest.h:291
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetCollectionName
void SetCollectionName(const char *value)
Definition: CreateGeofenceCollectionRequest.h:80
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: CreateGeofenceCollectionRequest.h:238
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithPricingPlanDataSource
CreateGeofenceCollectionRequest & WithPricingPlanDataSource(const char *value)
Definition: CreateGeofenceCollectionRequest.h:375
AWSString.h
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: CreateGeofenceCollectionRequest.h:222
Aws::LocationService::Model::CreateGeofenceCollectionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateGeofenceCollectionRequest.h:400
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:123
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateGeofenceCollectionRequest.h:388
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateGeofenceCollectionRequest.h:520
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: CreateGeofenceCollectionRequest.h:189
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithPricingPlan
CreateGeofenceCollectionRequest & WithPricingPlan(PricingPlan &&value)
Definition: CreateGeofenceCollectionRequest.h:262
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateGeofenceCollectionRequest.h:113
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateGeofenceCollectionRequest.h:133
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:508
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithTags
CreateGeofenceCollectionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateGeofenceCollectionRequest.h:436
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: CreateGeofenceCollectionRequest.h:157
Aws::LocationService::Model::CreateGeofenceCollectionRequest::AddTags
CreateGeofenceCollectionRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:460
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithPricingPlan
CreateGeofenceCollectionRequest & WithPricingPlan(const PricingPlan &value)
Definition: CreateGeofenceCollectionRequest.h:254
Aws::LocationService::Model::CreateGeofenceCollectionRequest::GetPricingPlanDataSource
const Aws::String & GetPricingPlanDataSource() const
Definition: CreateGeofenceCollectionRequest.h:277
Aws::LocationService::Model::CreateGeofenceCollectionRequest::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:181
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithPricingPlanDataSource
CreateGeofenceCollectionRequest & WithPricingPlanDataSource(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:361
AWSMap.h
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithCollectionName
CreateGeofenceCollectionRequest & WithCollectionName(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:89
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithDescription
CreateGeofenceCollectionRequest & WithDescription(const Aws::String &value)
Definition: CreateGeofenceCollectionRequest.h:138
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithKmsKeyId
CreateGeofenceCollectionRequest & WithKmsKeyId(Aws::String &&value)
Definition: CreateGeofenceCollectionRequest.h:205
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::LocationService::Model::CreateGeofenceCollectionRequest::WithDescription
CreateGeofenceCollectionRequest & WithDescription(const char *value)
Definition: CreateGeofenceCollectionRequest.h:148