AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
43 inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
44 inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
45 inline BatchDeleteGeofenceRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
46 inline BatchDeleteGeofenceRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
47 inline BatchDeleteGeofenceRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetGeofenceIds() const{ return m_geofenceIds; }
55 inline bool GeofenceIdsHasBeenSet() const { return m_geofenceIdsHasBeenSet; }
56 inline void SetGeofenceIds(const Aws::Vector<Aws::String>& value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds = value; }
57 inline void SetGeofenceIds(Aws::Vector<Aws::String>&& value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds = std::move(value); }
59 inline BatchDeleteGeofenceRequest& WithGeofenceIds(Aws::Vector<Aws::String>&& value) { SetGeofenceIds(std::move(value)); return *this;}
60 inline BatchDeleteGeofenceRequest& AddGeofenceIds(const Aws::String& value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds.push_back(value); return *this; }
61 inline BatchDeleteGeofenceRequest& AddGeofenceIds(Aws::String&& value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds.push_back(std::move(value)); return *this; }
62 inline BatchDeleteGeofenceRequest& AddGeofenceIds(const char* value) { m_geofenceIdsHasBeenSet = true; m_geofenceIds.push_back(value); return *this; }
64 private:
65
66 Aws::String m_collectionName;
67 bool m_collectionNameHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_geofenceIds;
70 bool m_geofenceIdsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace LocationService
75} // namespace Aws
BatchDeleteGeofenceRequest & WithGeofenceIds(Aws::Vector< Aws::String > &&value)
BatchDeleteGeofenceRequest & AddGeofenceIds(const char *value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
void SetGeofenceIds(const Aws::Vector< Aws::String > &value)
BatchDeleteGeofenceRequest & AddGeofenceIds(Aws::String &&value)
BatchDeleteGeofenceRequest & WithGeofenceIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetGeofenceIds() const
BatchDeleteGeofenceRequest & WithCollectionName(const char *value)
BatchDeleteGeofenceRequest & AddGeofenceIds(const Aws::String &value)
BatchDeleteGeofenceRequest & WithCollectionName(const Aws::String &value)
BatchDeleteGeofenceRequest & WithCollectionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector