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/BatchUpdateDevicePositionError.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace LocationService {
39 template <
typename ErrorsT = Aws::Vector<BatchUpdateDevicePositionError>>
41 m_errorsHasBeenSet =
true;
42 m_errors = std::forward<ErrorsT>(value);
44 template <
typename ErrorsT = Aws::Vector<BatchUpdateDevicePositionError>>
49 template <
typename ErrorsT = BatchUpdateDevicePositionError>
51 m_errorsHasBeenSet =
true;
52 m_errors.emplace_back(std::forward<ErrorsT>(value));
60 template <
typename RequestIdT = Aws::String>
62 m_requestIdHasBeenSet =
true;
63 m_requestId = std::forward<RequestIdT>(value);
65 template <
typename RequestIdT = Aws::String>
78 bool m_errorsHasBeenSet =
false;
79 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionResult()=default
BatchUpdateDevicePositionResult & WithRequestId(RequestIdT &&value)
void SetErrors(ErrorsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< BatchUpdateDevicePositionError > & GetErrors() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchUpdateDevicePositionResult & WithErrors(ErrorsT &&value)
BatchUpdateDevicePositionResult & AddErrors(ErrorsT &&value)
AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue