AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetDevicePositionResult.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/BatchGetDevicePositionError.h>
11#include <aws/location/model/DevicePosition.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 BatchGetDevicePositionResult();
36
37
39
43 inline const Aws::Vector<BatchGetDevicePositionError>& GetErrors() const{ return m_errors; }
44 inline void SetErrors(const Aws::Vector<BatchGetDevicePositionError>& value) { m_errors = value; }
45 inline void SetErrors(Aws::Vector<BatchGetDevicePositionError>&& value) { m_errors = std::move(value); }
48 inline BatchGetDevicePositionResult& AddErrors(const BatchGetDevicePositionError& value) { m_errors.push_back(value); return *this; }
49 inline BatchGetDevicePositionResult& AddErrors(BatchGetDevicePositionError&& value) { m_errors.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::Vector<DevicePosition>& GetDevicePositions() const{ return m_devicePositions; }
58 inline void SetDevicePositions(const Aws::Vector<DevicePosition>& value) { m_devicePositions = value; }
59 inline void SetDevicePositions(Aws::Vector<DevicePosition>&& value) { m_devicePositions = std::move(value); }
62 inline BatchGetDevicePositionResult& AddDevicePositions(const DevicePosition& value) { m_devicePositions.push_back(value); return *this; }
63 inline BatchGetDevicePositionResult& AddDevicePositions(DevicePosition&& value) { m_devicePositions.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 BatchGetDevicePositionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline BatchGetDevicePositionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline BatchGetDevicePositionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
79
80 Aws::Vector<DevicePosition> m_devicePositions;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace LocationService
87} // namespace Aws
BatchGetDevicePositionResult & WithRequestId(const Aws::String &value)
BatchGetDevicePositionResult & AddDevicePositions(DevicePosition &&value)
BatchGetDevicePositionResult & AddDevicePositions(const DevicePosition &value)
BatchGetDevicePositionResult & WithDevicePositions(const Aws::Vector< DevicePosition > &value)
BatchGetDevicePositionResult & WithDevicePositions(Aws::Vector< DevicePosition > &&value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDevicePositionResult & WithErrors(Aws::Vector< BatchGetDevicePositionError > &&value)
void SetErrors(const Aws::Vector< BatchGetDevicePositionError > &value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrors(Aws::Vector< BatchGetDevicePositionError > &&value)
BatchGetDevicePositionResult & WithRequestId(const char *value)
const Aws::Vector< DevicePosition > & GetDevicePositions() const
BatchGetDevicePositionResult & WithErrors(const Aws::Vector< BatchGetDevicePositionError > &value)
BatchGetDevicePositionResult & AddErrors(const BatchGetDevicePositionError &value)
const Aws::Vector< BatchGetDevicePositionError > & GetErrors() const
BatchGetDevicePositionResult & WithRequestId(Aws::String &&value)
BatchGetDevicePositionResult & AddErrors(BatchGetDevicePositionError &&value)
void SetDevicePositions(const Aws::Vector< DevicePosition > &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