AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PutGeofenceResult.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 {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace LocationService {
23namespace Model {
25 public:
26 AWS_LOCATIONSERVICE_API PutGeofenceResult() = default;
29
31
34 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
35 template <typename GeofenceIdT = Aws::String>
36 void SetGeofenceId(GeofenceIdT&& value) {
37 m_geofenceIdHasBeenSet = true;
38 m_geofenceId = std::forward<GeofenceIdT>(value);
39 }
40 template <typename GeofenceIdT = Aws::String>
41 PutGeofenceResult& WithGeofenceId(GeofenceIdT&& value) {
42 SetGeofenceId(std::forward<GeofenceIdT>(value));
43 return *this;
44 }
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) {
56 m_createTimeHasBeenSet = true;
57 m_createTime = std::forward<CreateTimeT>(value);
58 }
59 template <typename CreateTimeT = Aws::Utils::DateTime>
60 PutGeofenceResult& WithCreateTime(CreateTimeT&& value) {
61 SetCreateTime(std::forward<CreateTimeT>(value));
62 return *this;
63 }
65
67
72 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
73 template <typename UpdateTimeT = Aws::Utils::DateTime>
74 void SetUpdateTime(UpdateTimeT&& value) {
75 m_updateTimeHasBeenSet = true;
76 m_updateTime = std::forward<UpdateTimeT>(value);
77 }
78 template <typename UpdateTimeT = Aws::Utils::DateTime>
79 PutGeofenceResult& WithUpdateTime(UpdateTimeT&& value) {
80 SetUpdateTime(std::forward<UpdateTimeT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
94 PutGeofenceResult& WithRequestId(RequestIdT&& value) {
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_geofenceId;
101
102 Aws::Utils::DateTime m_createTime{};
103
104 Aws::Utils::DateTime m_updateTime{};
105
106 Aws::String m_requestId;
107 bool m_geofenceIdHasBeenSet = false;
108 bool m_createTimeHasBeenSet = false;
109 bool m_updateTimeHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace LocationService
115} // 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