AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
BatchPutGeofenceSuccess.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LocationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess() = default;
37 AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
47 inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; }
48 template<typename GeofenceIdT = Aws::String>
49 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::forward<GeofenceIdT>(value); }
50 template<typename GeofenceIdT = Aws::String>
51 BatchPutGeofenceSuccess& WithGeofenceId(GeofenceIdT&& value) { SetGeofenceId(std::forward<GeofenceIdT>(value)); return *this;}
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) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
64 template<typename CreateTimeT = Aws::Utils::DateTime>
65 BatchPutGeofenceSuccess& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
67
69
74 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
75 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
76 template<typename UpdateTimeT = Aws::Utils::DateTime>
77 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
78 template<typename UpdateTimeT = Aws::Utils::DateTime>
79 BatchPutGeofenceSuccess& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
81 private:
82
83 Aws::String m_geofenceId;
84 bool m_geofenceIdHasBeenSet = false;
85
86 Aws::Utils::DateTime m_createTime{};
87 bool m_createTimeHasBeenSet = false;
88
89 Aws::Utils::DateTime m_updateTime{};
90 bool m_updateTimeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace LocationService
95} // 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