AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchEvaluateGeofencesError.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 <aws/location/model/BatchItemError.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LocationService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError() = default;
39 AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
49 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
50 template<typename DeviceIdT = Aws::String>
51 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
52 template<typename DeviceIdT = Aws::String>
53 BatchEvaluateGeofencesError& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
55
57
62 inline const Aws::Utils::DateTime& GetSampleTime() const { return m_sampleTime; }
63 inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; }
64 template<typename SampleTimeT = Aws::Utils::DateTime>
65 void SetSampleTime(SampleTimeT&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::forward<SampleTimeT>(value); }
66 template<typename SampleTimeT = Aws::Utils::DateTime>
67 BatchEvaluateGeofencesError& WithSampleTime(SampleTimeT&& value) { SetSampleTime(std::forward<SampleTimeT>(value)); return *this;}
69
71
74 inline const BatchItemError& GetError() const { return m_error; }
75 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
76 template<typename ErrorT = BatchItemError>
77 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
78 template<typename ErrorT = BatchItemError>
79 BatchEvaluateGeofencesError& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
81 private:
82
83 Aws::String m_deviceId;
84 bool m_deviceIdHasBeenSet = false;
85
86 Aws::Utils::DateTime m_sampleTime{};
87 bool m_sampleTimeHasBeenSet = false;
88
89 BatchItemError m_error;
90 bool m_errorHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace LocationService
95} // namespace Aws
BatchEvaluateGeofencesError & WithSampleTime(SampleTimeT &&value)
BatchEvaluateGeofencesError & WithError(ErrorT &&value)
AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError()=default
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError(Aws::Utils::Json::JsonView jsonValue)
BatchEvaluateGeofencesError & WithDeviceId(DeviceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue