AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; }
49 inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); }
50 inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); }
51 inline BatchPutGeofenceSuccess& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;}
52 inline BatchPutGeofenceSuccess& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;}
53 inline BatchPutGeofenceSuccess& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;}
55
57
62 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
63 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
64 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
65 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
66 inline BatchPutGeofenceSuccess& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
67 inline BatchPutGeofenceSuccess& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
69
71
76 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
77 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
78 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
79 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
80 inline BatchPutGeofenceSuccess& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
81 inline BatchPutGeofenceSuccess& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_geofenceId;
86 bool m_geofenceIdHasBeenSet = false;
87
88 Aws::Utils::DateTime m_createTime;
89 bool m_createTimeHasBeenSet = false;
90
91 Aws::Utils::DateTime m_updateTime;
92 bool m_updateTimeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace LocationService
97} // namespace Aws
AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPutGeofenceSuccess & WithUpdateTime(const Aws::Utils::DateTime &value)
BatchPutGeofenceSuccess & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_LOCATIONSERVICE_API BatchPutGeofenceSuccess(Aws::Utils::Json::JsonView jsonValue)
void SetCreateTime(const Aws::Utils::DateTime &value)
BatchPutGeofenceSuccess & WithGeofenceId(Aws::String &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchPutGeofenceSuccess & WithCreateTime(const Aws::Utils::DateTime &value)
BatchPutGeofenceSuccess & WithGeofenceId(const Aws::String &value)
BatchPutGeofenceSuccess & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
BatchPutGeofenceSuccess & WithGeofenceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue