AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGeofenceResponseEntry.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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LocationService
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry();
40 AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; }
50 inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; }
51 inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; }
52 inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); }
53 inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); }
54 inline ListGeofenceResponseEntry& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;}
55 inline ListGeofenceResponseEntry& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;}
56 inline ListGeofenceResponseEntry& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;}
58
60
63 inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; }
64 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
65 inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
66 inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
67 inline ListGeofenceResponseEntry& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;}
68 inline ListGeofenceResponseEntry& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;}
70
72
82 inline const Aws::String& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
87 inline ListGeofenceResponseEntry& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
88 inline ListGeofenceResponseEntry& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
89 inline ListGeofenceResponseEntry& WithStatus(const char* value) { SetStatus(value); return *this;}
91
93
98 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
99 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
100 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
101 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
102 inline ListGeofenceResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
103 inline ListGeofenceResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
105
107
112 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
113 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
114 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
115 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
116 inline ListGeofenceResponseEntry& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
117 inline ListGeofenceResponseEntry& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
119
121
126 inline const Aws::Map<Aws::String, Aws::String>& GetGeofenceProperties() const{ return m_geofenceProperties; }
127 inline bool GeofencePropertiesHasBeenSet() const { return m_geofencePropertiesHasBeenSet; }
128 inline void SetGeofenceProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = value; }
129 inline void SetGeofenceProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::move(value); }
132 inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; }
133 inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; }
134 inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; }
135 inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; }
136 inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; }
137 inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; }
138 inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; }
140 private:
141
142 Aws::String m_geofenceId;
143 bool m_geofenceIdHasBeenSet = false;
144
145 GeofenceGeometry m_geometry;
146 bool m_geometryHasBeenSet = false;
147
148 Aws::String m_status;
149 bool m_statusHasBeenSet = false;
150
151 Aws::Utils::DateTime m_createTime;
152 bool m_createTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_updateTime;
155 bool m_updateTimeHasBeenSet = false;
156
157 Aws::Map<Aws::String, Aws::String> m_geofenceProperties;
158 bool m_geofencePropertiesHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace LocationService
163} // namespace Aws
ListGeofenceResponseEntry & WithGeofenceId(const char *value)
ListGeofenceResponseEntry & AddGeofenceProperties(Aws::String &&key, const Aws::String &value)
ListGeofenceResponseEntry & WithUpdateTime(Aws::Utils::DateTime &&value)
ListGeofenceResponseEntry & WithCreateTime(const Aws::Utils::DateTime &value)
void SetGeofenceId(const Aws::String &value)
ListGeofenceResponseEntry & WithGeofenceId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
void SetGeometry(const GeofenceGeometry &value)
bool CreateTimeHasBeenSet() const
void SetGeofenceId(Aws::String &&value)
AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GeofencePropertiesHasBeenSet() const
void SetGeofenceId(const char *value)
void SetStatus(Aws::String &&value)
bool GeometryHasBeenSet() const
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetStatus(const Aws::String &value)
bool UpdateTimeHasBeenSet() const
ListGeofenceResponseEntry & AddGeofenceProperties(Aws::String &&key, Aws::String &&value)
void SetStatus(const char *value)
ListGeofenceResponseEntry & WithGeometry(const GeofenceGeometry &value)
ListGeofenceResponseEntry & WithGeofenceId(const Aws::String &value)
ListGeofenceResponseEntry & AddGeofenceProperties(const char *key, Aws::String &&value)
ListGeofenceResponseEntry & AddGeofenceProperties(const Aws::String &key, Aws::String &&value)
ListGeofenceResponseEntry & WithStatus(const Aws::String &value)
ListGeofenceResponseEntry & WithCreateTime(Aws::Utils::DateTime &&value)
void SetGeofenceProperties(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetStatus() const
ListGeofenceResponseEntry & WithUpdateTime(const Aws::Utils::DateTime &value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGeofenceProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
ListGeofenceResponseEntry & AddGeofenceProperties(const Aws::String &key, const Aws::String &value)
const Aws::Utils::DateTime & GetUpdateTime() const
bool GeofenceIdHasBeenSet() const
ListGeofenceResponseEntry & WithStatus(Aws::String &&value)
bool StatusHasBeenSet() const
ListGeofenceResponseEntry & WithGeofenceProperties(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetCreateTime() const
const GeofenceGeometry & GetGeometry() const
ListGeofenceResponseEntry & WithStatus(const char *value)
AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry(Aws::Utils::Json::JsonView jsonValue)
ListGeofenceResponseEntry & WithGeofenceProperties(Aws::Map< Aws::String, Aws::String > &&value)
ListGeofenceResponseEntry & AddGeofenceProperties(Aws::String &&key, const char *value)
ListGeofenceResponseEntry & AddGeofenceProperties(const char *key, const char *value)
void SetGeometry(GeofenceGeometry &&value)
AWS_LOCATIONSERVICE_API ListGeofenceResponseEntry()
ListGeofenceResponseEntry & WithGeometry(GeofenceGeometry &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetGeofenceId() 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