AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
PutGeofenceResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LocationService
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LOCATIONSERVICE_API PutGeofenceResult() = default;
34
35
37
40 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
41 template<typename GeofenceIdT = Aws::String>
42 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::forward<GeofenceIdT>(value); }
43 template<typename GeofenceIdT = Aws::String>
44 PutGeofenceResult& WithGeofenceId(GeofenceIdT&& value) { SetGeofenceId(std::forward<GeofenceIdT>(value)); return *this;}
46
48
53 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
54 template<typename CreateTimeT = Aws::Utils::DateTime>
55 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
56 template<typename CreateTimeT = Aws::Utils::DateTime>
57 PutGeofenceResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
59
61
66 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
67 template<typename UpdateTimeT = Aws::Utils::DateTime>
68 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
69 template<typename UpdateTimeT = Aws::Utils::DateTime>
70 PutGeofenceResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 PutGeofenceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(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 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace LocationService
98} // namespace Aws
PutGeofenceResult & WithGeofenceId(GeofenceIdT &&value)
AWS_LOCATIONSERVICE_API PutGeofenceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreateTime() const
PutGeofenceResult & WithCreateTime(CreateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
PutGeofenceResult & WithUpdateTime(UpdateTimeT &&value)
PutGeofenceResult & WithRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API PutGeofenceResult()=default
AWS_LOCATIONSERVICE_API PutGeofenceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue