7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/location/LocationService_EXPORTS.h>
11#include <aws/location/model/BatchGetDevicePositionError.h>
12#include <aws/location/model/DevicePosition.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LocationService {
39 template <
typename ErrorsT = Aws::Vector<BatchGetDevicePositionError>>
41 m_errorsHasBeenSet =
true;
42 m_errors = std::forward<ErrorsT>(value);
44 template <
typename ErrorsT = Aws::Vector<BatchGetDevicePositionError>>
49 template <
typename ErrorsT = BatchGetDevicePositionError>
51 m_errorsHasBeenSet =
true;
52 m_errors.emplace_back(std::forward<ErrorsT>(value));
63 template <
typename DevicePositionsT = Aws::Vector<DevicePosition>>
65 m_devicePositionsHasBeenSet =
true;
66 m_devicePositions = std::forward<DevicePositionsT>(value);
68 template <
typename DevicePositionsT = Aws::Vector<DevicePosition>>
73 template <
typename DevicePositionsT = DevicePosition>
75 m_devicePositionsHasBeenSet =
true;
76 m_devicePositions.emplace_back(std::forward<DevicePositionsT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_errorsHasBeenSet =
false;
105 bool m_devicePositionsHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
BatchGetDevicePositionResult & WithRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDevicePositionResult & WithErrors(ErrorsT &&value)
BatchGetDevicePositionResult & AddErrors(ErrorsT &&value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDevicePositionResult & AddDevicePositions(DevicePositionsT &&value)
const Aws::Vector< DevicePosition > & GetDevicePositions() const
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
AWS_LOCATIONSERVICE_API BatchGetDevicePositionResult()=default
void SetDevicePositions(DevicePositionsT &&value)
BatchGetDevicePositionResult & WithDevicePositions(DevicePositionsT &&value)
const Aws::Vector< BatchGetDevicePositionError > & GetErrors() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetErrors(ErrorsT &&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