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/BatchUpdateDevicePositionError.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace LocationService {
38 template <
typename ErrorsT = Aws::Vector<BatchUpdateDevicePositionError>>
40 m_errorsHasBeenSet =
true;
41 m_errors = std::forward<ErrorsT>(value);
43 template <
typename ErrorsT = Aws::Vector<BatchUpdateDevicePositionError>>
48 template <
typename ErrorsT = BatchUpdateDevicePositionError>
50 m_errorsHasBeenSet =
true;
51 m_errors.emplace_back(std::forward<ErrorsT>(value));
59 template <
typename RequestIdT = Aws::String>
61 m_requestIdHasBeenSet =
true;
62 m_requestId = std::forward<RequestIdT>(value);
64 template <
typename RequestIdT = Aws::String>
74 bool m_errorsHasBeenSet =
false;
75 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
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