AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
PutGeofenceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/LocationService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LocationService {
24namespace Model {
26 public:
27 AWS_LOCATIONSERVICE_API PutGeofenceResult() = default;
30
32
35 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
36 template <typename GeofenceIdT = Aws::String>
37 void SetGeofenceId(GeofenceIdT&& value) {
38 m_geofenceIdHasBeenSet = true;
39 m_geofenceId = std::forward<GeofenceIdT>(value);
40 }
41 template <typename GeofenceIdT = Aws::String>
42 PutGeofenceResult& WithGeofenceId(GeofenceIdT&& value) {
43 SetGeofenceId(std::forward<GeofenceIdT>(value));
44 return *this;
45 }
47
49
54 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
55 template <typename CreateTimeT = Aws::Utils::DateTime>
56 void SetCreateTime(CreateTimeT&& value) {
57 m_createTimeHasBeenSet = true;
58 m_createTime = std::forward<CreateTimeT>(value);
59 }
60 template <typename CreateTimeT = Aws::Utils::DateTime>
61 PutGeofenceResult& WithCreateTime(CreateTimeT&& value) {
62 SetCreateTime(std::forward<CreateTimeT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
74 template <typename UpdateTimeT = Aws::Utils::DateTime>
75 void SetUpdateTime(UpdateTimeT&& value) {
76 m_updateTimeHasBeenSet = true;
77 m_updateTime = std::forward<UpdateTimeT>(value);
78 }
79 template <typename UpdateTimeT = Aws::Utils::DateTime>
80 PutGeofenceResult& WithUpdateTime(UpdateTimeT&& value) {
81 SetUpdateTime(std::forward<UpdateTimeT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
95 PutGeofenceResult& WithRequestId(RequestIdT&& value) {
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_geofenceId;
104
105 Aws::Utils::DateTime m_createTime{};
106
107 Aws::Utils::DateTime m_updateTime{};
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_geofenceIdHasBeenSet = false;
112 bool m_createTimeHasBeenSet = false;
113 bool m_updateTimeHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace LocationService
119} // 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::Http::HttpResponseCode GetHttpResponseCode() const
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