/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LakeFormation { namespace Model { class GetEffectivePermissionsForPathResult { public: AWS_LAKEFORMATION_API GetEffectivePermissionsForPathResult(); AWS_LAKEFORMATION_API GetEffectivePermissionsForPathResult(const Aws::AmazonWebServiceResult& result); AWS_LAKEFORMATION_API GetEffectivePermissionsForPathResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline const Aws::Vector& GetPermissions() const{ return m_permissions; } /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline void SetPermissions(const Aws::Vector& value) { m_permissions = value; } /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline void SetPermissions(Aws::Vector&& value) { m_permissions = std::move(value); } /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline GetEffectivePermissionsForPathResult& WithPermissions(const Aws::Vector& value) { SetPermissions(value); return *this;} /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline GetEffectivePermissionsForPathResult& WithPermissions(Aws::Vector&& value) { SetPermissions(std::move(value)); return *this;} /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline GetEffectivePermissionsForPathResult& AddPermissions(const PrincipalResourcePermissions& value) { m_permissions.push_back(value); return *this; } /** *

A list of the permissions for the specified table or database resource * located at the path in Amazon S3.

*/ inline GetEffectivePermissionsForPathResult& AddPermissions(PrincipalResourcePermissions&& value) { m_permissions.push_back(std::move(value)); return *this; } /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline GetEffectivePermissionsForPathResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline GetEffectivePermissionsForPathResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A continuation token, if this is not the first call to retrieve this * list.

*/ inline GetEffectivePermissionsForPathResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetEffectivePermissionsForPathResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEffectivePermissionsForPathResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEffectivePermissionsForPathResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_permissions; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace LakeFormation } // namespace Aws