/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the result of a single upsert row request.
* See Also:
AWS
* API Reference
The list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline const Aws::VectorThe list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline bool RowIdsHasBeenSet() const { return m_rowIdsHasBeenSet; } /** *The list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline void SetRowIds(const Aws::VectorThe list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline void SetRowIds(Aws::VectorThe list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline UpsertRowsResult& WithRowIds(const Aws::VectorThe list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline UpsertRowsResult& WithRowIds(Aws::VectorThe list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline UpsertRowsResult& AddRowIds(const Aws::String& value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(value); return *this; } /** *The list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline UpsertRowsResult& AddRowIds(Aws::String&& value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(std::move(value)); return *this; } /** *The list of row ids that were changed as part of an upsert row operation. If * the upsert resulted in an update, this list could potentially contain multiple * rows that matched the filter and hence got updated. If the upsert resulted in an * append, this list would only have the single row that was appended.
*/ inline UpsertRowsResult& AddRowIds(const char* value) { m_rowIdsHasBeenSet = true; m_rowIds.push_back(value); return *this; } /** *The result of the upsert action.
*/ inline const UpsertAction& GetUpsertAction() const{ return m_upsertAction; } /** *The result of the upsert action.
*/ inline bool UpsertActionHasBeenSet() const { return m_upsertActionHasBeenSet; } /** *The result of the upsert action.
*/ inline void SetUpsertAction(const UpsertAction& value) { m_upsertActionHasBeenSet = true; m_upsertAction = value; } /** *The result of the upsert action.
*/ inline void SetUpsertAction(UpsertAction&& value) { m_upsertActionHasBeenSet = true; m_upsertAction = std::move(value); } /** *The result of the upsert action.
*/ inline UpsertRowsResult& WithUpsertAction(const UpsertAction& value) { SetUpsertAction(value); return *this;} /** *The result of the upsert action.
*/ inline UpsertRowsResult& WithUpsertAction(UpsertAction&& value) { SetUpsertAction(std::move(value)); return *this;} private: Aws::Vector