AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPutGeofenceRequestEntry.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/GeofenceGeometry.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LocationService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LOCATIONSERVICE_API BatchPutGeofenceRequestEntry();
37 AWS_LOCATIONSERVICE_API BatchPutGeofenceRequestEntry(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; }
48 inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; }
49 inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; }
50 inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); }
51 inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); }
52 inline BatchPutGeofenceRequestEntry& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;}
53 inline BatchPutGeofenceRequestEntry& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;}
54 inline BatchPutGeofenceRequestEntry& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;}
56
58
67 inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; }
68 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
69 inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
70 inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
71 inline BatchPutGeofenceRequestEntry& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;}
72 inline BatchPutGeofenceRequestEntry& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;}
74
76
81 inline const Aws::Map<Aws::String, Aws::String>& GetGeofenceProperties() const{ return m_geofenceProperties; }
82 inline bool GeofencePropertiesHasBeenSet() const { return m_geofencePropertiesHasBeenSet; }
83 inline void SetGeofenceProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = value; }
84 inline void SetGeofenceProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::move(value); }
87 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; }
88 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; }
89 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; }
90 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; }
91 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; }
92 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; }
93 inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; }
95 private:
96
97 Aws::String m_geofenceId;
98 bool m_geofenceIdHasBeenSet = false;
99
100 GeofenceGeometry m_geometry;
101 bool m_geometryHasBeenSet = false;
102
103 Aws::Map<Aws::String, Aws::String> m_geofenceProperties;
104 bool m_geofencePropertiesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LocationService
109} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGeofenceId() const
BatchPutGeofenceRequestEntry & AddGeofenceProperties(Aws::String &&key, const Aws::String &value)
BatchPutGeofenceRequestEntry & WithGeofenceId(const char *value)
BatchPutGeofenceRequestEntry & AddGeofenceProperties(const Aws::String &key, Aws::String &&value)
BatchPutGeofenceRequestEntry & WithGeometry(GeofenceGeometry &&value)
BatchPutGeofenceRequestEntry & WithGeofenceProperties(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LOCATIONSERVICE_API BatchPutGeofenceRequestEntry(Aws::Utils::Json::JsonView jsonValue)
void SetGeofenceProperties(Aws::Map< Aws::String, Aws::String > &&value)
BatchPutGeofenceRequestEntry & AddGeofenceProperties(const char *key, const char *value)
void SetGeometry(const GeofenceGeometry &value)
BatchPutGeofenceRequestEntry & WithGeofenceId(Aws::String &&value)
BatchPutGeofenceRequestEntry & AddGeofenceProperties(Aws::String &&key, Aws::String &&value)
void SetGeofenceId(const Aws::String &value)
AWS_LOCATIONSERVICE_API BatchPutGeofenceRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGeofenceId(Aws::String &&value)
BatchPutGeofenceRequestEntry & WithGeometry(const GeofenceGeometry &value)
const GeofenceGeometry & GetGeometry() const
BatchPutGeofenceRequestEntry & WithGeofenceProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetGeofenceId(const char *value)
BatchPutGeofenceRequestEntry & AddGeofenceProperties(Aws::String &&key, const char *value)
AWS_LOCATIONSERVICE_API BatchPutGeofenceRequestEntry()
BatchPutGeofenceRequestEntry & WithGeofenceId(const Aws::String &value)
bool GeofencePropertiesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
BatchPutGeofenceRequestEntry & AddGeofenceProperties(const char *key, Aws::String &&value)
BatchPutGeofenceRequestEntry & AddGeofenceProperties(const Aws::String &key, const Aws::String &value)
void SetGeofenceProperties(const Aws::Map< Aws::String, Aws::String > &value)
void SetGeometry(GeofenceGeometry &&value)
bool GeometryHasBeenSet() const
bool GeofenceIdHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue