/* * 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 workmail-2017-10-01.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.WorkMail.Model { /// /// The representation of an organization. /// public partial class OrganizationSummary { private string _alias; private string _defaultMailDomain; private string _errorMessage; private string _organizationId; private string _state; /// /// Gets and sets the property Alias. /// /// The alias associated with the organization. /// /// [AWSProperty(Min=1, Max=62)] public string Alias { get { return this._alias; } set { this._alias = value; } } // Check to see if Alias property is set internal bool IsSetAlias() { return this._alias != null; } /// /// Gets and sets the property DefaultMailDomain. /// /// The default email domain associated with the organization. /// /// [AWSProperty(Min=3, Max=255)] public string DefaultMailDomain { get { return this._defaultMailDomain; } set { this._defaultMailDomain = value; } } // Check to see if DefaultMailDomain property is set internal bool IsSetDefaultMailDomain() { return this._defaultMailDomain != null; } /// /// Gets and sets the property ErrorMessage. /// /// The error message associated with the organization. It is only present if unexpected /// behavior has occurred with regards to the organization. It provides insight or solutions /// regarding unexpected behavior. /// /// [AWSProperty(Max=256)] public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property OrganizationId. /// /// The identifier associated with the organization. /// /// [AWSProperty(Min=34, Max=34)] public string OrganizationId { get { return this._organizationId; } set { this._organizationId = value; } } // Check to see if OrganizationId property is set internal bool IsSetOrganizationId() { return this._organizationId != null; } /// /// Gets and sets the property State. /// /// The state associated with the organization. /// /// [AWSProperty(Max=256)] public string State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }