/* * 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 chime-2018-05-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.Chime.Model { /// /// The Amazon Chime account details. An AWS account can have multiple Amazon Chime accounts. /// public partial class Account { private string _accountId; private AccountStatus _accountStatus; private AccountType _accountType; private string _awsAccountId; private DateTime? _createdTimestamp; private License _defaultLicense; private string _name; private List _signinDelegateGroups = new List(); private List _supportedLicenses = new List(); /// /// Gets and sets the property AccountId. /// /// The Amazon Chime account ID. /// /// [AWSProperty(Required=true)] public string AccountId { get { return this._accountId; } set { this._accountId = value; } } // Check to see if AccountId property is set internal bool IsSetAccountId() { return this._accountId != null; } /// /// Gets and sets the property AccountStatus. /// /// The status of the account. /// /// public AccountStatus AccountStatus { get { return this._accountStatus; } set { this._accountStatus = value; } } // Check to see if AccountStatus property is set internal bool IsSetAccountStatus() { return this._accountStatus != null; } /// /// Gets and sets the property AccountType. /// /// The Amazon Chime account type. For more information about different account types, /// see Managing /// Your Amazon Chime Accounts in the Amazon Chime Administration Guide. /// /// public AccountType AccountType { get { return this._accountType; } set { this._accountType = value; } } // Check to see if AccountType property is set internal bool IsSetAccountType() { return this._accountType != null; } /// /// Gets and sets the property AwsAccountId. /// /// The AWS account ID. /// /// [AWSProperty(Required=true)] public string AwsAccountId { get { return this._awsAccountId; } set { this._awsAccountId = value; } } // Check to see if AwsAccountId property is set internal bool IsSetAwsAccountId() { return this._awsAccountId != null; } /// /// Gets and sets the property CreatedTimestamp. /// /// The Amazon Chime account creation timestamp, in ISO 8601 format. /// /// public DateTime CreatedTimestamp { get { return this._createdTimestamp.GetValueOrDefault(); } set { this._createdTimestamp = value; } } // Check to see if CreatedTimestamp property is set internal bool IsSetCreatedTimestamp() { return this._createdTimestamp.HasValue; } /// /// Gets and sets the property DefaultLicense. /// /// The default license for the Amazon Chime account. /// /// public License DefaultLicense { get { return this._defaultLicense; } set { this._defaultLicense = value; } } // Check to see if DefaultLicense property is set internal bool IsSetDefaultLicense() { return this._defaultLicense != null; } /// /// Gets and sets the property Name. /// /// The Amazon Chime account name. /// /// [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property SigninDelegateGroups. /// /// The sign-in delegate groups associated with the account. /// /// public List SigninDelegateGroups { get { return this._signinDelegateGroups; } set { this._signinDelegateGroups = value; } } // Check to see if SigninDelegateGroups property is set internal bool IsSetSigninDelegateGroups() { return this._signinDelegateGroups != null && this._signinDelegateGroups.Count > 0; } /// /// Gets and sets the property SupportedLicenses. /// /// Supported licenses for the Amazon Chime account. /// /// public List SupportedLicenses { get { return this._supportedLicenses; } set { this._supportedLicenses = value; } } // Check to see if SupportedLicenses property is set internal bool IsSetSupportedLicenses() { return this._supportedLicenses != null && this._supportedLicenses.Count > 0; } } }