/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of failures when performing a batch grant or batch revoke
* operation.See Also:
AWS
* API Reference
An identifier for an entry of the batch request.
*/ inline const BatchPermissionsRequestEntry& GetRequestEntry() const{ return m_requestEntry; } /** *An identifier for an entry of the batch request.
*/ inline bool RequestEntryHasBeenSet() const { return m_requestEntryHasBeenSet; } /** *An identifier for an entry of the batch request.
*/ inline void SetRequestEntry(const BatchPermissionsRequestEntry& value) { m_requestEntryHasBeenSet = true; m_requestEntry = value; } /** *An identifier for an entry of the batch request.
*/ inline void SetRequestEntry(BatchPermissionsRequestEntry&& value) { m_requestEntryHasBeenSet = true; m_requestEntry = std::move(value); } /** *An identifier for an entry of the batch request.
*/ inline BatchPermissionsFailureEntry& WithRequestEntry(const BatchPermissionsRequestEntry& value) { SetRequestEntry(value); return *this;} /** *An identifier for an entry of the batch request.
*/ inline BatchPermissionsFailureEntry& WithRequestEntry(BatchPermissionsRequestEntry&& value) { SetRequestEntry(std::move(value)); return *this;} /** *An error message that applies to the failure of the entry.
*/ inline const ErrorDetail& GetError() const{ return m_error; } /** *An error message that applies to the failure of the entry.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *An error message that applies to the failure of the entry.
*/ inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; } /** *An error message that applies to the failure of the entry.
*/ inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *An error message that applies to the failure of the entry.
*/ inline BatchPermissionsFailureEntry& WithError(const ErrorDetail& value) { SetError(value); return *this;} /** *An error message that applies to the failure of the entry.
*/ inline BatchPermissionsFailureEntry& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;} private: BatchPermissionsRequestEntry m_requestEntry; bool m_requestEntryHasBeenSet = false; ErrorDetail m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws