AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
51 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
52 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
53 inline BatchEvaluateGeofencesError& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
54 inline BatchEvaluateGeofencesError& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
55 inline BatchEvaluateGeofencesError& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
57
59
64 inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; }
65 inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; }
66 inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; }
67 inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); }
69 inline BatchEvaluateGeofencesError& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;}
71
73
76 inline const BatchItemError& GetError() const{ return m_error; }
77 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
78 inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; }
79 inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
80 inline BatchEvaluateGeofencesError& WithError(const BatchItemError& value) { SetError(value); return *this;}
81 inline BatchEvaluateGeofencesError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_deviceId;
86 bool m_deviceIdHasBeenSet = false;
87
88 Aws::Utils::DateTime m_sampleTime;
89 bool m_sampleTimeHasBeenSet = false;
90
91 BatchItemError m_error;
92 bool m_errorHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace LocationService
97} // namespace Aws
BatchEvaluateGeofencesError & WithError(BatchItemError &&value)
BatchEvaluateGeofencesError & WithDeviceId(const Aws::String &value)
BatchEvaluateGeofencesError & WithSampleTime(Aws::Utils::DateTime &&value)
BatchEvaluateGeofencesError & WithDeviceId(const char *value)
AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API BatchEvaluateGeofencesError(Aws::Utils::Json::JsonView jsonValue)
BatchEvaluateGeofencesError & WithDeviceId(Aws::String &&value)
BatchEvaluateGeofencesError & WithSampleTime(const Aws::Utils::DateTime &value)
BatchEvaluateGeofencesError & WithError(const BatchItemError &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue