/* * 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 { /// /// This is the response object from the DescribePortal operation. /// public partial class DescribePortalResponse : AmazonWebServiceResponse { private Alarms _alarms; private string _notificationSenderEmail; private string _portalArn; private AuthMode _portalAuthMode; private string _portalClientId; private string _portalContactEmail; private DateTime? _portalCreationDate; private string _portalDescription; private string _portalId; private DateTime? _portalLastUpdateDate; private ImageLocation _portalLogoImageLocation; private string _portalName; private string _portalStartUrl; private PortalStatus _portalStatus; private string _roleArn; /// /// Gets and sets the property Alarms. /// /// Contains the configuration information of an alarm created in an IoT SiteWise Monitor /// portal. /// /// public Alarms Alarms { get { return this._alarms; } set { this._alarms = value; } } // Check to see if Alarms property is set internal bool IsSetAlarms() { return this._alarms != null; } /// /// Gets and sets the property NotificationSenderEmail. /// /// The email address that sends alarm notifications. /// /// [AWSProperty(Min=1, Max=255)] public string NotificationSenderEmail { get { return this._notificationSenderEmail; } set { this._notificationSenderEmail = value; } } // Check to see if NotificationSenderEmail property is set internal bool IsSetNotificationSenderEmail() { return this._notificationSenderEmail != null; } /// /// Gets and sets the property PortalArn. /// /// The ARN /// of the portal, which has the following format. /// /// /// /// arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId} /// /// /// [AWSProperty(Required=true, Min=1, Max=1600)] public string PortalArn { get { return this._portalArn; } set { this._portalArn = value; } } // Check to see if PortalArn property is set internal bool IsSetPortalArn() { return this._portalArn != null; } /// /// Gets and sets the property PortalAuthMode. /// /// The service to use to authenticate users to the portal. /// /// public AuthMode PortalAuthMode { get { return this._portalAuthMode; } set { this._portalAuthMode = value; } } // Check to see if PortalAuthMode property is set internal bool IsSetPortalAuthMode() { return this._portalAuthMode != null; } /// /// Gets and sets the property PortalClientId. /// /// The IAM Identity Center application generated client ID (used with IAM Identity Center /// APIs). IoT SiteWise includes portalClientId for only portals that use /// IAM Identity Center to authenticate users. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string PortalClientId { get { return this._portalClientId; } set { this._portalClientId = value; } } // Check to see if PortalClientId property is set internal bool IsSetPortalClientId() { return this._portalClientId != null; } /// /// Gets and sets the property PortalContactEmail. /// /// The Amazon Web Services administrator's contact email address. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string PortalContactEmail { get { return this._portalContactEmail; } set { this._portalContactEmail = value; } } // Check to see if PortalContactEmail property is set internal bool IsSetPortalContactEmail() { return this._portalContactEmail != null; } /// /// Gets and sets the property PortalCreationDate. /// /// The date the portal was created, in Unix epoch time. /// /// [AWSProperty(Required=true)] public DateTime PortalCreationDate { get { return this._portalCreationDate.GetValueOrDefault(); } set { this._portalCreationDate = value; } } // Check to see if PortalCreationDate property is set internal bool IsSetPortalCreationDate() { return this._portalCreationDate.HasValue; } /// /// Gets and sets the property PortalDescription. /// /// The portal's description. /// /// [AWSProperty(Min=1, Max=2048)] public string PortalDescription { get { return this._portalDescription; } set { this._portalDescription = value; } } // Check to see if PortalDescription property is set internal bool IsSetPortalDescription() { return this._portalDescription != null; } /// /// Gets and sets the property PortalId. /// /// The ID of the portal. /// /// [AWSProperty(Required=true, Min=36, Max=36)] public string PortalId { get { return this._portalId; } set { this._portalId = value; } } // Check to see if PortalId property is set internal bool IsSetPortalId() { return this._portalId != null; } /// /// Gets and sets the property PortalLastUpdateDate. /// /// The date the portal was last updated, in Unix epoch time. /// /// [AWSProperty(Required=true)] public DateTime PortalLastUpdateDate { get { return this._portalLastUpdateDate.GetValueOrDefault(); } set { this._portalLastUpdateDate = value; } } // Check to see if PortalLastUpdateDate property is set internal bool IsSetPortalLastUpdateDate() { return this._portalLastUpdateDate.HasValue; } /// /// Gets and sets the property PortalLogoImageLocation. /// /// The portal's logo image, which is available at a URL. /// /// public ImageLocation PortalLogoImageLocation { get { return this._portalLogoImageLocation; } set { this._portalLogoImageLocation = value; } } // Check to see if PortalLogoImageLocation property is set internal bool IsSetPortalLogoImageLocation() { return this._portalLogoImageLocation != null; } /// /// Gets and sets the property PortalName. /// /// The name of the portal. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string PortalName { get { return this._portalName; } set { this._portalName = value; } } // Check to see if PortalName property is set internal bool IsSetPortalName() { return this._portalName != null; } /// /// Gets and sets the property PortalStartUrl. /// /// The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals /// that use IAM Identity Center for authentication. For portals that use IAM for authentication, /// you must use the IoT SiteWise console to get a URL that you can use to access the /// portal. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string PortalStartUrl { get { return this._portalStartUrl; } set { this._portalStartUrl = value; } } // Check to see if PortalStartUrl property is set internal bool IsSetPortalStartUrl() { return this._portalStartUrl != null; } /// /// Gets and sets the property PortalStatus. /// /// The current status of the portal, which contains a state and any error message. /// /// [AWSProperty(Required=true)] public PortalStatus PortalStatus { get { return this._portalStatus; } set { this._portalStatus = value; } } // Check to see if PortalStatus property is set internal bool IsSetPortalStatus() { return this._portalStatus != null; } /// /// Gets and sets the property RoleArn. /// /// The ARN /// of the service role that allows the portal's users to access your IoT SiteWise resources /// on your behalf. For more information, see Using /// service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide. /// /// [AWSProperty(Min=1, Max=1600)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } } }