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

The ID for the theme.

*/ inline const Aws::String& GetThemeId() const{ return m_themeId; } /** *

The ID for the theme.

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

The ID for the theme.

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

The ID for the theme.

*/ inline void SetThemeId(const char* value) { m_themeId.assign(value); } /** *

The ID for the theme.

*/ inline DescribeThemePermissionsResult& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;} /** *

The ID for the theme.

*/ inline DescribeThemePermissionsResult& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;} /** *

The ID for the theme.

*/ inline DescribeThemePermissionsResult& WithThemeId(const char* value) { SetThemeId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the theme.

*/ inline const Aws::String& GetThemeArn() const{ return m_themeArn; } /** *

The Amazon Resource Name (ARN) of the theme.

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

The Amazon Resource Name (ARN) of the theme.

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

The Amazon Resource Name (ARN) of the theme.

*/ inline void SetThemeArn(const char* value) { m_themeArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the theme.

*/ inline DescribeThemePermissionsResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the theme.

*/ inline DescribeThemePermissionsResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the theme.

*/ inline DescribeThemePermissionsResult& WithThemeArn(const char* value) { SetThemeArn(value); return *this;} /** *

A list of resource permissions set on the theme.

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

A list of resource permissions set on the theme.

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

A list of resource permissions set on the theme.

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

A list of resource permissions set on the theme.

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

A list of resource permissions set on the theme.

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

A list of resource permissions set on the theme.

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

A list of resource permissions set on the theme.

*/ inline DescribeThemePermissionsResult& 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 DescribeThemePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeThemePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeThemePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

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 DescribeThemePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_themeId; Aws::String m_themeArn; Aws::Vector m_permissions; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws