AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; }
49 inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); }
50 inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); }
51 inline BatchDeleteGeofenceError& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;}
52 inline BatchDeleteGeofenceError& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;}
53 inline BatchDeleteGeofenceError& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;}
55
57
60 inline const BatchItemError& GetError() const{ return m_error; }
61 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
62 inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; }
63 inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
64 inline BatchDeleteGeofenceError& WithError(const BatchItemError& value) { SetError(value); return *this;}
65 inline BatchDeleteGeofenceError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_geofenceId;
70 bool m_geofenceIdHasBeenSet = false;
71
72 BatchItemError m_error;
73 bool m_errorHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LocationService
78} // namespace Aws
BatchDeleteGeofenceError & WithGeofenceId(const char *value)
BatchDeleteGeofenceError & WithError(const BatchItemError &value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteGeofenceError & WithGeofenceId(Aws::String &&value)
AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteGeofenceError & WithGeofenceId(const Aws::String &value)
AWS_LOCATIONSERVICE_API BatchDeleteGeofenceError(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteGeofenceError & WithError(BatchItemError &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue