/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the list of entities to be considered during an authorization
* request. This includes all principals, resources, and actions required to
* successfully evaluate the request. This data type is used as a field in
* the response parameter for the IsAuthorized
* and IsAuthorizedWithToken
* operations.See Also:
AWS
* API Reference
An array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline const Aws::VectorAn array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline bool EntityListHasBeenSet() const { return m_entityListHasBeenSet; } /** *An array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline void SetEntityList(const Aws::VectorAn array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline void SetEntityList(Aws::VectorAn array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline EntitiesDefinition& WithEntityList(const Aws::VectorAn array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline EntitiesDefinition& WithEntityList(Aws::VectorAn array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline EntitiesDefinition& AddEntityList(const EntityItem& value) { m_entityListHasBeenSet = true; m_entityList.push_back(value); return *this; } /** *An array of entities that are needed to successfully evaluate an * authorization request. Each entity in this array must include an identifier for * the entity, the attributes of the entity, and a list of any parent entities.
*/ inline EntitiesDefinition& AddEntityList(EntityItem&& value) { m_entityListHasBeenSet = true; m_entityList.push_back(std::move(value)); return *this; } private: Aws::Vector