AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchDeleteGeofenceRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API BatchDeleteGeofenceRequest() = default;
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 "BatchDeleteGeofence"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
41 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
42 template<typename CollectionNameT = Aws::String>
43 void SetCollectionName(CollectionNameT&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::forward<CollectionNameT>(value); }
44 template<typename CollectionNameT = Aws::String>
45 BatchDeleteGeofenceRequest& WithCollectionName(CollectionNameT&& value) { SetCollectionName(std::forward<CollectionNameT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetGeofenceIds() const { return m_geofenceIds; }
53 inline bool GeofenceIdsHasBeenSet() const { return m_geofenceIdsHasBeenSet; }
54 template<typename GeofenceIdsT = Aws::Vector<Aws::String>>
55 void SetGeofenceIds(GeofenceIdsT&& value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds = std::forward<GeofenceIdsT>(value); }
56 template<typename GeofenceIdsT = Aws::Vector<Aws::String>>
57 BatchDeleteGeofenceRequest& WithGeofenceIds(GeofenceIdsT&& value) { SetGeofenceIds(std::forward<GeofenceIdsT>(value)); return *this;}
58 template<typename GeofenceIdsT = Aws::String>
59 BatchDeleteGeofenceRequest& AddGeofenceIds(GeofenceIdsT&& value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds.emplace_back(std::forward<GeofenceIdsT>(value)); return *this; }
61 private:
62
63 Aws::String m_collectionName;
64 bool m_collectionNameHasBeenSet = false;
65
66 Aws::Vector<Aws::String> m_geofenceIds;
67 bool m_geofenceIdsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace LocationService
72} // namespace Aws
BatchDeleteGeofenceRequest & AddGeofenceIds(GeofenceIdsT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
BatchDeleteGeofenceRequest & WithGeofenceIds(GeofenceIdsT &&value)
const Aws::Vector< Aws::String > & GetGeofenceIds() const
AWS_LOCATIONSERVICE_API BatchDeleteGeofenceRequest()=default
BatchDeleteGeofenceRequest & WithCollectionName(CollectionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector