AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchDeleteGeofenceError.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/model/BatchItemError.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LocationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError() = default;
37 AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGeofenceId() const { return m_geofenceId; }
47 inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; }
48 template<typename GeofenceIdT = Aws::String>
49 void SetGeofenceId(GeofenceIdT&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::forward<GeofenceIdT>(value); }
50 template<typename GeofenceIdT = Aws::String>
51 BatchDeleteGeofenceError& WithGeofenceId(GeofenceIdT&& value) { SetGeofenceId(std::forward<GeofenceIdT>(value)); return *this;}
53
55
58 inline const BatchItemError& GetError() const { return m_error; }
59 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
60 template<typename ErrorT = BatchItemError>
61 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
62 template<typename ErrorT = BatchItemError>
63 BatchDeleteGeofenceError& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
65 private:
66
67 Aws::String m_geofenceId;
68 bool m_geofenceIdHasBeenSet = false;
69
70 BatchItemError m_error;
71 bool m_errorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LocationService
76} // namespace Aws
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteGeofenceError & WithGeofenceId(GeofenceIdT &&value)
BatchDeleteGeofenceError & WithError(ErrorT &&value)
AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError()=default
AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue