/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains an AWS SSO identity ID for a user or group. Currently,
* you can't use AWS APIs to retrieve AWS SSO identity IDs. You can find the AWS
* SSO identity IDs in the URL of user and group pages in the AWS SSO console.See Also:
AWS
* API Reference
A user identity.
*/ inline const UserIdentity& GetUser() const{ return m_user; } /** *A user identity.
*/ inline bool UserHasBeenSet() const { return m_userHasBeenSet; } /** *A user identity.
*/ inline void SetUser(const UserIdentity& value) { m_userHasBeenSet = true; m_user = value; } /** *A user identity.
*/ inline void SetUser(UserIdentity&& value) { m_userHasBeenSet = true; m_user = std::move(value); } /** *A user identity.
*/ inline Identity& WithUser(const UserIdentity& value) { SetUser(value); return *this;} /** *A user identity.
*/ inline Identity& WithUser(UserIdentity&& value) { SetUser(std::move(value)); return *this;} /** *A group identity.
*/ inline const GroupIdentity& GetGroup() const{ return m_group; } /** *A group identity.
*/ inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } /** *A group identity.
*/ inline void SetGroup(const GroupIdentity& value) { m_groupHasBeenSet = true; m_group = value; } /** *A group identity.
*/ inline void SetGroup(GroupIdentity&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } /** *A group identity.
*/ inline Identity& WithGroup(const GroupIdentity& value) { SetGroup(value); return *this;} /** *A group identity.
*/ inline Identity& WithGroup(GroupIdentity&& value) { SetGroup(std::move(value)); return *this;} private: UserIdentity m_user; bool m_userHasBeenSet; GroupIdentity m_group; bool m_groupHasBeenSet; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws