/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the iotsitewise-2019-12-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.IoTSiteWise.Model { /// /// Contains an identity that can access an IoT SiteWise Monitor resource. /// /// /// /// Currently, you can't use Amazon Web Services APIs to retrieve IAM Identity Center /// identity IDs. You can find the IAM Identity Center identity IDs in the URL of user /// and group pages in the IAM Identity /// Center console. /// /// /// public partial class Identity { private GroupIdentity _group; private IAMRoleIdentity _iamRole; private IAMUserIdentity _iamUser; private UserIdentity _user; /// /// Gets and sets the property Group. /// /// An IAM Identity Center group identity. /// /// public GroupIdentity Group { get { return this._group; } set { this._group = value; } } // Check to see if Group property is set internal bool IsSetGroup() { return this._group != null; } /// /// Gets and sets the property IamRole. /// /// An IAM role identity. /// /// public IAMRoleIdentity IamRole { get { return this._iamRole; } set { this._iamRole = value; } } // Check to see if IamRole property is set internal bool IsSetIamRole() { return this._iamRole != null; } /// /// Gets and sets the property IamUser. /// /// An IAM user identity. /// /// public IAMUserIdentity IamUser { get { return this._iamUser; } set { this._iamUser = value; } } // Check to see if IamUser property is set internal bool IsSetIamUser() { return this._iamUser != null; } /// /// Gets and sets the property User. /// /// An IAM Identity Center user identity. /// /// public UserIdentity User { get { return this._user; } set { this._user = value; } } // Check to see if User property is set internal bool IsSetUser() { return this._user != null; } } }