/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LocationService { namespace Model { class BatchUpdateDevicePositionResult { public: AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionResult(); AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API BatchUpdateDevicePositionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Contains error details for each device that failed to update its * position.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

Contains error details for each device that failed to update its * position.

*/ inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** *

Contains error details for each device that failed to update its * position.

*/ inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** *

Contains error details for each device that failed to update its * position.

*/ inline BatchUpdateDevicePositionResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

Contains error details for each device that failed to update its * position.

*/ inline BatchUpdateDevicePositionResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

Contains error details for each device that failed to update its * position.

*/ inline BatchUpdateDevicePositionResult& AddErrors(const BatchUpdateDevicePositionError& value) { m_errors.push_back(value); return *this; } /** *

Contains error details for each device that failed to update its * position.

*/ inline BatchUpdateDevicePositionResult& AddErrors(BatchUpdateDevicePositionError&& value) { m_errors.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchUpdateDevicePositionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchUpdateDevicePositionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchUpdateDevicePositionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_errors; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws