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

Information on the records ingested by this request.

*/ inline const RecordsIngested& GetRecordsIngested() const{ return m_recordsIngested; } /** *

Information on the records ingested by this request.

*/ inline void SetRecordsIngested(const RecordsIngested& value) { m_recordsIngested = value; } /** *

Information on the records ingested by this request.

*/ inline void SetRecordsIngested(RecordsIngested&& value) { m_recordsIngested = std::move(value); } /** *

Information on the records ingested by this request.

*/ inline WriteRecordsResult& WithRecordsIngested(const RecordsIngested& value) { SetRecordsIngested(value); return *this;} /** *

Information on the records ingested by this request.

*/ inline WriteRecordsResult& WithRecordsIngested(RecordsIngested&& value) { SetRecordsIngested(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 WriteRecordsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline WriteRecordsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline WriteRecordsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RecordsIngested m_recordsIngested; Aws::String m_requestId; }; } // namespace Model } // namespace TimestreamWrite } // namespace Aws