AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; }
43 inline void SetGeofenceId(const Aws::String& value) { m_geofenceId = value; }
44 inline void SetGeofenceId(Aws::String&& value) { m_geofenceId = std::move(value); }
45 inline void SetGeofenceId(const char* value) { m_geofenceId.assign(value); }
46 inline GetGeofenceResult& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;}
47 inline GetGeofenceResult& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;}
48 inline GetGeofenceResult& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;}
50
52
55 inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; }
56 inline void SetGeometry(const GeofenceGeometry& value) { m_geometry = value; }
57 inline void SetGeometry(GeofenceGeometry&& value) { m_geometry = std::move(value); }
58 inline GetGeofenceResult& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;}
59 inline GetGeofenceResult& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;}
61
63
73 inline const Aws::String& GetStatus() const{ return m_status; }
74 inline void SetStatus(const Aws::String& value) { m_status = value; }
75 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
76 inline void SetStatus(const char* value) { m_status.assign(value); }
77 inline GetGeofenceResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
78 inline GetGeofenceResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
79 inline GetGeofenceResult& WithStatus(const char* value) { SetStatus(value); return *this;}
81
83
88 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
89 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
90 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
91 inline GetGeofenceResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
92 inline GetGeofenceResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
94
96
101 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
102 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
103 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
104 inline GetGeofenceResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
105 inline GetGeofenceResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
107
109
114 inline const Aws::Map<Aws::String, Aws::String>& GetGeofenceProperties() const{ return m_geofenceProperties; }
115 inline void SetGeofenceProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_geofenceProperties = value; }
116 inline void SetGeofenceProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_geofenceProperties = std::move(value); }
119 inline GetGeofenceResult& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofenceProperties.emplace(key, value); return *this; }
120 inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofenceProperties.emplace(std::move(key), value); return *this; }
121 inline GetGeofenceResult& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofenceProperties.emplace(key, std::move(value)); return *this; }
122 inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; }
123 inline GetGeofenceResult& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofenceProperties.emplace(key, std::move(value)); return *this; }
124 inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofenceProperties.emplace(std::move(key), value); return *this; }
125 inline GetGeofenceResult& AddGeofenceProperties(const char* key, const char* value) { m_geofenceProperties.emplace(key, value); return *this; }
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline GetGeofenceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline GetGeofenceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline GetGeofenceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_geofenceId;
141
142 GeofenceGeometry m_geometry;
143
144 Aws::String m_status;
145
146 Aws::Utils::DateTime m_createTime;
147
148 Aws::Utils::DateTime m_updateTime;
149
150 Aws::Map<Aws::String, Aws::String> m_geofenceProperties;
151
152 Aws::String m_requestId;
153 };
154
155} // namespace Model
156} // namespace LocationService
157} // namespace Aws
GetGeofenceResult & WithCreateTime(const Aws::Utils::DateTime &value)
GetGeofenceResult & WithUpdateTime(const Aws::Utils::DateTime &value)
GetGeofenceResult & WithRequestId(Aws::String &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetGeofenceProperties(Aws::Map< Aws::String, Aws::String > &&value)
GetGeofenceResult & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
AWS_LOCATIONSERVICE_API GetGeofenceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeofenceResult & WithGeometry(const GeofenceGeometry &value)
const Aws::Map< Aws::String, Aws::String > & GetGeofenceProperties() const
const GeofenceGeometry & GetGeometry() const
GetGeofenceResult & WithGeofenceId(const Aws::String &value)
GetGeofenceResult & WithRequestId(const Aws::String &value)
GetGeofenceResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreateTime() const
GetGeofenceResult & AddGeofenceProperties(const Aws::String &key, Aws::String &&value)
GetGeofenceResult & WithStatus(Aws::String &&value)
void SetGeometry(const GeofenceGeometry &value)
GetGeofenceResult & WithStatus(const Aws::String &value)
GetGeofenceResult & AddGeofenceProperties(Aws::String &&key, const char *value)
GetGeofenceResult & WithGeometry(GeofenceGeometry &&value)
GetGeofenceResult & AddGeofenceProperties(Aws::String &&key, const Aws::String &value)
GetGeofenceResult & WithGeofenceId(Aws::String &&value)
GetGeofenceResult & AddGeofenceProperties(Aws::String &&key, Aws::String &&value)
AWS_LOCATIONSERVICE_API GetGeofenceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGeofenceProperties(const Aws::Map< Aws::String, Aws::String > &value)
GetGeofenceResult & WithStatus(const char *value)
GetGeofenceResult & WithGeofenceProperties(Aws::Map< Aws::String, Aws::String > &&value)
GetGeofenceResult & WithGeofenceProperties(const Aws::Map< Aws::String, Aws::String > &value)
GetGeofenceResult & WithCreateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
GetGeofenceResult & WithGeofenceId(const char *value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetGeofenceResult & AddGeofenceProperties(const char *key, const char *value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
GetGeofenceResult & AddGeofenceProperties(const char *key, Aws::String &&value)
GetGeofenceResult & AddGeofenceProperties(const Aws::String &key, const Aws::String &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