AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
GetGeofenceResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LocationService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LOCATIONSERVICE_API GetGeofenceResult() = default;
36
37
39
42 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
43 template<typename GeofenceIdT = Aws::String>
44 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::forward<GeofenceIdT>(value); }
45 template<typename GeofenceIdT = Aws::String>
46 GetGeofenceResult& WithGeofenceId(GeofenceIdT&& value) { SetGeofenceId(std::forward<GeofenceIdT>(value)); return *this;}
48
50
53 inline const GeofenceGeometry& GetGeometry() const { return m_geometry; }
54 template<typename GeometryT = GeofenceGeometry>
55 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet = true; m_geometry = std::forward<GeometryT>(value); }
56 template<typename GeometryT = GeofenceGeometry>
57 GetGeofenceResult& WithGeometry(GeometryT&& value) { SetGeometry(std::forward<GeometryT>(value)); return *this;}
59
61
71 inline const Aws::String& GetStatus() const { return m_status; }
72 template<typename StatusT = Aws::String>
73 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
74 template<typename StatusT = Aws::String>
75 GetGeofenceResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
77
79
84 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
85 template<typename CreateTimeT = Aws::Utils::DateTime>
86 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
87 template<typename CreateTimeT = Aws::Utils::DateTime>
88 GetGeofenceResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
90
92
97 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
98 template<typename UpdateTimeT = Aws::Utils::DateTime>
99 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
100 template<typename UpdateTimeT = Aws::Utils::DateTime>
101 GetGeofenceResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
103
105
110 inline const Aws::Map<Aws::String, Aws::String>& GetGeofenceProperties() const { return m_geofenceProperties; }
111 template<typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
112 void SetGeofenceProperties(GeofencePropertiesT&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::forward<GeofencePropertiesT>(value); }
113 template<typename GeofencePropertiesT = Aws::Map<Aws::String, Aws::String>>
114 GetGeofenceResult& WithGeofenceProperties(GeofencePropertiesT&& value) { SetGeofenceProperties(std::forward<GeofencePropertiesT>(value)); return *this;}
115 template<typename GeofencePropertiesKeyT = Aws::String, typename GeofencePropertiesValueT = Aws::String>
116 GetGeofenceResult& AddGeofenceProperties(GeofencePropertiesKeyT&& key, GeofencePropertiesValueT&& value) {
117 m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::forward<GeofencePropertiesKeyT>(key), std::forward<GeofencePropertiesValueT>(value)); return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template<typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
126 template<typename RequestIdT = Aws::String>
127 GetGeofenceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
129 private:
130
131 Aws::String m_geofenceId;
132 bool m_geofenceIdHasBeenSet = false;
133
134 GeofenceGeometry m_geometry;
135 bool m_geometryHasBeenSet = false;
136
137 Aws::String m_status;
138 bool m_statusHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createTime{};
141 bool m_createTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_updateTime{};
144 bool m_updateTimeHasBeenSet = false;
145
146 Aws::Map<Aws::String, Aws::String> m_geofenceProperties;
147 bool m_geofencePropertiesHasBeenSet = false;
148
149 Aws::String m_requestId;
150 bool m_requestIdHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace LocationService
155} // namespace Aws
GetGeofenceResult & WithGeofenceId(GeofenceIdT &&value)
GetGeofenceResult & WithStatus(StatusT &&value)
AWS_LOCATIONSERVICE_API GetGeofenceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
const GeofenceGeometry & GetGeometry() const
GetGeofenceResult & WithGeofenceProperties(GeofencePropertiesT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetGeofenceProperties(GeofencePropertiesT &&value)
GetGeofenceResult & WithRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API GetGeofenceResult()=default
AWS_LOCATIONSERVICE_API GetGeofenceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeofenceResult & WithGeometry(GeometryT &&value)
GetGeofenceResult & WithCreateTime(CreateTimeT &&value)
GetGeofenceResult & AddGeofenceProperties(GeofencePropertiesKeyT &&key, GeofencePropertiesValueT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetGeofenceResult & WithUpdateTime(UpdateTimeT &&value)
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