7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/BatchGetDevicePositionError.h>
11#include <aws/location/model/DevicePosition.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace LocationService {
38 template <
typename ErrorsT = Aws::Vector<BatchGetDevicePositionError>>
40 m_errorsHasBeenSet =
true;
41 m_errors = std::forward<ErrorsT>(value);
43 template <
typename ErrorsT = Aws::Vector<BatchGetDevicePositionError>>
48 template <
typename ErrorsT = BatchGetDevicePositionError>
50 m_errorsHasBeenSet =
true;
51 m_errors.emplace_back(std::forward<ErrorsT>(value));
62 template <
typename DevicePositionsT = Aws::Vector<DevicePosition>>
64 m_devicePositionsHasBeenSet =
true;
65 m_devicePositions = std::forward<DevicePositionsT>(value);
67 template <
typename DevicePositionsT = Aws::Vector<DevicePosition>>
72 template <
typename DevicePositionsT = DevicePosition>
74 m_devicePositionsHasBeenSet =
true;
75 m_devicePositions.emplace_back(std::forward<DevicePositionsT>(value));
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
100 bool m_errorsHasBeenSet =
false;
101 bool m_devicePositionsHasBeenSet =
false;
102 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