AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchPutGeofenceSuccess.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/LocationService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LocationService {
21namespace Model {
22
30 public:
31 AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess() = default;
32 AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
41 inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; }
42 template <typename GeofenceIdT = Aws::String>
43 void SetGeofenceId(GeofenceIdT&& value) {
44 m_geofenceIdHasBeenSet = true;
45 m_geofenceId = std::forward<GeofenceIdT>(value);
46 }
47 template <typename GeofenceIdT = Aws::String>
49 SetGeofenceId(std::forward<GeofenceIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
61 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
62 template <typename CreateTimeT = Aws::Utils::DateTime>
63 void SetCreateTime(CreateTimeT&& value) {
64 m_createTimeHasBeenSet = true;
65 m_createTime = std::forward<CreateTimeT>(value);
66 }
67 template <typename CreateTimeT = Aws::Utils::DateTime>
69 SetCreateTime(std::forward<CreateTimeT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
81 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
82 template <typename UpdateTimeT = Aws::Utils::DateTime>
83 void SetUpdateTime(UpdateTimeT&& value) {
84 m_updateTimeHasBeenSet = true;
85 m_updateTime = std::forward<UpdateTimeT>(value);
86 }
87 template <typename UpdateTimeT = Aws::Utils::DateTime>
89 SetUpdateTime(std::forward<UpdateTimeT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_geofenceId;
95
96 Aws::Utils::DateTime m_createTime{};
97
98 Aws::Utils::DateTime m_updateTime{};
99 bool m_geofenceIdHasBeenSet = false;
100 bool m_createTimeHasBeenSet = false;
101 bool m_updateTimeHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace LocationService
106} // namespace Aws
AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPutGeofenceSuccess & WithUpdateTime(UpdateTimeT &&value)
BatchPutGeofenceSuccess & WithGeofenceId(GeofenceIdT &&value)
BatchPutGeofenceSuccess & WithCreateTime(CreateTimeT &&value)
AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess()=default
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue