/* * 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 kendra-2019-02-03.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.Kendra.Model { /// /// Summary information for users or groups in your IAM Identity Center identity source. /// This applies to users and groups with specific permissions that define their level /// of access to your Amazon Kendra experience. You can create an Amazon Kendra experience /// such as a search application. For more information on creating a search application /// experience, see Building /// a search experience with no code. /// public partial class PersonasSummary { private DateTime? _createdAt; private string _entityId; private Persona _persona; private DateTime? _updatedAt; /// /// Gets and sets the property CreatedAt. /// /// The Unix timestamp when the summary information was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property EntityId. /// /// The identifier of a user or group in your IAM Identity Center identity source. For /// example, a user ID could be an email. /// /// [AWSProperty(Min=1, Max=47)] public string EntityId { get { return this._entityId; } set { this._entityId = value; } } // Check to see if EntityId property is set internal bool IsSetEntityId() { return this._entityId != null; } /// /// Gets and sets the property Persona. /// /// The persona that defines the specific permissions of the user or group in your IAM /// Identity Center identity source. The available personas or access roles are Owner /// and Viewer. For more information on these personas, see Providing /// access to your search page. /// /// public Persona Persona { get { return this._persona; } set { this._persona = value; } } // Check to see if Persona property is set internal bool IsSetPersona() { return this._persona != null; } /// /// Gets and sets the property UpdatedAt. /// /// The Unix timestamp when the summary information was last updated. /// /// public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }