AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchDeleteGeofenceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationServiceRequest.h>
10#include <aws/location/LocationService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LocationService {
16namespace Model {
17
21 public:
22 AWS_LOCATIONSERVICE_API BatchDeleteGeofenceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteGeofence"; }
29
30 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
37 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
38 template <typename CollectionNameT = Aws::String>
39 void SetCollectionName(CollectionNameT&& value) {
40 m_collectionNameHasBeenSet = true;
41 m_collectionName = std::forward<CollectionNameT>(value);
42 }
43 template <typename CollectionNameT = Aws::String>
45 SetCollectionName(std::forward<CollectionNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Vector<Aws::String>& GetGeofenceIds() const { return m_geofenceIds; }
55 inline bool GeofenceIdsHasBeenSet() const { return m_geofenceIdsHasBeenSet; }
56 template <typename GeofenceIdsT = Aws::Vector<Aws::String>>
57 void SetGeofenceIds(GeofenceIdsT&& value) {
58 m_geofenceIdsHasBeenSet = true;
59 m_geofenceIds = std::forward<GeofenceIdsT>(value);
60 }
61 template <typename GeofenceIdsT = Aws::Vector<Aws::String>>
63 SetGeofenceIds(std::forward<GeofenceIdsT>(value));
64 return *this;
65 }
66 template <typename GeofenceIdsT = Aws::String>
68 m_geofenceIdsHasBeenSet = true;
69 m_geofenceIds.emplace_back(std::forward<GeofenceIdsT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_collectionName;
75
76 Aws::Vector<Aws::String> m_geofenceIds;
77 bool m_collectionNameHasBeenSet = false;
78 bool m_geofenceIdsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace LocationService
83} // 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