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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace LocationService
44 template<
typename ErrorsT = Aws::Vector<BatchGetDevicePositionError>>
45 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
46 template<
typename ErrorsT = Aws::Vector<BatchGetDevicePositionError>>
48 template<
typename ErrorsT = BatchGetDevicePositionError>
58 template<
typename DevicePositionsT = Aws::Vector<DevicePosition>>
59 void SetDevicePositions(DevicePositionsT&& value) { m_devicePositionsHasBeenSet =
true; m_devicePositions = std::forward<DevicePositionsT>(value); }
60 template<
typename DevicePositionsT = Aws::Vector<DevicePosition>>
62 template<
typename DevicePositionsT = DevicePosition>
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_errorsHasBeenSet =
false;
80 bool m_devicePositionsHasBeenSet =
false;
83 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
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