/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure containing the identity of one user or group and the
* Admin
, Editor
, or Viewer
role that they
* have.See Also:
AWS
* API Reference
Specifies whether the user or group has the Admin
,
* Editor
, or Viewer
role.
Specifies whether the user or group has the Admin
,
* Editor
, or Viewer
role.
Specifies whether the user or group has the Admin
,
* Editor
, or Viewer
role.
Specifies whether the user or group has the Admin
,
* Editor
, or Viewer
role.
Specifies whether the user or group has the Admin
,
* Editor
, or Viewer
role.
Specifies whether the user or group has the Admin
,
* Editor
, or Viewer
role.
A structure with the ID of the user or group with this role.
*/ inline const User& GetUser() const{ return m_user; } /** *A structure with the ID of the user or group with this role.
*/ inline bool UserHasBeenSet() const { return m_userHasBeenSet; } /** *A structure with the ID of the user or group with this role.
*/ inline void SetUser(const User& value) { m_userHasBeenSet = true; m_user = value; } /** *A structure with the ID of the user or group with this role.
*/ inline void SetUser(User&& value) { m_userHasBeenSet = true; m_user = std::move(value); } /** *A structure with the ID of the user or group with this role.
*/ inline PermissionEntry& WithUser(const User& value) { SetUser(value); return *this;} /** *A structure with the ID of the user or group with this role.
*/ inline PermissionEntry& WithUser(User&& value) { SetUser(std::move(value)); return *this;} private: Role m_role; bool m_roleHasBeenSet = false; User m_user; bool m_userHasBeenSet = false; }; } // namespace Model } // namespace ManagedGrafana } // namespace Aws