AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPutGeofenceResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/location/model/BatchPutGeofenceSuccess.h>
11#include <aws/location/model/BatchPutGeofenceError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LocationService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LOCATIONSERVICE_API BatchPutGeofenceResult();
36
37
39
43 inline const Aws::Vector<BatchPutGeofenceSuccess>& GetSuccesses() const{ return m_successes; }
44 inline void SetSuccesses(const Aws::Vector<BatchPutGeofenceSuccess>& value) { m_successes = value; }
45 inline void SetSuccesses(Aws::Vector<BatchPutGeofenceSuccess>&& value) { m_successes = std::move(value); }
48 inline BatchPutGeofenceResult& AddSuccesses(const BatchPutGeofenceSuccess& value) { m_successes.push_back(value); return *this; }
49 inline BatchPutGeofenceResult& AddSuccesses(BatchPutGeofenceSuccess&& value) { m_successes.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::Vector<BatchPutGeofenceError>& GetErrors() const{ return m_errors; }
58 inline void SetErrors(const Aws::Vector<BatchPutGeofenceError>& value) { m_errors = value; }
59 inline void SetErrors(Aws::Vector<BatchPutGeofenceError>&& value) { m_errors = std::move(value); }
61 inline BatchPutGeofenceResult& WithErrors(Aws::Vector<BatchPutGeofenceError>&& value) { SetErrors(std::move(value)); return *this;}
62 inline BatchPutGeofenceResult& AddErrors(const BatchPutGeofenceError& value) { m_errors.push_back(value); return *this; }
63 inline BatchPutGeofenceResult& AddErrors(BatchPutGeofenceError&& value) { m_errors.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline BatchPutGeofenceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline BatchPutGeofenceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline BatchPutGeofenceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
79
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace LocationService
87} // namespace Aws
BatchPutGeofenceResult & WithErrors(const Aws::Vector< BatchPutGeofenceError > &value)
const Aws::Vector< BatchPutGeofenceSuccess > & GetSuccesses() const
void SetErrors(const Aws::Vector< BatchPutGeofenceError > &value)
void SetSuccesses(const Aws::Vector< BatchPutGeofenceSuccess > &value)
BatchPutGeofenceResult & WithRequestId(Aws::String &&value)
BatchPutGeofenceResult & WithSuccesses(Aws::Vector< BatchPutGeofenceSuccess > &&value)
BatchPutGeofenceResult & AddSuccesses(const BatchPutGeofenceSuccess &value)
BatchPutGeofenceResult & AddErrors(BatchPutGeofenceError &&value)
BatchPutGeofenceResult & AddSuccesses(BatchPutGeofenceSuccess &&value)
BatchPutGeofenceResult & WithRequestId(const char *value)
void SetErrors(Aws::Vector< BatchPutGeofenceError > &&value)
AWS_LOCATIONSERVICE_API BatchPutGeofenceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API BatchPutGeofenceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchPutGeofenceResult & WithRequestId(const Aws::String &value)
void SetSuccesses(Aws::Vector< BatchPutGeofenceSuccess > &&value)
BatchPutGeofenceResult & WithSuccesses(const Aws::Vector< BatchPutGeofenceSuccess > &value)
BatchPutGeofenceResult & AddErrors(const BatchPutGeofenceError &value)
const Aws::Vector< BatchPutGeofenceError > & GetErrors() const
BatchPutGeofenceResult & WithErrors(Aws::Vector< BatchPutGeofenceError > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue