AWS SDK for C++  1.9.125
AWS SDK for C++
CreateTrackerRequest.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 "CreateTracker"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetDescription() const{ return m_description; }
42 
46  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 
51  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
52 
56  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
57 
61  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 
66  inline CreateTrackerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 
71  inline CreateTrackerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 
76  inline CreateTrackerRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77 
78 
85  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
86 
93  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
94 
101  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
102 
109  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
110 
117  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
118 
125  inline CreateTrackerRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
126 
133  inline CreateTrackerRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
134 
141  inline CreateTrackerRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
142 
143 
158  inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; }
159 
174  inline bool PositionFilteringHasBeenSet() const { return m_positionFilteringHasBeenSet; }
175 
190  inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = value; }
191 
206  inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = std::move(value); }
207 
222  inline CreateTrackerRequest& WithPositionFiltering(const PositionFiltering& value) { SetPositionFiltering(value); return *this;}
223 
238  inline CreateTrackerRequest& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;}
239 
240 
247  inline const PricingPlan& GetPricingPlan() const{ return m_pricingPlan; }
248 
255  inline bool PricingPlanHasBeenSet() const { return m_pricingPlanHasBeenSet; }
256 
263  inline void SetPricingPlan(const PricingPlan& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = value; }
264 
271  inline void SetPricingPlan(PricingPlan&& value) { m_pricingPlanHasBeenSet = true; m_pricingPlan = std::move(value); }
272 
279  inline CreateTrackerRequest& WithPricingPlan(const PricingPlan& value) { SetPricingPlan(value); return *this;}
280 
287  inline CreateTrackerRequest& WithPricingPlan(PricingPlan&& value) { SetPricingPlan(std::move(value)); return *this;}
288 
289 
302  inline const Aws::String& GetPricingPlanDataSource() const{ return m_pricingPlanDataSource; }
303 
316  inline bool PricingPlanDataSourceHasBeenSet() const { return m_pricingPlanDataSourceHasBeenSet; }
317 
330  inline void SetPricingPlanDataSource(const Aws::String& value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource = value; }
331 
344  inline void SetPricingPlanDataSource(Aws::String&& value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource = std::move(value); }
345 
358  inline void SetPricingPlanDataSource(const char* value) { m_pricingPlanDataSourceHasBeenSet = true; m_pricingPlanDataSource.assign(value); }
359 
372  inline CreateTrackerRequest& WithPricingPlanDataSource(const Aws::String& value) { SetPricingPlanDataSource(value); return *this;}
373 
386  inline CreateTrackerRequest& WithPricingPlanDataSource(Aws::String&& value) { SetPricingPlanDataSource(std::move(value)); return *this;}
387 
400  inline CreateTrackerRequest& WithPricingPlanDataSource(const char* value) { SetPricingPlanDataSource(value); return *this;}
401 
402 
413  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
414 
425  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
426 
437  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
438 
449  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
450 
461  inline CreateTrackerRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
462 
473  inline CreateTrackerRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
474 
485  inline CreateTrackerRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
486 
497  inline CreateTrackerRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
498 
509  inline CreateTrackerRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
510 
521  inline CreateTrackerRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
522 
533  inline CreateTrackerRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
534 
545  inline CreateTrackerRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
546 
557  inline CreateTrackerRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
558 
559 
567  inline const Aws::String& GetTrackerName() const{ return m_trackerName; }
568 
576  inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; }
577 
585  inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; }
586 
594  inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); }
595 
603  inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); }
604 
612  inline CreateTrackerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;}
613 
621  inline CreateTrackerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;}
622 
630  inline CreateTrackerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;}
631 
632  private:
633 
634  Aws::String m_description;
635  bool m_descriptionHasBeenSet;
636 
637  Aws::String m_kmsKeyId;
638  bool m_kmsKeyIdHasBeenSet;
639 
640  PositionFiltering m_positionFiltering;
641  bool m_positionFilteringHasBeenSet;
642 
643  PricingPlan m_pricingPlan;
644  bool m_pricingPlanHasBeenSet;
645 
646  Aws::String m_pricingPlanDataSource;
647  bool m_pricingPlanDataSourceHasBeenSet;
648 
650  bool m_tagsHasBeenSet;
651 
652  Aws::String m_trackerName;
653  bool m_trackerNameHasBeenSet;
654  };
655 
656 } // namespace Model
657 } // namespace LocationService
658 } // namespace Aws
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateTrackerRequest.h:509
Aws::LocationService::Model::CreateTrackerRequest::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: CreateTrackerRequest.h:93
Aws::LocationService::Model::CreateTrackerRequest::SetTrackerName
void SetTrackerName(Aws::String &&value)
Definition: CreateTrackerRequest.h:594
Aws::LocationService::Model::CreateTrackerRequest::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: CreateTrackerRequest.h:117
Aws::LocationService::Model::CreateTrackerRequest::WithKmsKeyId
CreateTrackerRequest & WithKmsKeyId(Aws::String &&value)
Definition: CreateTrackerRequest.h:133
Aws::LocationService::Model::CreateTrackerRequest::PricingPlanHasBeenSet
bool PricingPlanHasBeenSet() const
Definition: CreateTrackerRequest.h:255
PositionFiltering.h
Aws::LocationService::Model::CreateTrackerRequest::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: CreateTrackerRequest.h:85
Aws::LocationService::Model::CreateTrackerRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateTrackerRequest.h:449
Aws::LocationService::Model::CreateTrackerRequest::SetPositionFiltering
void SetPositionFiltering(PositionFiltering &&value)
Definition: CreateTrackerRequest.h:206
Aws::LocationService::Model::CreateTrackerRequest::SetPricingPlan
void SetPricingPlan(PricingPlan &&value)
Definition: CreateTrackerRequest.h:271
Aws::LocationService::Model::CreateTrackerRequest::WithPricingPlan
CreateTrackerRequest & WithPricingPlan(PricingPlan &&value)
Definition: CreateTrackerRequest.h:287
Aws::LocationService::Model::CreateTrackerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LocationService::Model::CreateTrackerRequest::SetTrackerName
void SetTrackerName(const char *value)
Definition: CreateTrackerRequest.h:603
Aws::LocationService::Model::CreateTrackerRequest::WithKmsKeyId
CreateTrackerRequest & WithKmsKeyId(const char *value)
Definition: CreateTrackerRequest.h:141
Aws::LocationService::Model::CreateTrackerRequest::WithPricingPlanDataSource
CreateTrackerRequest & WithPricingPlanDataSource(const Aws::String &value)
Definition: CreateTrackerRequest.h:372
Aws::LocationService::Model::CreateTrackerRequest::GetPricingPlan
const PricingPlan & GetPricingPlan() const
Definition: CreateTrackerRequest.h:247
Aws::LocationService::Model::PricingPlan
PricingPlan
Definition: PricingPlan.h:17
Aws::LocationService::Model::CreateTrackerRequest::WithKmsKeyId
CreateTrackerRequest & WithKmsKeyId(const Aws::String &value)
Definition: CreateTrackerRequest.h:125
Aws::LocationService::Model::CreateTrackerRequest::WithPositionFiltering
CreateTrackerRequest & WithPositionFiltering(PositionFiltering &&value)
Definition: CreateTrackerRequest.h:238
Aws::LocationService::Model::CreateTrackerRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateTrackerRequest.h:46
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::CreateTrackerRequest::WithTags
CreateTrackerRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateTrackerRequest.h:461
PricingPlan.h
Aws::LocationService::Model::CreateTrackerRequest::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: CreateTrackerRequest.h:109
Aws::LocationService::Model::CreateTrackerRequest::PositionFilteringHasBeenSet
bool PositionFilteringHasBeenSet() const
Definition: CreateTrackerRequest.h:174
LocationServiceRequest.h
Aws::LocationService::Model::CreateTrackerRequest::TrackerNameHasBeenSet
bool TrackerNameHasBeenSet() const
Definition: CreateTrackerRequest.h:576
LocationService_EXPORTS.h
Aws::LocationService::Model::CreateTrackerRequest::WithPositionFiltering
CreateTrackerRequest & WithPositionFiltering(const PositionFiltering &value)
Definition: CreateTrackerRequest.h:222
Aws::LocationService::Model::CreateTrackerRequest::GetPositionFiltering
const PositionFiltering & GetPositionFiltering() const
Definition: CreateTrackerRequest.h:158
Aws::LocationService::Model::CreateTrackerRequest::WithDescription
CreateTrackerRequest & WithDescription(Aws::String &&value)
Definition: CreateTrackerRequest.h:71
Aws::LocationService::Model::CreateTrackerRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateTrackerRequest.h:61
Aws::LocationService::Model::CreateTrackerRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(Aws::String &&value)
Definition: CreateTrackerRequest.h:344
Aws::LocationService::Model::CreateTrackerRequest::WithPricingPlanDataSource
CreateTrackerRequest & WithPricingPlanDataSource(Aws::String &&value)
Definition: CreateTrackerRequest.h:386
Aws::LocationService::Model::PositionFiltering
PositionFiltering
Definition: PositionFiltering.h:17
Aws::LocationService::Model::CreateTrackerRequest::WithTrackerName
CreateTrackerRequest & WithTrackerName(const char *value)
Definition: CreateTrackerRequest.h:630
AWSString.h
Aws::LocationService::Model::CreateTrackerRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(const char *value)
Definition: CreateTrackerRequest.h:358
Aws::LocationService::Model::CreateTrackerRequest::CreateTrackerRequest
CreateTrackerRequest()
Aws::LocationService::Model::CreateTrackerRequest::SetPositionFiltering
void SetPositionFiltering(const PositionFiltering &value)
Definition: CreateTrackerRequest.h:190
Aws::LocationService::Model::CreateTrackerRequest::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: CreateTrackerRequest.h:101
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateTrackerRequest.h:533
Aws::LocationService::Model::CreateTrackerRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateTrackerRequest.h:56
Aws::LocationService::Model::CreateTrackerRequest::GetPricingPlanDataSource
const Aws::String & GetPricingPlanDataSource() const
Definition: CreateTrackerRequest.h:302
Aws::LocationService::Model::CreateTrackerRequest::GetTrackerName
const Aws::String & GetTrackerName() const
Definition: CreateTrackerRequest.h:567
Aws::LocationService::Model::CreateTrackerRequest::SetPricingPlan
void SetPricingPlan(const PricingPlan &value)
Definition: CreateTrackerRequest.h:263
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(const char *key, const char *value)
Definition: CreateTrackerRequest.h:557
Aws::LocationService::Model::CreateTrackerRequest::WithDescription
CreateTrackerRequest & WithDescription(const Aws::String &value)
Definition: CreateTrackerRequest.h:66
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateTrackerRequest.h:545
Aws::LocationService::Model::CreateTrackerRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateTrackerRequest.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::CreateTrackerRequest::WithDescription
CreateTrackerRequest & WithDescription(const char *value)
Definition: CreateTrackerRequest.h:76
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateTrackerRequest.h:485
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LocationService::Model::CreateTrackerRequest::SetPricingPlanDataSource
void SetPricingPlanDataSource(const Aws::String &value)
Definition: CreateTrackerRequest.h:330
Aws::LocationService::Model::CreateTrackerRequest::WithPricingPlan
CreateTrackerRequest & WithPricingPlan(const PricingPlan &value)
Definition: CreateTrackerRequest.h:279
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateTrackerRequest.h:521
Aws::LocationService::Model::CreateTrackerRequest::SetTrackerName
void SetTrackerName(const Aws::String &value)
Definition: CreateTrackerRequest.h:585
Aws::LocationService::Model::CreateTrackerRequest::AddTags
CreateTrackerRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateTrackerRequest.h:497
Aws::LocationService::Model::CreateTrackerRequest::WithPricingPlanDataSource
CreateTrackerRequest & WithPricingPlanDataSource(const char *value)
Definition: CreateTrackerRequest.h:400
Aws::LocationService::Model::CreateTrackerRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateTrackerRequest.h:51
Aws::LocationService::Model::CreateTrackerRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateTrackerRequest.h:413
Aws::LocationService::Model::CreateTrackerRequest::PricingPlanDataSourceHasBeenSet
bool PricingPlanDataSourceHasBeenSet() const
Definition: CreateTrackerRequest.h:316
AWSMap.h
Aws::LocationService::Model::CreateTrackerRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateTrackerRequest.h:425
Aws::LocationService::Model::CreateTrackerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateTrackerRequest.h:33
Aws::LocationService::Model::CreateTrackerRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateTrackerRequest.h:437
Aws::LocationService::Model::CreateTrackerRequest
Definition: CreateTrackerRequest.h:25
Aws::LocationService::LocationServiceRequest
Definition: LocationServiceRequest.h:17
Aws::LocationService::Model::CreateTrackerRequest::WithTrackerName
CreateTrackerRequest & WithTrackerName(Aws::String &&value)
Definition: CreateTrackerRequest.h:621
Aws::LocationService::Model::CreateTrackerRequest::WithTags
CreateTrackerRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateTrackerRequest.h:473
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::LocationService::Model::CreateTrackerRequest::WithTrackerName
CreateTrackerRequest & WithTrackerName(const Aws::String &value)
Definition: CreateTrackerRequest.h:612