/** * 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 QuickSight { namespace Model { class DescribeFolderPermissionsResult { public: AWS_QUICKSIGHT_API DescribeFolderPermissionsResult(); AWS_QUICKSIGHT_API DescribeFolderPermissionsResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DescribeFolderPermissionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline DescribeFolderPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;} /** *

The ID of the folder.

*/ inline const Aws::String& GetFolderId() const{ return m_folderId; } /** *

The ID of the folder.

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

The ID of the folder.

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

The ID of the folder.

*/ inline void SetFolderId(const char* value) { m_folderId.assign(value); } /** *

The ID of the folder.

*/ inline DescribeFolderPermissionsResult& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;} /** *

The ID of the folder.

*/ inline DescribeFolderPermissionsResult& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;} /** *

The ID of the folder.

*/ inline DescribeFolderPermissionsResult& WithFolderId(const char* value) { SetFolderId(value); return *this;} /** *

The Amazon Resource Name (ARN) for the folder.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the folder.

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

The Amazon Resource Name (ARN) for the folder.

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

The Amazon Resource Name (ARN) for the folder.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the folder.

*/ inline DescribeFolderPermissionsResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the folder.

*/ inline DescribeFolderPermissionsResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the folder.

*/ inline DescribeFolderPermissionsResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

Information about the permissions on the folder.

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

Information about the permissions on the folder.

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

Information about the permissions on the folder.

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

Information about the permissions on the folder.

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

Information about the permissions on the folder.

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

Information about the permissions on the folder.

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

Information about the permissions on the folder.

*/ inline DescribeFolderPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(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 DescribeFolderPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeFolderPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeFolderPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_status; Aws::String m_folderId; Aws::String m_arn; Aws::Vector m_permissions; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws