7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lakeformation/model/DataLakePrincipal.h>
10#include <aws/lakeformation/model/Resource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lakeformation/model/Permission.h>
25namespace LakeFormation
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
78 inline void SetResource(
Resource&& value) { m_resourceHasBeenSet =
true; m_resource = std::move(value); }
113 bool m_idHasBeenSet =
false;
116 bool m_principalHasBeenSet =
false;
119 bool m_resourceHasBeenSet =
false;
122 bool m_permissionsHasBeenSet =
false;
125 bool m_permissionsWithGrantOptionHasBeenSet =
false;
bool PermissionsHasBeenSet() const
BatchPermissionsRequestEntry & WithPermissions(const Aws::Vector< Permission > &value)
BatchPermissionsRequestEntry & AddPermissionsWithGrantOption(Permission &&value)
BatchPermissionsRequestEntry & WithPermissions(Aws::Vector< Permission > &&value)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const Aws::String &value)
BatchPermissionsRequestEntry & WithResource(const Resource &value)
BatchPermissionsRequestEntry & WithResource(Resource &&value)
const Aws::String & GetId() const
BatchPermissionsRequestEntry & WithId(Aws::String &&value)
void SetResource(const Resource &value)
const Resource & GetResource() const
const DataLakePrincipal & GetPrincipal() const
AWS_LAKEFORMATION_API BatchPermissionsRequestEntry(Aws::Utils::Json::JsonView jsonValue)
void SetResource(Resource &&value)
const Aws::Vector< Permission > & GetPermissions() const
BatchPermissionsRequestEntry & WithPermissionsWithGrantOption(const Aws::Vector< Permission > &value)
BatchPermissionsRequestEntry & WithId(const Aws::String &value)
BatchPermissionsRequestEntry & WithPermissionsWithGrantOption(Aws::Vector< Permission > &&value)
AWS_LAKEFORMATION_API BatchPermissionsRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
void SetPermissions(Aws::Vector< Permission > &&value)
void SetPermissions(const Aws::Vector< Permission > &value)
BatchPermissionsRequestEntry & WithPrincipal(const DataLakePrincipal &value)
BatchPermissionsRequestEntry & AddPermissions(Permission &&value)
AWS_LAKEFORMATION_API BatchPermissionsRequestEntry()
const Aws::Vector< Permission > & GetPermissionsWithGrantOption() const
BatchPermissionsRequestEntry & AddPermissions(const Permission &value)
bool PrincipalHasBeenSet() const
void SetPermissionsWithGrantOption(Aws::Vector< Permission > &&value)
BatchPermissionsRequestEntry & WithId(const char *value)
void SetPrincipal(const DataLakePrincipal &value)
void SetPrincipal(DataLakePrincipal &&value)
void SetId(const char *value)
void SetPermissionsWithGrantOption(const Aws::Vector< Permission > &value)
void SetId(Aws::String &&value)
bool ResourceHasBeenSet() const
BatchPermissionsRequestEntry & WithPrincipal(DataLakePrincipal &&value)
BatchPermissionsRequestEntry & AddPermissionsWithGrantOption(const Permission &value)
bool PermissionsWithGrantOptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue