AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPermissionsFailureEntry.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/model/BatchPermissionsRequestEntry.h>
9#include <aws/lakeformation/model/ErrorDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LakeFormation
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LAKEFORMATION_API BatchPermissionsFailureEntry();
39 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const BatchPermissionsRequestEntry& GetRequestEntry() const{ return m_requestEntry; }
47 inline bool RequestEntryHasBeenSet() const { return m_requestEntryHasBeenSet; }
48 inline void SetRequestEntry(const BatchPermissionsRequestEntry& value) { m_requestEntryHasBeenSet = true; m_requestEntry = value; }
49 inline void SetRequestEntry(BatchPermissionsRequestEntry&& value) { m_requestEntryHasBeenSet = true; m_requestEntry = std::move(value); }
53
55
58 inline const ErrorDetail& GetError() const{ return m_error; }
59 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
60 inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; }
61 inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
62 inline BatchPermissionsFailureEntry& WithError(const ErrorDetail& value) { SetError(value); return *this;}
63 inline BatchPermissionsFailureEntry& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
65 private:
66
67 BatchPermissionsRequestEntry m_requestEntry;
68 bool m_requestEntryHasBeenSet = false;
69
70 ErrorDetail m_error;
71 bool m_errorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LakeFormation
76} // namespace Aws
BatchPermissionsFailureEntry & WithRequestEntry(BatchPermissionsRequestEntry &&value)
const ErrorDetail & GetError() const
void SetError(ErrorDetail &&value)
AWS_LAKEFORMATION_API BatchPermissionsFailureEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPermissionsFailureEntry & WithError(ErrorDetail &&value)
void SetRequestEntry(const BatchPermissionsRequestEntry &value)
BatchPermissionsFailureEntry & WithError(const ErrorDetail &value)
AWS_LAKEFORMATION_API BatchPermissionsFailureEntry()
void SetError(const ErrorDetail &value)
bool ErrorHasBeenSet() const
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
const BatchPermissionsRequestEntry & GetRequestEntry() const
BatchPermissionsFailureEntry & WithRequestEntry(const BatchPermissionsRequestEntry &value)
bool RequestEntryHasBeenSet() const
AWS_LAKEFORMATION_API BatchPermissionsFailureEntry(Aws::Utils::Json::JsonView jsonValue)
void SetRequestEntry(BatchPermissionsRequestEntry &&value)
Aws::Utils::Json::JsonValue JsonValue