repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// You don't have permissions to perform the requested operation.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AccessDeniedException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new AccessDeniedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public AccessDeniedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AccessDeniedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="innerException"></param>
public AccessDeniedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AccessDeniedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AccessDeniedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the AccessDeniedException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected AccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.Code = (ErrorCode)info.GetValue("Code", typeof(ErrorCode));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("Code", this.Code);
}
#endif
/// <summary>
/// Gets and sets the property Code.
/// </summary>
public ErrorCode Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
}
}
| 142 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The Amazon Chime account details. An AWS account can have multiple Amazon Chime accounts.
/// </summary>
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<SigninDelegateGroup> _signinDelegateGroups = new List<SigninDelegateGroup>();
private List<string> _supportedLicenses = new List<string>();
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property AccountStatus.
/// <para>
/// The status of the account.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property AccountType.
/// <para>
/// The Amazon Chime account type. For more information about different account types,
/// see <a href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
/// Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration Guide</i>.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property AwsAccountId.
/// <para>
/// The AWS account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The Amazon Chime account creation timestamp, in ISO 8601 format.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property DefaultLicense.
/// <para>
/// The default license for the Amazon Chime account.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The Amazon Chime account name.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property SigninDelegateGroups.
/// <para>
/// The sign-in delegate groups associated with the account.
/// </para>
/// </summary>
public List<SigninDelegateGroup> 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;
}
/// <summary>
/// Gets and sets the property SupportedLicenses.
/// <para>
/// Supported licenses for the Amazon Chime account.
/// </para>
/// </summary>
public List<string> 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;
}
}
}
| 214 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Settings related to the Amazon Chime account. This includes settings that start or
/// stop remote control of shared screens, or start or stop the dial-out option in the
/// Amazon Chime web application. For more information about these settings, see <a href="https://docs.aws.amazon.com/chime/latest/ag/policies.html">Use
/// the Policies Page</a> in the <i>Amazon Chime Administration Guide</i>.
/// </summary>
public partial class AccountSettings
{
private bool? _disableRemoteControl;
private bool? _enableDialOut;
/// <summary>
/// Gets and sets the property DisableRemoteControl.
/// <para>
/// Setting that stops or starts remote control of shared screens during meetings.
/// </para>
/// </summary>
public bool DisableRemoteControl
{
get { return this._disableRemoteControl.GetValueOrDefault(); }
set { this._disableRemoteControl = value; }
}
// Check to see if DisableRemoteControl property is set
internal bool IsSetDisableRemoteControl()
{
return this._disableRemoteControl.HasValue;
}
/// <summary>
/// Gets and sets the property EnableDialOut.
/// <para>
/// Setting that allows meeting participants to choose the <b>Call me at a phone number</b>
/// option. For more information, see <a href="https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html">Join
/// a Meeting without the Amazon Chime App</a>.
/// </para>
/// </summary>
public bool EnableDialOut
{
get { return this._enableDialOut.GetValueOrDefault(); }
set { this._enableDialOut = value; }
}
// Check to see if EnableDialOut property is set
internal bool IsSetEnableDialOut()
{
return this._enableDialOut.HasValue;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// A validated address.
/// </summary>
public partial class Address
{
private string _city;
private string _country;
private string _postalCode;
private string _postalCodePlus4;
private string _postDirectional;
private string _preDirectional;
private string _state;
private string _streetName;
private string _streetNumber;
private string _streetSuffix;
/// <summary>
/// Gets and sets the property City.
/// <para>
/// The city of an address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string City
{
get { return this._city; }
set { this._city = value; }
}
// Check to see if City property is set
internal bool IsSetCity()
{
return this._city != null;
}
/// <summary>
/// Gets and sets the property Country.
/// <para>
/// The country of an address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string Country
{
get { return this._country; }
set { this._country = value; }
}
// Check to see if Country property is set
internal bool IsSetCountry()
{
return this._country != null;
}
/// <summary>
/// Gets and sets the property PostalCode.
/// <para>
/// The postal code of an address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PostalCode
{
get { return this._postalCode; }
set { this._postalCode = value; }
}
// Check to see if PostalCode property is set
internal bool IsSetPostalCode()
{
return this._postalCode != null;
}
/// <summary>
/// Gets and sets the property PostalCodePlus4.
/// <para>
/// The Zip + 4 or postal code + 4 of an address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PostalCodePlus4
{
get { return this._postalCodePlus4; }
set { this._postalCodePlus4 = value; }
}
// Check to see if PostalCodePlus4 property is set
internal bool IsSetPostalCodePlus4()
{
return this._postalCodePlus4 != null;
}
/// <summary>
/// Gets and sets the property PostDirectional.
/// <para>
/// An address suffix location, such as the <code>S. Unit A</code> in <code>Central Park
/// S. Unit A</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PostDirectional
{
get { return this._postDirectional; }
set { this._postDirectional = value; }
}
// Check to see if PostDirectional property is set
internal bool IsSetPostDirectional()
{
return this._postDirectional != null;
}
/// <summary>
/// Gets and sets the property PreDirectional.
/// <para>
/// An address prefix location, such as the <code>N</code> in <code>N. Third St.</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PreDirectional
{
get { return this._preDirectional; }
set { this._preDirectional = value; }
}
// Check to see if PreDirectional property is set
internal bool IsSetPreDirectional()
{
return this._preDirectional != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of an address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
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;
}
/// <summary>
/// Gets and sets the property StreetName.
/// <para>
/// The address street, such as <code>8th Avenue</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StreetName
{
get { return this._streetName; }
set { this._streetName = value; }
}
// Check to see if StreetName property is set
internal bool IsSetStreetName()
{
return this._streetName != null;
}
/// <summary>
/// Gets and sets the property StreetNumber.
/// <para>
/// The numeric portion of an address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StreetNumber
{
get { return this._streetNumber; }
set { this._streetNumber = value; }
}
// Check to see if StreetNumber property is set
internal bool IsSetStreetNumber()
{
return this._streetNumber != null;
}
/// <summary>
/// Gets and sets the property StreetSuffix.
/// <para>
/// The address suffix, such as the <code>N</code> in <code>8th Avenue N</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StreetSuffix
{
get { return this._streetSuffix; }
set { this._streetSuffix = value; }
}
// Check to see if StreetSuffix property is set
internal bool IsSetStreetSuffix()
{
return this._streetSuffix != null;
}
}
}
| 239 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The Alexa for Business metadata associated with an Amazon Chime user, used to integrate
/// Alexa for Business with a device.
/// </summary>
public partial class AlexaForBusinessMetadata
{
private string _alexaForBusinessRoomArn;
private bool? _isAlexaForBusinessEnabled;
/// <summary>
/// Gets and sets the property AlexaForBusinessRoomArn.
/// <para>
/// The ARN of the room resource.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string AlexaForBusinessRoomArn
{
get { return this._alexaForBusinessRoomArn; }
set { this._alexaForBusinessRoomArn = value; }
}
// Check to see if AlexaForBusinessRoomArn property is set
internal bool IsSetAlexaForBusinessRoomArn()
{
return this._alexaForBusinessRoomArn != null;
}
/// <summary>
/// Gets and sets the property IsAlexaForBusinessEnabled.
/// <para>
/// Starts or stops Alexa for Business.
/// </para>
/// </summary>
public bool IsAlexaForBusinessEnabled
{
get { return this._isAlexaForBusinessEnabled.GetValueOrDefault(); }
set { this._isAlexaForBusinessEnabled = value; }
}
// Check to see if IsAlexaForBusinessEnabled property is set
internal bool IsSetIsAlexaForBusinessEnabled()
{
return this._isAlexaForBusinessEnabled.HasValue;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 Amazon.Runtime;
namespace Amazon.Chime
{
/// <summary>
/// Base class for Chime operation requests.
/// </summary>
public partial class AmazonChimeRequest : AmazonWebServiceRequest
{
}
}
| 30 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of an <code>AppInstance</code>, an instance of an Amazon Chime SDK messaging
/// application.
/// </summary>
public partial class AppInstance
{
private string _appInstanceArn;
private DateTime? _createdTimestamp;
private DateTime? _lastUpdatedTimestamp;
private string _metadata;
private string _name;
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The ARN of the messaging instance.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which an <code>AppInstance</code> was created. In epoch milliseconds.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property LastUpdatedTimestamp.
/// <para>
/// The time an <code>AppInstance</code> was last updated. In epoch milliseconds.
/// </para>
/// </summary>
public DateTime LastUpdatedTimestamp
{
get { return this._lastUpdatedTimestamp.GetValueOrDefault(); }
set { this._lastUpdatedTimestamp = value; }
}
// Check to see if LastUpdatedTimestamp property is set
internal bool IsSetLastUpdatedTimestamp()
{
return this._lastUpdatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of an <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of an <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=256)]
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;
}
}
}
| 137 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of an <code>AppInstanceAdmin</code>.
/// </summary>
public partial class AppInstanceAdmin
{
private Identity _admin;
private string _appInstanceArn;
private DateTime? _createdTimestamp;
/// <summary>
/// Gets and sets the property Admin.
/// <para>
/// The <code>AppInstanceAdmin</code> data.
/// </para>
/// </summary>
public Identity Admin
{
get { return this._admin; }
set { this._admin = value; }
}
// Check to see if Admin property is set
internal bool IsSetAdmin()
{
return this._admin != null;
}
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The ARN of the <code>AppInstance</code> for which the user is an administrator.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which an administrator was created.
/// </para>
/// </summary>
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;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of an <code>AppInstanceAdmin</code>.
/// </summary>
public partial class AppInstanceAdminSummary
{
private Identity _admin;
/// <summary>
/// Gets and sets the property Admin.
/// <para>
/// The details of the <code>AppInstanceAdmin</code>.
/// </para>
/// </summary>
public Identity Admin
{
get { return this._admin; }
set { this._admin = value; }
}
// Check to see if Admin property is set
internal bool IsSetAdmin()
{
return this._admin != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of the data-retention settings for an <code>AppInstance</code>.
/// </summary>
public partial class AppInstanceRetentionSettings
{
private ChannelRetentionSettings _channelRetentionSettings;
/// <summary>
/// Gets and sets the property ChannelRetentionSettings.
/// <para>
/// The length of time in days to retain the messages in a channel.
/// </para>
/// </summary>
public ChannelRetentionSettings ChannelRetentionSettings
{
get { return this._channelRetentionSettings; }
set { this._channelRetentionSettings = value; }
}
// Check to see if ChannelRetentionSettings property is set
internal bool IsSetChannelRetentionSettings()
{
return this._channelRetentionSettings != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of the streaming configuration of an <code>AppInstance</code>.
/// </summary>
public partial class AppInstanceStreamingConfiguration
{
private AppInstanceDataType _appInstanceDataType;
private string _resourceArn;
/// <summary>
/// Gets and sets the property AppInstanceDataType.
/// <para>
/// The type of data to be streamed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AppInstanceDataType AppInstanceDataType
{
get { return this._appInstanceDataType; }
set { this._appInstanceDataType = value; }
}
// Check to see if AppInstanceDataType property is set
internal bool IsSetAppInstanceDataType()
{
return this._appInstanceDataType != null;
}
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The resource ARN.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=1024)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the data for an <code>AppInstance</code>.
/// </summary>
public partial class AppInstanceSummary
{
private string _appInstanceArn;
private string _metadata;
private string _name;
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The <code>AppInstance</code> ARN.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=256)]
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;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of an <code>AppInstanceUser</code>.
/// </summary>
public partial class AppInstanceUser
{
private string _appInstanceUserArn;
private DateTime? _createdTimestamp;
private DateTime? _lastUpdatedTimestamp;
private string _metadata;
private string _name;
/// <summary>
/// Gets and sets the property AppInstanceUserArn.
/// <para>
/// The ARN of the <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceUserArn
{
get { return this._appInstanceUserArn; }
set { this._appInstanceUserArn = value; }
}
// Check to see if AppInstanceUserArn property is set
internal bool IsSetAppInstanceUserArn()
{
return this._appInstanceUserArn != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the <code>AppInstanceUser</code> was created.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property LastUpdatedTimestamp.
/// <para>
/// The time at which the <code>AppInstanceUser</code> was last updated.
/// </para>
/// </summary>
public DateTime LastUpdatedTimestamp
{
get { return this._lastUpdatedTimestamp.GetValueOrDefault(); }
set { this._lastUpdatedTimestamp = value; }
}
// Check to see if LastUpdatedTimestamp property is set
internal bool IsSetLastUpdatedTimestamp()
{
return this._lastUpdatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=100)]
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;
}
}
}
| 136 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the membership details of an <code>AppInstanceUser</code>.
/// </summary>
public partial class AppInstanceUserMembershipSummary
{
private DateTime? _readMarkerTimestamp;
private ChannelMembershipType _type;
/// <summary>
/// Gets and sets the property ReadMarkerTimestamp.
/// <para>
/// The time at which a message was last read.
/// </para>
/// </summary>
public DateTime ReadMarkerTimestamp
{
get { return this._readMarkerTimestamp.GetValueOrDefault(); }
set { this._readMarkerTimestamp = value; }
}
// Check to see if ReadMarkerTimestamp property is set
internal bool IsSetReadMarkerTimestamp()
{
return this._readMarkerTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of <code>ChannelMembership</code>.
/// </para>
/// </summary>
public ChannelMembershipType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of an <code>AppInstanceUser</code>.
/// </summary>
public partial class AppInstanceUserSummary
{
private string _appInstanceUserArn;
private string _metadata;
private string _name;
/// <summary>
/// Gets and sets the property AppInstanceUserArn.
/// <para>
/// The ARN of the <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceUserArn
{
get { return this._appInstanceUserArn; }
set { this._appInstanceUserArn = value; }
}
// Check to see if AppInstanceUserArn property is set
internal bool IsSetAppInstanceUserArn()
{
return this._appInstanceUserArn != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of an <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=100)]
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;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The configuration for the artifacts.
/// </summary>
public partial class ArtifactsConfiguration
{
private AudioArtifactsConfiguration _audio;
private ContentArtifactsConfiguration _content;
private VideoArtifactsConfiguration _video;
/// <summary>
/// Gets and sets the property Audio.
/// <para>
/// The configuration for the audio artifacts.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AudioArtifactsConfiguration Audio
{
get { return this._audio; }
set { this._audio = value; }
}
// Check to see if Audio property is set
internal bool IsSetAudio()
{
return this._audio != null;
}
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The configuration for the content artifacts.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ContentArtifactsConfiguration Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property Video.
/// <para>
/// The configuration for the video artifacts.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VideoArtifactsConfiguration Video
{
get { return this._video; }
set { this._video = value; }
}
// Check to see if Video property is set
internal bool IsSetVideo()
{
return this._video != null;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the AssociatePhoneNumbersWithVoiceConnectorGroup operation.
/// Associates phone numbers with the specified Amazon Chime Voice Connector group.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_voice-chime_AssociatePhoneNumbersWithVoiceConnectorGroup.html">AssociatePhoneNumbersWithVoiceConnectorGroup</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class AssociatePhoneNumbersWithVoiceConnectorGroupRequest : AmazonChimeRequest
{
private List<string> _e164PhoneNumbers = new List<string>();
private bool? _forceAssociate;
private string _voiceConnectorGroupId;
/// <summary>
/// Gets and sets the property E164PhoneNumbers.
/// <para>
/// List of phone numbers, in E.164 format.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> E164PhoneNumbers
{
get { return this._e164PhoneNumbers; }
set { this._e164PhoneNumbers = value; }
}
// Check to see if E164PhoneNumbers property is set
internal bool IsSetE164PhoneNumbers()
{
return this._e164PhoneNumbers != null && this._e164PhoneNumbers.Count > 0;
}
/// <summary>
/// Gets and sets the property ForceAssociate.
/// <para>
/// If true, associates the provided phone numbers with the provided Amazon Chime Voice
/// Connector Group and removes any previously existing associations. If false, does not
/// associate any phone numbers that have previously existing associations.
/// </para>
/// </summary>
public bool ForceAssociate
{
get { return this._forceAssociate.GetValueOrDefault(); }
set { this._forceAssociate = value; }
}
// Check to see if ForceAssociate property is set
internal bool IsSetForceAssociate()
{
return this._forceAssociate.HasValue;
}
/// <summary>
/// Gets and sets the property VoiceConnectorGroupId.
/// <para>
/// The Amazon Chime Voice Connector group ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string VoiceConnectorGroupId
{
get { return this._voiceConnectorGroupId; }
set { this._voiceConnectorGroupId = value; }
}
// Check to see if VoiceConnectorGroupId property is set
internal bool IsSetVoiceConnectorGroupId()
{
return this._voiceConnectorGroupId != null;
}
}
}
| 114 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the AssociatePhoneNumbersWithVoiceConnectorGroup operation.
/// </summary>
public partial class AssociatePhoneNumbersWithVoiceConnectorGroupResponse : AmazonWebServiceResponse
{
private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>();
/// <summary>
/// Gets and sets the property PhoneNumberErrors.
/// <para>
/// If the action fails for one or more of the phone numbers in the request, a list of
/// the phone numbers is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<PhoneNumberError> PhoneNumberErrors
{
get { return this._phoneNumberErrors; }
set { this._phoneNumberErrors = value; }
}
// Check to see if PhoneNumberErrors property is set
internal bool IsSetPhoneNumberErrors()
{
return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the AssociatePhoneNumbersWithVoiceConnector operation.
/// Associates phone numbers with the specified Amazon Chime Voice Connector.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_voice-chime_AssociatePhoneNumbersWithVoiceConnector.html">AssociatePhoneNumbersWithVoiceConnector</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class AssociatePhoneNumbersWithVoiceConnectorRequest : AmazonChimeRequest
{
private List<string> _e164PhoneNumbers = new List<string>();
private bool? _forceAssociate;
private string _voiceConnectorId;
/// <summary>
/// Gets and sets the property E164PhoneNumbers.
/// <para>
/// List of phone numbers, in E.164 format.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> E164PhoneNumbers
{
get { return this._e164PhoneNumbers; }
set { this._e164PhoneNumbers = value; }
}
// Check to see if E164PhoneNumbers property is set
internal bool IsSetE164PhoneNumbers()
{
return this._e164PhoneNumbers != null && this._e164PhoneNumbers.Count > 0;
}
/// <summary>
/// Gets and sets the property ForceAssociate.
/// <para>
/// If true, associates the provided phone numbers with the provided Amazon Chime Voice
/// Connector and removes any previously existing associations. If false, does not associate
/// any phone numbers that have previously existing associations.
/// </para>
/// </summary>
public bool ForceAssociate
{
get { return this._forceAssociate.GetValueOrDefault(); }
set { this._forceAssociate = value; }
}
// Check to see if ForceAssociate property is set
internal bool IsSetForceAssociate()
{
return this._forceAssociate.HasValue;
}
/// <summary>
/// Gets and sets the property VoiceConnectorId.
/// <para>
/// The Amazon Chime Voice Connector ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string VoiceConnectorId
{
get { return this._voiceConnectorId; }
set { this._voiceConnectorId = value; }
}
// Check to see if VoiceConnectorId property is set
internal bool IsSetVoiceConnectorId()
{
return this._voiceConnectorId != null;
}
}
}
| 114 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the AssociatePhoneNumbersWithVoiceConnector operation.
/// </summary>
public partial class AssociatePhoneNumbersWithVoiceConnectorResponse : AmazonWebServiceResponse
{
private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>();
/// <summary>
/// Gets and sets the property PhoneNumberErrors.
/// <para>
/// If the action fails for one or more of the phone numbers in the request, a list of
/// the phone numbers is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<PhoneNumberError> PhoneNumberErrors
{
get { return this._phoneNumberErrors; }
set { this._phoneNumberErrors = value; }
}
// Check to see if PhoneNumberErrors property is set
internal bool IsSetPhoneNumberErrors()
{
return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the AssociatePhoneNumberWithUser operation.
/// Associates a phone number with the specified Amazon Chime user.
/// </summary>
public partial class AssociatePhoneNumberWithUserRequest : AmazonChimeRequest
{
private string _accountId;
private string _e164PhoneNumber;
private string _userId;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property E164PhoneNumber.
/// <para>
/// The phone number, in E.164 format.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string E164PhoneNumber
{
get { return this._e164PhoneNumber; }
set { this._e164PhoneNumber = value; }
}
// Check to see if E164PhoneNumber property is set
internal bool IsSetE164PhoneNumber()
{
return this._e164PhoneNumber != null;
}
/// <summary>
/// Gets and sets the property UserId.
/// <para>
/// The user ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the AssociatePhoneNumberWithUser operation.
/// </summary>
public partial class AssociatePhoneNumberWithUserResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the AssociateSigninDelegateGroupsWithAccount operation.
/// Associates the specified sign-in delegate groups with the specified Amazon Chime account.
/// </summary>
public partial class AssociateSigninDelegateGroupsWithAccountRequest : AmazonChimeRequest
{
private string _accountId;
private List<SigninDelegateGroup> _signinDelegateGroups = new List<SigninDelegateGroup>();
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property SigninDelegateGroups.
/// <para>
/// The sign-in delegate groups.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<SigninDelegateGroup> 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;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the AssociateSigninDelegateGroupsWithAccount operation.
/// </summary>
public partial class AssociateSigninDelegateGroupsWithAccountResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// An Amazon Chime SDK meeting attendee. Includes a unique <code>AttendeeId</code> and
/// <code>JoinToken</code> . The <code>JoinToken</code> allows a client to authenticate
/// and join as the specified attendee. The <code>JoinToken</code> expires when the meeting
/// ends or when <a>DeleteAttendee</a> is called. After that, the attendee is unable to
/// join the meeting.
///
///
/// <para>
/// We recommend securely transferring each <code>JoinToken</code> from your server application
/// to the client so that no other client has access to the token except for the one authorized
/// to represent the attendee.
/// </para>
/// </summary>
public partial class Attendee
{
private string _attendeeId;
private string _externalUserId;
private string _joinToken;
/// <summary>
/// Gets and sets the property AttendeeId.
/// <para>
/// The Amazon Chime SDK attendee ID.
/// </para>
/// </summary>
public string AttendeeId
{
get { return this._attendeeId; }
set { this._attendeeId = value; }
}
// Check to see if AttendeeId property is set
internal bool IsSetAttendeeId()
{
return this._attendeeId != null;
}
/// <summary>
/// Gets and sets the property ExternalUserId.
/// <para>
/// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to
/// an identity managed by a builder application.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ExternalUserId
{
get { return this._externalUserId; }
set { this._externalUserId = value; }
}
// Check to see if ExternalUserId property is set
internal bool IsSetExternalUserId()
{
return this._externalUserId != null;
}
/// <summary>
/// Gets and sets the property JoinToken.
/// <para>
/// The join token used by the Amazon Chime SDK attendee.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=2048)]
public string JoinToken
{
get { return this._joinToken; }
set { this._joinToken = value; }
}
// Check to see if JoinToken property is set
internal bool IsSetJoinToken()
{
return this._joinToken != null;
}
}
}
| 109 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The audio artifact configuration object.
/// </summary>
public partial class AudioArtifactsConfiguration
{
private AudioMuxType _muxType;
/// <summary>
/// Gets and sets the property MuxType.
/// <para>
/// The MUX type of the audio artifact configuration object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AudioMuxType MuxType
{
get { return this._muxType; }
set { this._muxType = value; }
}
// Check to see if MuxType property is set
internal bool IsSetMuxType()
{
return this._muxType != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The input parameters don't match the service's restrictions.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class BadRequestException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new BadRequestException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public BadRequestException(string message)
: base(message) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public BadRequestException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="innerException"></param>
public BadRequestException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the BadRequestException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.Code = (ErrorCode)info.GetValue("Code", typeof(ErrorCode));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("Code", this.Code);
}
#endif
/// <summary>
/// Gets and sets the property Code.
/// </summary>
public ErrorCode Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
}
}
| 142 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The membership information, including member ARNs, the channel ARN, and membership
/// types.
/// </summary>
public partial class BatchChannelMemberships
{
private string _channelArn;
private Identity _invitedBy;
private List<Identity> _members = new List<Identity>();
private ChannelMembershipType _type;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel to which you're adding users.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property InvitedBy.
/// <para>
/// The identifier of the member who invited another member.
/// </para>
/// </summary>
public Identity InvitedBy
{
get { return this._invitedBy; }
set { this._invitedBy = value; }
}
// Check to see if InvitedBy property is set
internal bool IsSetInvitedBy()
{
return this._invitedBy != null;
}
/// <summary>
/// Gets and sets the property Members.
/// <para>
/// The users successfully added to the request.
/// </para>
/// </summary>
public List<Identity> Members
{
get { return this._members; }
set { this._members = value; }
}
// Check to see if Members property is set
internal bool IsSetMembers()
{
return this._members != null && this._members.Count > 0;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The membership types set for the channel users.
/// </para>
/// </summary>
public ChannelMembershipType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 116 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchCreateAttendee operation.
/// Creates up to 100 new attendees for an active Amazon Chime SDK meeting.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_BatchCreateAttendee.html">BatchCreateAttendee</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// <para>
/// For more information about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
/// the Amazon Chime SDK</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </summary>
public partial class BatchCreateAttendeeRequest : AmazonChimeRequest
{
private List<CreateAttendeeRequestItem> _attendees = new List<CreateAttendeeRequestItem>();
private string _meetingId;
/// <summary>
/// Gets and sets the property Attendees.
/// <para>
/// The request containing the attendees to create.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<CreateAttendeeRequestItem> Attendees
{
get { return this._attendees; }
set { this._attendees = value; }
}
// Check to see if Attendees property is set
internal bool IsSetAttendees()
{
return this._attendees != null && this._attendees.Count > 0;
}
/// <summary>
/// Gets and sets the property MeetingId.
/// <para>
/// The Amazon Chime SDK meeting ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MeetingId
{
get { return this._meetingId; }
set { this._meetingId = value; }
}
// Check to see if MeetingId property is set
internal bool IsSetMeetingId()
{
return this._meetingId != null;
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchCreateAttendee operation.
/// </summary>
public partial class BatchCreateAttendeeResponse : AmazonWebServiceResponse
{
private List<Attendee> _attendees = new List<Attendee>();
private List<CreateAttendeeError> _errors = new List<CreateAttendeeError>();
/// <summary>
/// Gets and sets the property Attendees.
/// <para>
/// The attendee information, including attendees IDs and join tokens.
/// </para>
/// </summary>
public List<Attendee> Attendees
{
get { return this._attendees; }
set { this._attendees = value; }
}
// Check to see if Attendees property is set
internal bool IsSetAttendees()
{
return this._attendees != null && this._attendees.Count > 0;
}
/// <summary>
/// Gets and sets the property Errors.
/// <para>
/// If the action fails for one or more of the attendees in the request, a list of the
/// attendees is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<CreateAttendeeError> Errors
{
get { return this._errors; }
set { this._errors = value; }
}
// Check to see if Errors property is set
internal bool IsSetErrors()
{
return this._errors != null && this._errors.Count > 0;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// A list of failed member ARNs, error codes, and error messages.
/// </summary>
public partial class BatchCreateChannelMembershipError
{
private ErrorCode _errorCode;
private string _errorMessage;
private string _memberArn;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code.
/// </para>
/// </summary>
public ErrorCode ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property MemberArn.
/// <para>
/// The ARN of the member that the service couldn't add.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string MemberArn
{
get { return this._memberArn; }
set { this._memberArn = value; }
}
// Check to see if MemberArn property is set
internal bool IsSetMemberArn()
{
return this._memberArn != null;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchCreateChannelMembership operation.
/// Adds a specified number of users to a channel.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_BatchCreateChannelMembership.html">BatchCreateChannelMembership</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class BatchCreateChannelMembershipRequest : AmazonChimeRequest
{
private string _channelArn;
private string _chimeBearer;
private List<string> _memberArns = new List<string>();
private ChannelMembershipType _type;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel to which you're adding users.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property ChimeBearer.
/// <para>
/// The <code>AppInstanceUserArn</code> of the user that makes the API call.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChimeBearer
{
get { return this._chimeBearer; }
set { this._chimeBearer = value; }
}
// Check to see if ChimeBearer property is set
internal bool IsSetChimeBearer()
{
return this._chimeBearer != null;
}
/// <summary>
/// Gets and sets the property MemberArns.
/// <para>
/// The ARNs of the members you want to add to the channel.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=100)]
public List<string> MemberArns
{
get { return this._memberArns; }
set { this._memberArns = value; }
}
// Check to see if MemberArns property is set
internal bool IsSetMemberArns()
{
return this._memberArns != null && this._memberArns.Count > 0;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default
/// members are always returned as part of <code>ListChannelMemberships</code>. Hidden
/// members are only returned if the type filter in <code>ListChannelMemberships</code>
/// equals <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only
/// supported by moderators.
/// </para>
/// </summary>
public ChannelMembershipType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 136 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchCreateChannelMembership operation.
/// </summary>
public partial class BatchCreateChannelMembershipResponse : AmazonWebServiceResponse
{
private BatchChannelMemberships _batchChannelMemberships;
private List<BatchCreateChannelMembershipError> _errors = new List<BatchCreateChannelMembershipError>();
/// <summary>
/// Gets and sets the property BatchChannelMemberships.
/// <para>
/// The list of channel memberships in the response.
/// </para>
/// </summary>
public BatchChannelMemberships BatchChannelMemberships
{
get { return this._batchChannelMemberships; }
set { this._batchChannelMemberships = value; }
}
// Check to see if BatchChannelMemberships property is set
internal bool IsSetBatchChannelMemberships()
{
return this._batchChannelMemberships != null;
}
/// <summary>
/// Gets and sets the property Errors.
/// <para>
/// If the action fails for one or more of the memberships in the request, a list of the
/// memberships is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<BatchCreateChannelMembershipError> Errors
{
get { return this._errors; }
set { this._errors = value; }
}
// Check to see if Errors property is set
internal bool IsSetErrors()
{
return this._errors != null && this._errors.Count > 0;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchCreateRoomMembership operation.
/// Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members
/// can be users or bots. The member role designates whether the member is a chat room
/// administrator or a general chat room member.
/// </summary>
public partial class BatchCreateRoomMembershipRequest : AmazonChimeRequest
{
private string _accountId;
private List<MembershipItem> _membershipItemList = new List<MembershipItem>();
private string _roomId;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property MembershipItemList.
/// <para>
/// The list of membership items.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=50)]
public List<MembershipItem> MembershipItemList
{
get { return this._membershipItemList; }
set { this._membershipItemList = value; }
}
// Check to see if MembershipItemList property is set
internal bool IsSetMembershipItemList()
{
return this._membershipItemList != null && this._membershipItemList.Count > 0;
}
/// <summary>
/// Gets and sets the property RoomId.
/// <para>
/// The room ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string RoomId
{
get { return this._roomId; }
set { this._roomId = value; }
}
// Check to see if RoomId property is set
internal bool IsSetRoomId()
{
return this._roomId != null;
}
}
}
| 101 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchCreateRoomMembership operation.
/// </summary>
public partial class BatchCreateRoomMembershipResponse : AmazonWebServiceResponse
{
private List<MemberError> _errors = new List<MemberError>();
/// <summary>
/// Gets and sets the property Errors.
/// <para>
/// If the action fails for one or more of the member IDs in the request, a list of the
/// member IDs is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<MemberError> Errors
{
get { return this._errors; }
set { this._errors = value; }
}
// Check to see if Errors property is set
internal bool IsSetErrors()
{
return this._errors != null && this._errors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchDeletePhoneNumber operation.
/// Moves phone numbers into the <b>Deletion queue</b>. Phone numbers must be disassociated
/// from any users or Amazon Chime Voice Connectors before they can be deleted.
///
///
/// <para>
/// Phone numbers remain in the <b>Deletion queue</b> for 7 days before they are deleted
/// permanently.
/// </para>
/// </summary>
public partial class BatchDeletePhoneNumberRequest : AmazonChimeRequest
{
private List<string> _phoneNumberIds = new List<string>();
/// <summary>
/// Gets and sets the property PhoneNumberIds.
/// <para>
/// List of phone number IDs.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1)]
public List<string> PhoneNumberIds
{
get { return this._phoneNumberIds; }
set { this._phoneNumberIds = value; }
}
// Check to see if PhoneNumberIds property is set
internal bool IsSetPhoneNumberIds()
{
return this._phoneNumberIds != null && this._phoneNumberIds.Count > 0;
}
}
}
| 66 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchDeletePhoneNumber operation.
/// </summary>
public partial class BatchDeletePhoneNumberResponse : AmazonWebServiceResponse
{
private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>();
/// <summary>
/// Gets and sets the property PhoneNumberErrors.
/// <para>
/// If the action fails for one or more of the phone numbers in the request, a list of
/// the phone numbers is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<PhoneNumberError> PhoneNumberErrors
{
get { return this._phoneNumberErrors; }
set { this._phoneNumberErrors = value; }
}
// Check to see if PhoneNumberErrors property is set
internal bool IsSetPhoneNumberErrors()
{
return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchSuspendUser operation.
/// Suspends up to 50 users from a <code>Team</code> or <code>EnterpriseLWA</code> Amazon
/// Chime account. For more information about different account types, see <a href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
/// Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration Guide</i>.
///
///
/// <para>
/// Users suspended from a <code>Team</code> account are disassociated from the account,but
/// they can continue to use Amazon Chime as free users. To remove the suspension from
/// suspended <code>Team</code> account users, invite them to the <code>Team</code> account
/// again. You can use the <a>InviteUsers</a> action to do so.
/// </para>
///
/// <para>
/// Users suspended from an <code>EnterpriseLWA</code> account are immediately signed
/// out of Amazon Chime and can no longer sign in. To remove the suspension from suspended
/// <code>EnterpriseLWA</code> account users, use the <a>BatchUnsuspendUser</a> action.
/// </para>
///
/// <para>
/// To sign out users without suspending them, use the <a>LogoutUser</a> action.
/// </para>
/// </summary>
public partial class BatchSuspendUserRequest : AmazonChimeRequest
{
private string _accountId;
private List<string> _userIdList = new List<string>();
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property UserIdList.
/// <para>
/// The request containing the user IDs to suspend.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=50)]
public List<string> UserIdList
{
get { return this._userIdList; }
set { this._userIdList = value; }
}
// Check to see if UserIdList property is set
internal bool IsSetUserIdList()
{
return this._userIdList != null && this._userIdList.Count > 0;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchSuspendUser operation.
/// </summary>
public partial class BatchSuspendUserResponse : AmazonWebServiceResponse
{
private List<UserError> _userErrors = new List<UserError>();
/// <summary>
/// Gets and sets the property UserErrors.
/// <para>
/// If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs in the
/// request, a list of the user IDs is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<UserError> UserErrors
{
get { return this._userErrors; }
set { this._userErrors = value; }
}
// Check to see if UserErrors property is set
internal bool IsSetUserErrors()
{
return this._userErrors != null && this._userErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchUnsuspendUser operation.
/// Removes the suspension from up to 50 previously suspended users for the specified
/// Amazon Chime <code>EnterpriseLWA</code> account. Only users on <code>EnterpriseLWA</code>
/// accounts can be unsuspended using this action. For more information about different
/// account types, see <a href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">
/// Managing Your Amazon Chime Accounts </a> in the account types, in the <i>Amazon Chime
/// Administration Guide</i>.
///
///
/// <para>
/// Previously suspended users who are unsuspended using this action are returned to <code>Registered</code>
/// status. Users who are not previously suspended are ignored.
/// </para>
/// </summary>
public partial class BatchUnsuspendUserRequest : AmazonChimeRequest
{
private string _accountId;
private List<string> _userIdList = new List<string>();
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property UserIdList.
/// <para>
/// The request containing the user IDs to unsuspend.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=50)]
public List<string> UserIdList
{
get { return this._userIdList; }
set { this._userIdList = value; }
}
// Check to see if UserIdList property is set
internal bool IsSetUserIdList()
{
return this._userIdList != null && this._userIdList.Count > 0;
}
}
}
| 90 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchUnsuspendUser operation.
/// </summary>
public partial class BatchUnsuspendUserResponse : AmazonWebServiceResponse
{
private List<UserError> _userErrors = new List<UserError>();
/// <summary>
/// Gets and sets the property UserErrors.
/// <para>
/// If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs in the
/// request, a list of the user IDs is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<UserError> UserErrors
{
get { return this._userErrors; }
set { this._userErrors = value; }
}
// Check to see if UserErrors property is set
internal bool IsSetUserErrors()
{
return this._userErrors != null && this._userErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchUpdatePhoneNumber operation.
/// Updates phone number product types or calling names. You can update one attribute
/// at a time for each <code>UpdatePhoneNumberRequestItem</code>. For example, you can
/// update the product type or the calling name.
///
///
/// <para>
/// For toll-free numbers, you cannot use the Amazon Chime Business Calling product type.
/// For numbers outside the U.S., you must use the Amazon Chime SIP Media Application
/// Dial-In product type.
/// </para>
///
/// <para>
/// Updates to outbound calling names can take up to 72 hours to complete. Pending updates
/// to outbound calling names must be complete before you can request another update.
/// </para>
/// </summary>
public partial class BatchUpdatePhoneNumberRequest : AmazonChimeRequest
{
private List<UpdatePhoneNumberRequestItem> _updatePhoneNumberRequestItems = new List<UpdatePhoneNumberRequestItem>();
/// <summary>
/// Gets and sets the property UpdatePhoneNumberRequestItems.
/// <para>
/// The request containing the phone number IDs and product types or calling names to
/// update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<UpdatePhoneNumberRequestItem> UpdatePhoneNumberRequestItems
{
get { return this._updatePhoneNumberRequestItems; }
set { this._updatePhoneNumberRequestItems = value; }
}
// Check to see if UpdatePhoneNumberRequestItems property is set
internal bool IsSetUpdatePhoneNumberRequestItems()
{
return this._updatePhoneNumberRequestItems != null && this._updatePhoneNumberRequestItems.Count > 0;
}
}
}
| 74 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchUpdatePhoneNumber operation.
/// </summary>
public partial class BatchUpdatePhoneNumberResponse : AmazonWebServiceResponse
{
private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>();
/// <summary>
/// Gets and sets the property PhoneNumberErrors.
/// <para>
/// If the action fails for one or more of the phone numbers in the request, a list of
/// the phone numbers is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<PhoneNumberError> PhoneNumberErrors
{
get { return this._phoneNumberErrors; }
set { this._phoneNumberErrors = value; }
}
// Check to see if PhoneNumberErrors property is set
internal bool IsSetPhoneNumberErrors()
{
return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the BatchUpdateUser operation.
/// Updates user details within the <a>UpdateUserRequestItem</a> object for up to 20 users
/// for the specified Amazon Chime account. Currently, only <code>LicenseType</code> updates
/// are supported for this action.
/// </summary>
public partial class BatchUpdateUserRequest : AmazonChimeRequest
{
private string _accountId;
private List<UpdateUserRequestItem> _updateUserRequestItems = new List<UpdateUserRequestItem>();
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property UpdateUserRequestItems.
/// <para>
/// The request containing the user IDs and details to update.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=20)]
public List<UpdateUserRequestItem> UpdateUserRequestItems
{
get { return this._updateUserRequestItems; }
set { this._updateUserRequestItems = value; }
}
// Check to see if UpdateUserRequestItems property is set
internal bool IsSetUpdateUserRequestItems()
{
return this._updateUserRequestItems != null && this._updateUserRequestItems.Count > 0;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the BatchUpdateUser operation.
/// </summary>
public partial class BatchUpdateUserResponse : AmazonWebServiceResponse
{
private List<UserError> _userErrors = new List<UserError>();
/// <summary>
/// Gets and sets the property UserErrors.
/// <para>
/// If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in the
/// request, a list of the user IDs is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<UserError> UserErrors
{
get { return this._userErrors; }
set { this._userErrors = value; }
}
// Check to see if UserErrors property is set
internal bool IsSetUserErrors()
{
return this._userErrors != null && this._userErrors.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// A resource that allows Enterprise account administrators to configure an interface
/// to receive events from Amazon Chime.
/// </summary>
public partial class Bot
{
private string _botEmail;
private string _botId;
private BotType _botType;
private DateTime? _createdTimestamp;
private bool? _disabled;
private string _displayName;
private string _securityToken;
private DateTime? _updatedTimestamp;
private string _userId;
/// <summary>
/// Gets and sets the property BotEmail.
/// <para>
/// The bot email address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string BotEmail
{
get { return this._botEmail; }
set { this._botEmail = value; }
}
// Check to see if BotEmail property is set
internal bool IsSetBotEmail()
{
return this._botEmail != null;
}
/// <summary>
/// Gets and sets the property BotId.
/// <para>
/// The bot ID.
/// </para>
/// </summary>
public string BotId
{
get { return this._botId; }
set { this._botId = value; }
}
// Check to see if BotId property is set
internal bool IsSetBotId()
{
return this._botId != null;
}
/// <summary>
/// Gets and sets the property BotType.
/// <para>
/// The bot type.
/// </para>
/// </summary>
public BotType BotType
{
get { return this._botType; }
set { this._botType = value; }
}
// Check to see if BotType property is set
internal bool IsSetBotType()
{
return this._botType != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The bot creation timestamp, in ISO 8601 format.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Disabled.
/// <para>
/// When true, the bot is stopped from running in your account.
/// </para>
/// </summary>
public bool Disabled
{
get { return this._disabled.GetValueOrDefault(); }
set { this._disabled = value; }
}
// Check to see if Disabled property is set
internal bool IsSetDisabled()
{
return this._disabled.HasValue;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The bot display name.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property SecurityToken.
/// <para>
/// The security token used to authenticate Amazon Chime with the outgoing event endpoint.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string SecurityToken
{
get { return this._securityToken; }
set { this._securityToken = value; }
}
// Check to see if SecurityToken property is set
internal bool IsSetSecurityToken()
{
return this._securityToken != null;
}
/// <summary>
/// Gets and sets the property UpdatedTimestamp.
/// <para>
/// The updated bot timestamp, in ISO 8601 format.
/// </para>
/// </summary>
public DateTime UpdatedTimestamp
{
get { return this._updatedTimestamp.GetValueOrDefault(); }
set { this._updatedTimestamp = value; }
}
// Check to see if UpdatedTimestamp property is set
internal bool IsSetUpdatedTimestamp()
{
return this._updatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property UserId.
/// <para>
/// The unique ID for the bot user.
/// </para>
/// </summary>
public string UserId
{
get { return this._userId; }
set { this._userId = value; }
}
// Check to see if UserId property is set
internal bool IsSetUserId()
{
return this._userId != null;
}
}
}
| 213 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The Amazon Chime Business Calling settings for the administrator's AWS account. Includes
/// any Amazon S3 buckets designated for storing call detail records.
/// </summary>
public partial class BusinessCallingSettings
{
private string _cdrBucket;
/// <summary>
/// Gets and sets the property CdrBucket.
/// <para>
/// The Amazon S3 bucket designated for call detail record storage.
/// </para>
/// </summary>
public string CdrBucket
{
get { return this._cdrBucket; }
set { this._cdrBucket = value; }
}
// Check to see if CdrBucket property is set
internal bool IsSetCdrBucket()
{
return this._cdrBucket != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// A suggested address.
/// </summary>
public partial class CandidateAddress
{
private string _city;
private string _country;
private string _postalCode;
private string _postalCodePlus4;
private string _state;
private string _streetInfo;
private string _streetNumber;
/// <summary>
/// Gets and sets the property City.
/// <para>
/// The city of a candidate address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string City
{
get { return this._city; }
set { this._city = value; }
}
// Check to see if City property is set
internal bool IsSetCity()
{
return this._city != null;
}
/// <summary>
/// Gets and sets the property Country.
/// <para>
/// The country of a candidate address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string Country
{
get { return this._country; }
set { this._country = value; }
}
// Check to see if Country property is set
internal bool IsSetCountry()
{
return this._country != null;
}
/// <summary>
/// Gets and sets the property PostalCode.
/// <para>
/// The postal code of a candidate address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PostalCode
{
get { return this._postalCode; }
set { this._postalCode = value; }
}
// Check to see if PostalCode property is set
internal bool IsSetPostalCode()
{
return this._postalCode != null;
}
/// <summary>
/// Gets and sets the property PostalCodePlus4.
/// <para>
/// The Zip + 4 or postal code + 4 of a candidate address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PostalCodePlus4
{
get { return this._postalCodePlus4; }
set { this._postalCodePlus4 = value; }
}
// Check to see if PostalCodePlus4 property is set
internal bool IsSetPostalCodePlus4()
{
return this._postalCodePlus4 != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of a candidate address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
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;
}
/// <summary>
/// Gets and sets the property StreetInfo.
/// <para>
/// The street information of a candidate address
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StreetInfo
{
get { return this._streetInfo; }
set { this._streetInfo = value; }
}
// Check to see if StreetInfo property is set
internal bool IsSetStreetInfo()
{
return this._streetInfo != null;
}
/// <summary>
/// Gets and sets the property StreetNumber.
/// <para>
/// The numeric portion of a candidate address.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StreetNumber
{
get { return this._streetNumber; }
set { this._streetNumber = value; }
}
// Check to see if StreetNumber property is set
internal bool IsSetStreetNumber()
{
return this._streetNumber != null;
}
}
}
| 178 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of a channel.
/// </summary>
public partial class Channel
{
private string _channelArn;
private Identity _createdBy;
private DateTime? _createdTimestamp;
private DateTime? _lastMessageTimestamp;
private DateTime? _lastUpdatedTimestamp;
private string _metadata;
private ChannelMode _mode;
private string _name;
private ChannelPrivacy _privacy;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property CreatedBy.
/// <para>
/// The <code>AppInstanceUser</code> who created the channel.
/// </para>
/// </summary>
public Identity CreatedBy
{
get { return this._createdBy; }
set { this._createdBy = value; }
}
// Check to see if CreatedBy property is set
internal bool IsSetCreatedBy()
{
return this._createdBy != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the <code>AppInstanceUser</code> created the channel.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property LastMessageTimestamp.
/// <para>
/// The time at which a member sent the last message in the channel.
/// </para>
/// </summary>
public DateTime LastMessageTimestamp
{
get { return this._lastMessageTimestamp.GetValueOrDefault(); }
set { this._lastMessageTimestamp = value; }
}
// Check to see if LastMessageTimestamp property is set
internal bool IsSetLastMessageTimestamp()
{
return this._lastMessageTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property LastUpdatedTimestamp.
/// <para>
/// The time at which a channel was last updated.
/// </para>
/// </summary>
public DateTime LastUpdatedTimestamp
{
get { return this._lastUpdatedTimestamp.GetValueOrDefault(); }
set { this._lastUpdatedTimestamp = value; }
}
// Check to see if LastUpdatedTimestamp property is set
internal bool IsSetLastUpdatedTimestamp()
{
return this._lastUpdatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The channel's metadata.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Mode.
/// <para>
/// The mode of the channel.
/// </para>
/// </summary>
public ChannelMode Mode
{
get { return this._mode; }
set { this._mode = value; }
}
// Check to see if Mode property is set
internal bool IsSetMode()
{
return this._mode != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the channel.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=256)]
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;
}
/// <summary>
/// Gets and sets the property Privacy.
/// <para>
/// The channel's privacy setting.
/// </para>
/// </summary>
public ChannelPrivacy Privacy
{
get { return this._privacy; }
set { this._privacy = value; }
}
// Check to see if Privacy property is set
internal bool IsSetPrivacy()
{
return this._privacy != null;
}
}
}
| 212 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of a channel ban.
/// </summary>
public partial class ChannelBan
{
private string _channelArn;
private Identity _createdBy;
private DateTime? _createdTimestamp;
private Identity _member;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel from which a member is being banned.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property CreatedBy.
/// <para>
/// The <code>AppInstanceUser</code> who created the ban.
/// </para>
/// </summary>
public Identity CreatedBy
{
get { return this._createdBy; }
set { this._createdBy = value; }
}
// Check to see if CreatedBy property is set
internal bool IsSetCreatedBy()
{
return this._createdBy != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the ban was created.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Member.
/// <para>
/// The member being banned from the channel.
/// </para>
/// </summary>
public Identity Member
{
get { return this._member; }
set { this._member = value; }
}
// Check to see if Member property is set
internal bool IsSetMember()
{
return this._member != null;
}
}
}
| 115 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of a <code>ChannelBan</code>.
/// </summary>
public partial class ChannelBanSummary
{
private Identity _member;
/// <summary>
/// Gets and sets the property Member.
/// <para>
/// The member being banned from a channel.
/// </para>
/// </summary>
public Identity Member
{
get { return this._member; }
set { this._member = value; }
}
// Check to see if Member property is set
internal bool IsSetMember()
{
return this._member != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of a channel member.
/// </summary>
public partial class ChannelMembership
{
private string _channelArn;
private DateTime? _createdTimestamp;
private Identity _invitedBy;
private DateTime? _lastUpdatedTimestamp;
private Identity _member;
private ChannelMembershipType _type;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the member's channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the channel membership was created.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property InvitedBy.
/// <para>
/// The identifier of the member who invited another member.
/// </para>
/// </summary>
public Identity InvitedBy
{
get { return this._invitedBy; }
set { this._invitedBy = value; }
}
// Check to see if InvitedBy property is set
internal bool IsSetInvitedBy()
{
return this._invitedBy != null;
}
/// <summary>
/// Gets and sets the property LastUpdatedTimestamp.
/// <para>
/// The time at which a channel membership was last updated.
/// </para>
/// </summary>
public DateTime LastUpdatedTimestamp
{
get { return this._lastUpdatedTimestamp.GetValueOrDefault(); }
set { this._lastUpdatedTimestamp = value; }
}
// Check to see if LastUpdatedTimestamp property is set
internal bool IsSetLastUpdatedTimestamp()
{
return this._lastUpdatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property Member.
/// <para>
/// The data of the channel member.
/// </para>
/// </summary>
public Identity Member
{
get { return this._member; }
set { this._member = value; }
}
// Check to see if Member property is set
internal bool IsSetMember()
{
return this._member != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The membership type set for the channel member.
/// </para>
/// </summary>
public ChannelMembershipType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 153 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the channel membership details of an <code>AppInstanceUser</code>.
/// </summary>
public partial class ChannelMembershipForAppInstanceUserSummary
{
private AppInstanceUserMembershipSummary _appInstanceUserMembershipSummary;
private ChannelSummary _channelSummary;
/// <summary>
/// Gets and sets the property AppInstanceUserMembershipSummary.
/// <para>
/// Summary of the membership details of an <code>AppInstanceUser</code>.
/// </para>
/// </summary>
public AppInstanceUserMembershipSummary AppInstanceUserMembershipSummary
{
get { return this._appInstanceUserMembershipSummary; }
set { this._appInstanceUserMembershipSummary = value; }
}
// Check to see if AppInstanceUserMembershipSummary property is set
internal bool IsSetAppInstanceUserMembershipSummary()
{
return this._appInstanceUserMembershipSummary != null;
}
/// <summary>
/// Gets and sets the property ChannelSummary.
/// <para>
/// Summary of the details of a <code>Channel</code>.
/// </para>
/// </summary>
public ChannelSummary ChannelSummary
{
get { return this._channelSummary; }
set { this._channelSummary = value; }
}
// Check to see if ChannelSummary property is set
internal bool IsSetChannelSummary()
{
return this._channelSummary != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of a <code>ChannelMembership</code>.
/// </summary>
public partial class ChannelMembershipSummary
{
private Identity _member;
/// <summary>
/// Gets and sets the property Member.
/// <para>
/// A member's summary data.
/// </para>
/// </summary>
public Identity Member
{
get { return this._member; }
set { this._member = value; }
}
// Check to see if Member property is set
internal bool IsSetMember()
{
return this._member != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of a message in a channel.
/// </summary>
public partial class ChannelMessage
{
private string _channelArn;
private string _content;
private DateTime? _createdTimestamp;
private DateTime? _lastEditedTimestamp;
private DateTime? _lastUpdatedTimestamp;
private string _messageId;
private string _metadata;
private ChannelMessagePersistenceType _persistence;
private bool? _redacted;
private Identity _sender;
private ChannelMessageType _type;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The message content.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=4096)]
public string Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the message was created.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property LastEditedTimestamp.
/// <para>
/// The time at which a message was edited.
/// </para>
/// </summary>
public DateTime LastEditedTimestamp
{
get { return this._lastEditedTimestamp.GetValueOrDefault(); }
set { this._lastEditedTimestamp = value; }
}
// Check to see if LastEditedTimestamp property is set
internal bool IsSetLastEditedTimestamp()
{
return this._lastEditedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property LastUpdatedTimestamp.
/// <para>
/// The time at which a message was updated.
/// </para>
/// </summary>
public DateTime LastUpdatedTimestamp
{
get { return this._lastUpdatedTimestamp.GetValueOrDefault(); }
set { this._lastUpdatedTimestamp = value; }
}
// Check to see if LastUpdatedTimestamp property is set
internal bool IsSetLastUpdatedTimestamp()
{
return this._lastUpdatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property MessageId.
/// <para>
/// The ID of a message.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string MessageId
{
get { return this._messageId; }
set { this._messageId = value; }
}
// Check to see if MessageId property is set
internal bool IsSetMessageId()
{
return this._messageId != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The message metadata.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Persistence.
/// <para>
/// The persistence setting for a channel message.
/// </para>
/// </summary>
public ChannelMessagePersistenceType Persistence
{
get { return this._persistence; }
set { this._persistence = value; }
}
// Check to see if Persistence property is set
internal bool IsSetPersistence()
{
return this._persistence != null;
}
/// <summary>
/// Gets and sets the property Redacted.
/// <para>
/// Hides the content of a message.
/// </para>
/// </summary>
public bool Redacted
{
get { return this._redacted.GetValueOrDefault(); }
set { this._redacted = value; }
}
// Check to see if Redacted property is set
internal bool IsSetRedacted()
{
return this._redacted.HasValue;
}
/// <summary>
/// Gets and sets the property Sender.
/// <para>
/// The message sender.
/// </para>
/// </summary>
public Identity Sender
{
get { return this._sender; }
set { this._sender = value; }
}
// Check to see if Sender property is set
internal bool IsSetSender()
{
return this._sender != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The message type.
/// </para>
/// </summary>
public ChannelMessageType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 251 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the messages in a <code>Channel</code>.
/// </summary>
public partial class ChannelMessageSummary
{
private string _content;
private DateTime? _createdTimestamp;
private DateTime? _lastEditedTimestamp;
private DateTime? _lastUpdatedTimestamp;
private string _messageId;
private string _metadata;
private bool? _redacted;
private Identity _sender;
private ChannelMessageType _type;
/// <summary>
/// Gets and sets the property Content.
/// <para>
/// The content of the message.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=4096)]
public string Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the message summary was created.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property LastEditedTimestamp.
/// <para>
/// The time at which a message was last edited.
/// </para>
/// </summary>
public DateTime LastEditedTimestamp
{
get { return this._lastEditedTimestamp.GetValueOrDefault(); }
set { this._lastEditedTimestamp = value; }
}
// Check to see if LastEditedTimestamp property is set
internal bool IsSetLastEditedTimestamp()
{
return this._lastEditedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property LastUpdatedTimestamp.
/// <para>
/// The time at which a message was last updated.
/// </para>
/// </summary>
public DateTime LastUpdatedTimestamp
{
get { return this._lastUpdatedTimestamp.GetValueOrDefault(); }
set { this._lastUpdatedTimestamp = value; }
}
// Check to see if LastUpdatedTimestamp property is set
internal bool IsSetLastUpdatedTimestamp()
{
return this._lastUpdatedTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property MessageId.
/// <para>
/// The ID of the message.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string MessageId
{
get { return this._messageId; }
set { this._messageId = value; }
}
// Check to see if MessageId property is set
internal bool IsSetMessageId()
{
return this._messageId != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the message.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Redacted.
/// <para>
/// Indicates whether a message was redacted.
/// </para>
/// </summary>
public bool Redacted
{
get { return this._redacted.GetValueOrDefault(); }
set { this._redacted = value; }
}
// Check to see if Redacted property is set
internal bool IsSetRedacted()
{
return this._redacted.HasValue;
}
/// <summary>
/// Gets and sets the property Sender.
/// <para>
/// The message sender.
/// </para>
/// </summary>
public Identity Sender
{
get { return this._sender; }
set { this._sender = value; }
}
// Check to see if Sender property is set
internal bool IsSetSender()
{
return this._sender != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of message.
/// </para>
/// </summary>
public ChannelMessageType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 212 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of a moderated channel.
/// </summary>
public partial class ChannelModeratedByAppInstanceUserSummary
{
private ChannelSummary _channelSummary;
/// <summary>
/// Gets and sets the property ChannelSummary.
/// <para>
/// Summary of the details of a <code>Channel</code>.
/// </para>
/// </summary>
public ChannelSummary ChannelSummary
{
get { return this._channelSummary; }
set { this._channelSummary = value; }
}
// Check to see if ChannelSummary property is set
internal bool IsSetChannelSummary()
{
return this._channelSummary != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of a channel moderator.
/// </summary>
public partial class ChannelModerator
{
private string _channelArn;
private Identity _createdBy;
private DateTime? _createdTimestamp;
private Identity _moderator;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the moderator's channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property CreatedBy.
/// <para>
/// The <code>AppInstanceUser</code> who created the moderator.
/// </para>
/// </summary>
public Identity CreatedBy
{
get { return this._createdBy; }
set { this._createdBy = value; }
}
// Check to see if CreatedBy property is set
internal bool IsSetCreatedBy()
{
return this._createdBy != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the moderator was created.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property Moderator.
/// <para>
/// The moderator's data.
/// </para>
/// </summary>
public Identity Moderator
{
get { return this._moderator; }
set { this._moderator = value; }
}
// Check to see if Moderator property is set
internal bool IsSetModerator()
{
return this._moderator != null;
}
}
}
| 115 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of a <code>ChannelModerator</code>.
/// </summary>
public partial class ChannelModeratorSummary
{
private Identity _moderator;
/// <summary>
/// Gets and sets the property Moderator.
/// <para>
/// The data for a moderator.
/// </para>
/// </summary>
public Identity Moderator
{
get { return this._moderator; }
set { this._moderator = value; }
}
// Check to see if Moderator property is set
internal bool IsSetModerator()
{
return this._moderator != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The details of the retention settings for a channel.
/// </summary>
public partial class ChannelRetentionSettings
{
private int? _retentionDays;
/// <summary>
/// Gets and sets the property RetentionDays.
/// <para>
/// The time in days to retain the messages in a channel.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5475)]
public int RetentionDays
{
get { return this._retentionDays.GetValueOrDefault(); }
set { this._retentionDays = value; }
}
// Check to see if RetentionDays property is set
internal bool IsSetRetentionDays()
{
return this._retentionDays.HasValue;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Summary of the details of a <code>Channel</code>.
/// </summary>
public partial class ChannelSummary
{
private string _channelArn;
private DateTime? _lastMessageTimestamp;
private string _metadata;
private ChannelMode _mode;
private string _name;
private ChannelPrivacy _privacy;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property LastMessageTimestamp.
/// <para>
/// The time at which the last message in a channel was sent.
/// </para>
/// </summary>
public DateTime LastMessageTimestamp
{
get { return this._lastMessageTimestamp.GetValueOrDefault(); }
set { this._lastMessageTimestamp = value; }
}
// Check to see if LastMessageTimestamp property is set
internal bool IsSetLastMessageTimestamp()
{
return this._lastMessageTimestamp.HasValue;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the channel.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Mode.
/// <para>
/// The mode of the channel.
/// </para>
/// </summary>
public ChannelMode Mode
{
get { return this._mode; }
set { this._mode = value; }
}
// Check to see if Mode property is set
internal bool IsSetMode()
{
return this._mode != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the channel.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=1, Max=256)]
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;
}
/// <summary>
/// Gets and sets the property Privacy.
/// <para>
/// The privacy setting of the channel.
/// </para>
/// </summary>
public ChannelPrivacy Privacy
{
get { return this._privacy; }
set { this._privacy = value; }
}
// Check to see if Privacy property is set
internal bool IsSetPrivacy()
{
return this._privacy != null;
}
}
}
| 155 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The configuration object of the Amazon Chime SDK meeting for a specified media capture
/// pipeline. <code>SourceType</code> must be <code>ChimeSdkMeeting</code>.
/// </summary>
public partial class ChimeSdkMeetingConfiguration
{
private ArtifactsConfiguration _artifactsConfiguration;
private SourceConfiguration _sourceConfiguration;
/// <summary>
/// Gets and sets the property ArtifactsConfiguration.
/// <para>
/// The configuration for the artifacts in an Amazon Chime SDK meeting.
/// </para>
/// </summary>
public ArtifactsConfiguration ArtifactsConfiguration
{
get { return this._artifactsConfiguration; }
set { this._artifactsConfiguration = value; }
}
// Check to see if ArtifactsConfiguration property is set
internal bool IsSetArtifactsConfiguration()
{
return this._artifactsConfiguration != null;
}
/// <summary>
/// Gets and sets the property SourceConfiguration.
/// <para>
/// The source configuration for a specified media capture pipeline.
/// </para>
/// </summary>
public SourceConfiguration SourceConfiguration
{
get { return this._sourceConfiguration; }
set { this._sourceConfiguration = value; }
}
// Check to see if SourceConfiguration property is set
internal bool IsSetSourceConfiguration()
{
return this._sourceConfiguration != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The request could not be processed because of conflict in the current state of the
/// resource.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ConflictException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new ConflictException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ConflictException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ConflictException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="innerException"></param>
public ConflictException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ConflictException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.Code = (ErrorCode)info.GetValue("Code", typeof(ErrorCode));
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
info.AddValue("Code", this.Code);
}
#endif
/// <summary>
/// Gets and sets the property Code.
/// </summary>
public ErrorCode Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
}
}
| 143 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The content artifact object.
/// </summary>
public partial class ContentArtifactsConfiguration
{
private ContentMuxType _muxType;
private ArtifactsState _state;
/// <summary>
/// Gets and sets the property MuxType.
/// <para>
/// The MUX type of the artifact configuration.
/// </para>
/// </summary>
public ContentMuxType MuxType
{
get { return this._muxType; }
set { this._muxType = value; }
}
// Check to see if MuxType property is set
internal bool IsSetMuxType()
{
return this._muxType != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// Indicates whether the content artifact is enabled or disabled.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ArtifactsState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The retention settings that determine how long to retain conversation messages for
/// an Amazon Chime Enterprise account.
/// </summary>
public partial class ConversationRetentionSettings
{
private int? _retentionDays;
/// <summary>
/// Gets and sets the property RetentionDays.
/// <para>
/// The number of days for which to retain conversation messages.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5475)]
public int RetentionDays
{
get { return this._retentionDays.GetValueOrDefault(); }
set { this._retentionDays = value; }
}
// Check to see if RetentionDays property is set
internal bool IsSetRetentionDays()
{
return this._retentionDays.HasValue;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateAccount operation.
/// Creates an Amazon Chime account under the administrator's AWS account. Only <code>Team</code>
/// account types are currently supported for this action. For more information about
/// different account types, see <a href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
/// Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration Guide</i>.
/// </summary>
public partial class CreateAccountRequest : AmazonChimeRequest
{
private string _name;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the Amazon Chime account.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=100)]
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;
}
}
}
| 62 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateAccount operation.
/// </summary>
public partial class CreateAccountResponse : AmazonWebServiceResponse
{
private Account _account;
/// <summary>
/// Gets and sets the property Account.
/// <para>
/// The Amazon Chime account details.
/// </para>
/// </summary>
public Account Account
{
get { return this._account; }
set { this._account = value; }
}
// Check to see if Account property is set
internal bool IsSetAccount()
{
return this._account != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateAppInstanceAdmin operation.
/// Promotes an <code>AppInstanceUser</code> to an <code>AppInstanceAdmin</code>. The
/// promoted user can perform the following actions.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_identity-chime_CreateAppInstanceAdmin.html">CreateAppInstanceAdmin</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important> <ul> <li>
/// <para>
/// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>.
/// </para>
/// </li> <li>
/// <para>
/// <code>DeleteChannelMessage</code> actions.
/// </para>
/// </li> </ul>
/// <para>
/// Only an <code>AppInstanceUser</code> can be promoted to an <code>AppInstanceAdmin</code>
/// role.
/// </para>
/// </summary>
public partial class CreateAppInstanceAdminRequest : AmazonChimeRequest
{
private string _appInstanceAdminArn;
private string _appInstanceArn;
/// <summary>
/// Gets and sets the property AppInstanceAdminArn.
/// <para>
/// The ARN of the administrator of the current <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string AppInstanceAdminArn
{
get { return this._appInstanceAdminArn; }
set { this._appInstanceAdminArn = value; }
}
// Check to see if AppInstanceAdminArn property is set
internal bool IsSetAppInstanceAdminArn()
{
return this._appInstanceAdminArn != null;
}
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The ARN of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
}
}
| 106 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateAppInstanceAdmin operation.
/// </summary>
public partial class CreateAppInstanceAdminResponse : AmazonWebServiceResponse
{
private Identity _appInstanceAdmin;
private string _appInstanceArn;
/// <summary>
/// Gets and sets the property AppInstanceAdmin.
/// <para>
/// The name and ARN of the admin for the <code>AppInstance</code>.
/// </para>
/// </summary>
public Identity AppInstanceAdmin
{
get { return this._appInstanceAdmin; }
set { this._appInstanceAdmin = value; }
}
// Check to see if AppInstanceAdmin property is set
internal bool IsSetAppInstanceAdmin()
{
return this._appInstanceAdmin != null;
}
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The ARN of the of the admin for the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateAppInstance operation.
/// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account.
/// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports
/// idempotency behavior as described in the AWS API Standard.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_identity-chime_CreateAppInstance.html">CreateAppInstance</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateAppInstanceRequest : AmazonChimeRequest
{
private string _clientRequestToken;
private string _metadata;
private string _name;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The <code>ClientRequestToken</code> of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the <code>AppInstance</code>. Limited to a 1KB string in UTF-8.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=256)]
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;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Tags assigned to the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 135 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateAppInstance operation.
/// </summary>
public partial class CreateAppInstanceResponse : AmazonWebServiceResponse
{
private string _appInstanceArn;
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The Amazon Resource Number (ARN) of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateAppInstanceUser operation.
/// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists
/// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_identity-chime_CreateAppInstanceUser.html">CreateAppInstanceUser</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateAppInstanceUserRequest : AmazonChimeRequest
{
private string _appInstanceArn;
private string _appInstanceUserId;
private string _clientRequestToken;
private string _metadata;
private string _name;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The ARN of the <code>AppInstance</code> request.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
/// <summary>
/// Gets and sets the property AppInstanceUserId.
/// <para>
/// The user ID of the <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=64)]
public string AppInstanceUserId
{
get { return this._appInstanceUserId; }
set { this._appInstanceUserId = value; }
}
// Check to see if AppInstanceUserId property is set
internal bool IsSetAppInstanceUserId()
{
return this._appInstanceUserId != null;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The token assigned to the user requesting an <code>AppInstance</code>.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The request's metadata. Limited to a 1KB string in UTF-8.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The user's name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=100)]
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;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// Tags assigned to the <code>AppInstanceUser</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 174 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateAppInstanceUser operation.
/// </summary>
public partial class CreateAppInstanceUserResponse : AmazonWebServiceResponse
{
private string _appInstanceUserArn;
/// <summary>
/// Gets and sets the property AppInstanceUserArn.
/// <para>
/// The user's ARN.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string AppInstanceUserArn
{
get { return this._appInstanceUserArn; }
set { this._appInstanceUserArn = value; }
}
// Check to see if AppInstanceUserArn property is set
internal bool IsSetAppInstanceUserArn()
{
return this._appInstanceUserArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The list of errors returned when errors are encountered during the BatchCreateAttendee
/// and CreateAttendee actions. This includes external user IDs, error codes, and error
/// messages.
/// </summary>
public partial class CreateAttendeeError
{
private string _errorCode;
private string _errorMessage;
private string _externalUserId;
/// <summary>
/// Gets and sets the property ErrorCode.
/// <para>
/// The error code.
/// </para>
/// </summary>
public string ErrorCode
{
get { return this._errorCode; }
set { this._errorCode = value; }
}
// Check to see if ErrorCode property is set
internal bool IsSetErrorCode()
{
return this._errorCode != null;
}
/// <summary>
/// Gets and sets the property ErrorMessage.
/// <para>
/// The error message.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property ExternalUserId.
/// <para>
/// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to
/// an identity managed by a builder application.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ExternalUserId
{
get { return this._externalUserId; }
set { this._externalUserId = value; }
}
// Check to see if ExternalUserId property is set
internal bool IsSetExternalUserId()
{
return this._externalUserId != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateAttendee operation.
/// Creates a new attendee for an active Amazon Chime SDK meeting. For more information
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
/// the Amazon Chime SDK</a> in the <i>Amazon Chime SDK Developer Guide</i>.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateAttendee.html">CreateAttendee</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateAttendeeRequest : AmazonChimeRequest
{
private string _externalUserId;
private string _meetingId;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property ExternalUserId.
/// <para>
/// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to
/// an identity managed by a builder application.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=2, Max=64)]
public string ExternalUserId
{
get { return this._externalUserId; }
set { this._externalUserId = value; }
}
// Check to see if ExternalUserId property is set
internal bool IsSetExternalUserId()
{
return this._externalUserId != null;
}
/// <summary>
/// Gets and sets the property MeetingId.
/// <para>
/// The Amazon Chime SDK meeting ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MeetingId
{
get { return this._meetingId; }
set { this._meetingId = value; }
}
// Check to see if MeetingId property is set
internal bool IsSetMeetingId()
{
return this._meetingId != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag key-value pairs.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=10)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 116 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee
/// action.
/// </summary>
public partial class CreateAttendeeRequestItem
{
private string _externalUserId;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property ExternalUserId.
/// <para>
/// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to
/// an identity managed by a builder application.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=2, Max=64)]
public string ExternalUserId
{
get { return this._externalUserId; }
set { this._externalUserId = value; }
}
// Check to see if ExternalUserId property is set
internal bool IsSetExternalUserId()
{
return this._externalUserId != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag key-value pairs.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=10)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 80 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateAttendee operation.
/// </summary>
public partial class CreateAttendeeResponse : AmazonWebServiceResponse
{
private Attendee _attendee;
/// <summary>
/// Gets and sets the property Attendee.
/// <para>
/// The attendee information, including attendee ID and join token.
/// </para>
/// </summary>
public Attendee Attendee
{
get { return this._attendee; }
set { this._attendee = value; }
}
// Check to see if Attendee property is set
internal bool IsSetAttendee()
{
return this._attendee != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateBot operation.
/// Creates a bot for an Amazon Chime Enterprise account.
/// </summary>
public partial class CreateBotRequest : AmazonChimeRequest
{
private string _accountId;
private string _displayName;
private string _domain;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The bot display name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
/// <summary>
/// Gets and sets the property Domain.
/// <para>
/// The domain of the Amazon Chime Enterprise account.
/// </para>
/// </summary>
public string Domain
{
get { return this._domain; }
set { this._domain = value; }
}
// Check to see if Domain property is set
internal bool IsSetDomain()
{
return this._domain != null;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateBot operation.
/// </summary>
public partial class CreateBotResponse : AmazonWebServiceResponse
{
private Bot _bot;
/// <summary>
/// Gets and sets the property Bot.
/// <para>
/// The bot details.
/// </para>
/// </summary>
public Bot Bot
{
get { return this._bot; }
set { this._bot = value; }
}
// Check to see if Bot property is set
internal bool IsSetBot()
{
return this._bot != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateChannelBan operation.
/// Permanently bans a member from a channel. Moderators can't add banned members to a
/// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then
/// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or
/// channels.
///
///
/// <para>
/// If you ban a user who is already part of a channel, that user is automatically kicked
/// from the channel.
/// </para>
/// <note>
/// <para>
/// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code>
/// of the user that makes the API call as the value in the header.
/// </para>
/// </note> <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_CreateChannelBan.html">CreateChannelBan</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateChannelBanRequest : AmazonChimeRequest
{
private string _channelArn;
private string _chimeBearer;
private string _memberArn;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the ban request.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property ChimeBearer.
/// <para>
/// The <code>AppInstanceUserArn</code> of the user that makes the API call.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChimeBearer
{
get { return this._chimeBearer; }
set { this._chimeBearer = value; }
}
// Check to see if ChimeBearer property is set
internal bool IsSetChimeBearer()
{
return this._chimeBearer != null;
}
/// <summary>
/// Gets and sets the property MemberArn.
/// <para>
/// The ARN of the member being banned.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string MemberArn
{
get { return this._memberArn; }
set { this._memberArn = value; }
}
// Check to see if MemberArn property is set
internal bool IsSetMemberArn()
{
return this._memberArn != null;
}
}
}
| 126 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateChannelBan operation.
/// </summary>
public partial class CreateChannelBanResponse : AmazonWebServiceResponse
{
private string _channelArn;
private Identity _member;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the response to the ban request.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property Member.
/// <para>
/// The <code>ChannelArn</code> and <code>BannedIdentity</code> of the member in the ban
/// response.
/// </para>
/// </summary>
public Identity Member
{
get { return this._member; }
set { this._member = value; }
}
// Check to see if Member property is set
internal bool IsSetMember()
{
return this._member != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateChannelMembership operation.
/// Adds a user to a channel. The <code>InvitedBy</code> response field is derived from
/// the request header. A channel member can:
///
/// <ul> <li>
/// <para>
/// List messages
/// </para>
/// </li> <li>
/// <para>
/// Send messages
/// </para>
/// </li> <li>
/// <para>
/// Receive messages
/// </para>
/// </li> <li>
/// <para>
/// Edit their own messages
/// </para>
/// </li> <li>
/// <para>
/// Leave the channel
/// </para>
/// </li> </ul>
/// <para>
/// Privacy settings impact this action as follows:
/// </para>
/// <ul> <li>
/// <para>
/// Public Channels: You do not need to be a member to list messages, but you must be
/// a member to send messages.
/// </para>
/// </li> <li>
/// <para>
/// Private Channels: You must be a member to list or send messages.
/// </para>
/// </li> </ul> <note>
/// <para>
/// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code>
/// of the user that makes the API call as the value in the header.
/// </para>
/// </note> <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_CreateChannelMembership.html">CreateChannelMembership</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateChannelMembershipRequest : AmazonChimeRequest
{
private string _channelArn;
private string _chimeBearer;
private string _memberArn;
private ChannelMembershipType _type;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel to which you're adding users.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property ChimeBearer.
/// <para>
/// The <code>AppInstanceUserArn</code> of the user that makes the API call.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChimeBearer
{
get { return this._chimeBearer; }
set { this._chimeBearer = value; }
}
// Check to see if ChimeBearer property is set
internal bool IsSetChimeBearer()
{
return this._chimeBearer != null;
}
/// <summary>
/// Gets and sets the property MemberArn.
/// <para>
/// The ARN of the member you want to add to the channel.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string MemberArn
{
get { return this._memberArn; }
set { this._memberArn = value; }
}
// Check to see if MemberArn property is set
internal bool IsSetMemberArn()
{
return this._memberArn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default
/// members are always returned as part of <code>ListChannelMemberships</code>. Hidden
/// members are only returned if the type filter in <code>ListChannelMemberships</code>
/// equals <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only
/// supported by moderators.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ChannelMembershipType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 176 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateChannelMembership operation.
/// </summary>
public partial class CreateChannelMembershipResponse : AmazonWebServiceResponse
{
private string _channelArn;
private Identity _member;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property Member.
/// <para>
/// The ARN and metadata of the member being added.
/// </para>
/// </summary>
public Identity Member
{
get { return this._member; }
set { this._member = value; }
}
// Check to see if Member property is set
internal bool IsSetMember()
{
return this._member != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateChannelModerator operation.
/// Creates a new <code>ChannelModerator</code>. A channel moderator can:
///
/// <ul> <li>
/// <para>
/// Add and remove other members of the channel.
/// </para>
/// </li> <li>
/// <para>
/// Add and remove other moderators of the channel.
/// </para>
/// </li> <li>
/// <para>
/// Add and remove user bans for the channel.
/// </para>
/// </li> <li>
/// <para>
/// Redact messages in the channel.
/// </para>
/// </li> <li>
/// <para>
/// List messages in the channel.
/// </para>
/// </li> </ul> <note>
/// <para>
/// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code>
/// of the user that makes the API call as the value in the header.
/// </para>
/// </note> <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_CreateChannelModerator.html">CreateChannelModerator</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateChannelModeratorRequest : AmazonChimeRequest
{
private string _channelArn;
private string _channelModeratorArn;
private string _chimeBearer;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property ChannelModeratorArn.
/// <para>
/// The ARN of the moderator.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string ChannelModeratorArn
{
get { return this._channelModeratorArn; }
set { this._channelModeratorArn = value; }
}
// Check to see if ChannelModeratorArn property is set
internal bool IsSetChannelModeratorArn()
{
return this._channelModeratorArn != null;
}
/// <summary>
/// Gets and sets the property ChimeBearer.
/// <para>
/// The <code>AppInstanceUserArn</code> of the user that makes the API call.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChimeBearer
{
get { return this._chimeBearer; }
set { this._chimeBearer = value; }
}
// Check to see if ChimeBearer property is set
internal bool IsSetChimeBearer()
{
return this._chimeBearer != null;
}
}
}
| 138 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateChannelModerator operation.
/// </summary>
public partial class CreateChannelModeratorResponse : AmazonWebServiceResponse
{
private string _channelArn;
private Identity _channelModerator;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
/// <summary>
/// Gets and sets the property ChannelModerator.
/// <para>
/// The ARNs of the channel and the moderator.
/// </para>
/// </summary>
public Identity ChannelModerator
{
get { return this._channelModerator; }
set { this._channelModerator = value; }
}
// Check to see if ChannelModerator property is set
internal bool IsSetChannelModerator()
{
return this._channelModerator != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateChannel operation.
/// Creates a channel to which you can add users and send messages.
///
///
/// <para>
/// <b>Restriction</b>: You can't change a channel's privacy.
/// </para>
/// <note>
/// <para>
/// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code>
/// of the user that makes the API call as the value in the header.
/// </para>
/// </note> <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_CreateChannel.html">CreateChannel</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateChannelRequest : AmazonChimeRequest
{
private string _appInstanceArn;
private string _chimeBearer;
private string _clientRequestToken;
private string _metadata;
private ChannelMode _mode;
private string _name;
private ChannelPrivacy _privacy;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The ARN of the channel request.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=5, Max=1600)]
public string AppInstanceArn
{
get { return this._appInstanceArn; }
set { this._appInstanceArn = value; }
}
// Check to see if AppInstanceArn property is set
internal bool IsSetAppInstanceArn()
{
return this._appInstanceArn != null;
}
/// <summary>
/// Gets and sets the property ChimeBearer.
/// <para>
/// The <code>AppInstanceUserArn</code> of the user that makes the API call.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChimeBearer
{
get { return this._chimeBearer; }
set { this._chimeBearer = value; }
}
// Check to see if ChimeBearer property is set
internal bool IsSetChimeBearer()
{
return this._chimeBearer != null;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The client token for the request. An <code>Idempotency</code> token.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata of the creation request. Limited to 1KB and UTF-8.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=1024)]
public string Metadata
{
get { return this._metadata; }
set { this._metadata = value; }
}
// Check to see if Metadata property is set
internal bool IsSetMetadata()
{
return this._metadata != null;
}
/// <summary>
/// Gets and sets the property Mode.
/// <para>
/// The channel mode: <code>UNRESTRICTED</code> or <code>RESTRICTED</code>. Administrators,
/// moderators, and channel members can add themselves and other members to unrestricted
/// channels. Only administrators and moderators can add members to restricted channels.
/// </para>
/// </summary>
public ChannelMode Mode
{
get { return this._mode; }
set { this._mode = value; }
}
// Check to see if Mode property is set
internal bool IsSetMode()
{
return this._mode != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the channel.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=256)]
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;
}
/// <summary>
/// Gets and sets the property Privacy.
/// <para>
/// The channel's privacy level: <code>PUBLIC</code> or <code>PRIVATE</code>. Private
/// channels aren't discoverable by users outside the channel. Public channels are discoverable
/// by anyone in the <code>AppInstance</code>.
/// </para>
/// </summary>
public ChannelPrivacy Privacy
{
get { return this._privacy; }
set { this._privacy = value; }
}
// Check to see if Privacy property is set
internal bool IsSetPrivacy()
{
return this._privacy != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags for the creation request.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 224 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateChannel operation.
/// </summary>
public partial class CreateChannelResponse : AmazonWebServiceResponse
{
private string _channelArn;
/// <summary>
/// Gets and sets the property ChannelArn.
/// <para>
/// The ARN of the channel.
/// </para>
/// </summary>
[AWSProperty(Min=5, Max=1600)]
public string ChannelArn
{
get { return this._channelArn; }
set { this._channelArn = value; }
}
// Check to see if ChannelArn property is set
internal bool IsSetChannelArn()
{
return this._channelArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateMediaCapturePipeline operation.
/// Creates a media capture pipeline.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaCapturePipeline">CreateMediaCapturePipeline</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateMediaCapturePipelineRequest : AmazonChimeRequest
{
private ChimeSdkMeetingConfiguration _chimeSdkMeetingConfiguration;
private string _clientRequestToken;
private string _sinkArn;
private MediaPipelineSinkType _sinkType;
private string _sourceArn;
private MediaPipelineSourceType _sourceType;
/// <summary>
/// Gets and sets the property ChimeSdkMeetingConfiguration.
/// <para>
/// The configuration for a specified media capture pipeline. <code>SourceType</code>
/// must be <code>ChimeSdkMeeting</code>.
/// </para>
/// </summary>
public ChimeSdkMeetingConfiguration ChimeSdkMeetingConfiguration
{
get { return this._chimeSdkMeetingConfiguration; }
set { this._chimeSdkMeetingConfiguration = value; }
}
// Check to see if ChimeSdkMeetingConfiguration property is set
internal bool IsSetChimeSdkMeetingConfiguration()
{
return this._chimeSdkMeetingConfiguration != null;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The unique identifier for the client request. The token makes the API request idempotent.
/// Use a different token for different media pipeline requests.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property SinkArn.
/// <para>
/// The ARN of the sink type.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=1024)]
public string SinkArn
{
get { return this._sinkArn; }
set { this._sinkArn = value; }
}
// Check to see if SinkArn property is set
internal bool IsSetSinkArn()
{
return this._sinkArn != null;
}
/// <summary>
/// Gets and sets the property SinkType.
/// <para>
/// Destination type to which the media artifacts are saved. You must use an S3 bucket.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public MediaPipelineSinkType SinkType
{
get { return this._sinkType; }
set { this._sinkType = value; }
}
// Check to see if SinkType property is set
internal bool IsSetSinkType()
{
return this._sinkType != null;
}
/// <summary>
/// Gets and sets the property SourceArn.
/// <para>
/// ARN of the source from which the media artifacts are captured.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=1024)]
public string SourceArn
{
get { return this._sourceArn; }
set { this._sourceArn = value; }
}
// Check to see if SourceArn property is set
internal bool IsSetSourceArn()
{
return this._sourceArn != null;
}
/// <summary>
/// Gets and sets the property SourceType.
/// <para>
/// Source type from which the media artifacts will be captured. A Chime SDK Meeting is
/// the only supported source.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public MediaPipelineSourceType SourceType
{
get { return this._sourceType; }
set { this._sourceType = value; }
}
// Check to see if SourceType property is set
internal bool IsSetSourceType()
{
return this._sourceType != null;
}
}
}
| 176 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateMediaCapturePipeline operation.
/// </summary>
public partial class CreateMediaCapturePipelineResponse : AmazonWebServiceResponse
{
private MediaCapturePipeline _mediaCapturePipeline;
/// <summary>
/// Gets and sets the property MediaCapturePipeline.
/// <para>
/// A media capture pipeline object, the ID, source type, source ARN, sink type, and sink
/// ARN of a media capture pipeline object.
/// </para>
/// </summary>
public MediaCapturePipeline MediaCapturePipeline
{
get { return this._mediaCapturePipeline; }
set { this._mediaCapturePipeline = value; }
}
// Check to see if MediaCapturePipeline property is set
internal bool IsSetMediaCapturePipeline()
{
return this._mediaCapturePipeline != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateMeetingDialOut operation.
/// Uses the join token and call metadata in a meeting request (From number, To number,
/// and so forth) to initiate an outbound call to a public switched telephone network
/// (PSTN) and join them into a Chime meeting. Also ensures that the From number belongs
/// to the customer.
///
///
/// <para>
/// To play welcome audio or implement an interactive voice response (IVR), use the <code>CreateSipMediaApplicationCall</code>
/// action with the corresponding SIP media application ID.
/// </para>
/// <important>
/// <para>
/// <b>This API is is not available in a dedicated namespace.</b>
/// </para>
/// </important>
/// </summary>
public partial class CreateMeetingDialOutRequest : AmazonChimeRequest
{
private string _fromPhoneNumber;
private string _joinToken;
private string _meetingId;
private string _toPhoneNumber;
/// <summary>
/// Gets and sets the property FromPhoneNumber.
/// <para>
/// Phone number used as the caller ID when the remote party receives a call.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string FromPhoneNumber
{
get { return this._fromPhoneNumber; }
set { this._fromPhoneNumber = value; }
}
// Check to see if FromPhoneNumber property is set
internal bool IsSetFromPhoneNumber()
{
return this._fromPhoneNumber != null;
}
/// <summary>
/// Gets and sets the property JoinToken.
/// <para>
/// Token used by the Amazon Chime SDK attendee. Call the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html">CreateAttendee</a>
/// action to get a join token.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=2, Max=2048)]
public string JoinToken
{
get { return this._joinToken; }
set { this._joinToken = value; }
}
// Check to see if JoinToken property is set
internal bool IsSetJoinToken()
{
return this._joinToken != null;
}
/// <summary>
/// Gets and sets the property MeetingId.
/// <para>
/// The Amazon Chime SDK meeting ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MeetingId
{
get { return this._meetingId; }
set { this._meetingId = value; }
}
// Check to see if MeetingId property is set
internal bool IsSetMeetingId()
{
return this._meetingId != null;
}
/// <summary>
/// Gets and sets the property ToPhoneNumber.
/// <para>
/// Phone number called when inviting someone to a meeting.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string ToPhoneNumber
{
get { return this._toPhoneNumber; }
set { this._toPhoneNumber = value; }
}
// Check to see if ToPhoneNumber property is set
internal bool IsSetToPhoneNumber()
{
return this._toPhoneNumber != null;
}
}
}
| 134 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateMeetingDialOut operation.
/// </summary>
public partial class CreateMeetingDialOutResponse : AmazonWebServiceResponse
{
private string _transactionId;
/// <summary>
/// Gets and sets the property TransactionId.
/// <para>
/// Unique ID that tracks API calls.
/// </para>
/// </summary>
public string TransactionId
{
get { return this._transactionId; }
set { this._transactionId = value; }
}
// Check to see if TransactionId property is set
internal bool IsSetTransactionId()
{
return this._transactionId != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateMeeting operation.
/// Creates a new Amazon Chime SDK meeting in the specified media Region with no initial
/// attendees. For more information about specifying media Regions, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/chime-sdk-meetings-regions.html">Amazon
/// Chime SDK Media Regions</a> in the <i>Amazon Chime SDK Developer Guide</i> . For more
/// information about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
/// the Amazon Chime SDK</a> in the <i>Amazon Chime SDK Developer Guide</i>.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html">CreateMeeting</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateMeetingRequest : AmazonChimeRequest
{
private string _clientRequestToken;
private string _externalMeetingId;
private string _mediaRegion;
private string _meetingHostId;
private MeetingNotificationConfiguration _notificationsConfiguration;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The unique identifier for the client request. Use a different token for different
/// meetings.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property ExternalMeetingId.
/// <para>
/// The external meeting ID.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ExternalMeetingId
{
get { return this._externalMeetingId; }
set { this._externalMeetingId = value; }
}
// Check to see if ExternalMeetingId property is set
internal bool IsSetExternalMeetingId()
{
return this._externalMeetingId != null;
}
/// <summary>
/// Gets and sets the property MediaRegion.
/// <para>
/// The Region in which to create the meeting. Default: <code>us-east-1</code>.
/// </para>
///
/// <para>
/// Available values: <code>af-south-1</code> , <code>ap-northeast-1</code> , <code>ap-northeast-2</code>
/// , <code>ap-south-1</code> , <code>ap-southeast-1</code> , <code>ap-southeast-2</code>
/// , <code>ca-central-1</code> , <code>eu-central-1</code> , <code>eu-north-1</code>
/// , <code>eu-south-1</code> , <code>eu-west-1</code> , <code>eu-west-2</code> , <code>eu-west-3</code>
/// , <code>sa-east-1</code> , <code>us-east-1</code> , <code>us-east-2</code> , <code>us-west-1</code>
/// , <code>us-west-2</code> .
/// </para>
/// </summary>
public string MediaRegion
{
get { return this._mediaRegion; }
set { this._mediaRegion = value; }
}
// Check to see if MediaRegion property is set
internal bool IsSetMediaRegion()
{
return this._mediaRegion != null;
}
/// <summary>
/// Gets and sets the property MeetingHostId.
/// <para>
/// Reserved.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string MeetingHostId
{
get { return this._meetingHostId; }
set { this._meetingHostId = value; }
}
// Check to see if MeetingHostId property is set
internal bool IsSetMeetingHostId()
{
return this._meetingHostId != null;
}
/// <summary>
/// Gets and sets the property NotificationsConfiguration.
/// <para>
/// The configuration for resource targets to receive notifications when meeting and attendee
/// events occur.
/// </para>
/// </summary>
public MeetingNotificationConfiguration NotificationsConfiguration
{
get { return this._notificationsConfiguration; }
set { this._notificationsConfiguration = value; }
}
// Check to see if NotificationsConfiguration property is set
internal bool IsSetNotificationsConfiguration()
{
return this._notificationsConfiguration != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag key-value pairs.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 186 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateMeeting operation.
/// </summary>
public partial class CreateMeetingResponse : AmazonWebServiceResponse
{
private Meeting _meeting;
/// <summary>
/// Gets and sets the property Meeting.
/// <para>
/// The meeting information, including the meeting ID and <code>MediaPlacement</code>
/// .
/// </para>
/// </summary>
public Meeting Meeting
{
get { return this._meeting; }
set { this._meeting = value; }
}
// Check to see if Meeting property is set
internal bool IsSetMeeting()
{
return this._meeting != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateMeetingWithAttendees operation.
/// Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees.
/// For more information about specifying media Regions, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/chime-sdk-meetings-regions.html">Amazon
/// Chime SDK Media Regions</a> in the <i>Amazon Chime SDK Developer Guide</i> . For more
/// information about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
/// the Amazon Chime SDK</a> in the <i>Amazon Chime SDK Developer Guide</i> .
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html">CreateMeetingWithAttendees</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateMeetingWithAttendeesRequest : AmazonChimeRequest
{
private List<CreateAttendeeRequestItem> _attendees = new List<CreateAttendeeRequestItem>();
private string _clientRequestToken;
private string _externalMeetingId;
private string _mediaRegion;
private string _meetingHostId;
private MeetingNotificationConfiguration _notificationsConfiguration;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property Attendees.
/// <para>
/// The request containing the attendees to create.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=10)]
public List<CreateAttendeeRequestItem> Attendees
{
get { return this._attendees; }
set { this._attendees = value; }
}
// Check to see if Attendees property is set
internal bool IsSetAttendees()
{
return this._attendees != null && this._attendees.Count > 0;
}
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The unique identifier for the client request. Use a different token for different
/// meetings.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
/// <summary>
/// Gets and sets the property ExternalMeetingId.
/// <para>
/// The external meeting ID.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string ExternalMeetingId
{
get { return this._externalMeetingId; }
set { this._externalMeetingId = value; }
}
// Check to see if ExternalMeetingId property is set
internal bool IsSetExternalMeetingId()
{
return this._externalMeetingId != null;
}
/// <summary>
/// Gets and sets the property MediaRegion.
/// <para>
/// The Region in which to create the meeting. Default: <code>us-east-1</code> .
/// </para>
///
/// <para>
/// Available values: <code>af-south-1</code> , <code>ap-northeast-1</code> , <code>ap-northeast-2</code>
/// , <code>ap-south-1</code> , <code>ap-southeast-1</code> , <code>ap-southeast-2</code>
/// , <code>ca-central-1</code> , <code>eu-central-1</code> , <code>eu-north-1</code>
/// , <code>eu-south-1</code> , <code>eu-west-1</code> , <code>eu-west-2</code> , <code>eu-west-3</code>
/// , <code>sa-east-1</code> , <code>us-east-1</code> , <code>us-east-2</code> , <code>us-west-1</code>
/// , <code>us-west-2</code> .
/// </para>
/// </summary>
public string MediaRegion
{
get { return this._mediaRegion; }
set { this._mediaRegion = value; }
}
// Check to see if MediaRegion property is set
internal bool IsSetMediaRegion()
{
return this._mediaRegion != null;
}
/// <summary>
/// Gets and sets the property MeetingHostId.
/// <para>
/// Reserved.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=2, Max=64)]
public string MeetingHostId
{
get { return this._meetingHostId; }
set { this._meetingHostId = value; }
}
// Check to see if MeetingHostId property is set
internal bool IsSetMeetingHostId()
{
return this._meetingHostId != null;
}
/// <summary>
/// Gets and sets the property NotificationsConfiguration.
/// <para>
/// The resource target configurations for receiving Amazon Chime SDK meeting and attendee
/// event notifications. The Amazon Chime SDK supports resource targets located in the
/// US East (N. Virginia) AWS Region (us-east-1).
/// </para>
/// </summary>
public MeetingNotificationConfiguration NotificationsConfiguration
{
get { return this._notificationsConfiguration; }
set { this._notificationsConfiguration = value; }
}
// Check to see if NotificationsConfiguration property is set
internal bool IsSetNotificationsConfiguration()
{
return this._notificationsConfiguration != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag key-value pairs.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 207 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateMeetingWithAttendees operation.
/// </summary>
public partial class CreateMeetingWithAttendeesResponse : AmazonWebServiceResponse
{
private List<Attendee> _attendees = new List<Attendee>();
private List<CreateAttendeeError> _errors = new List<CreateAttendeeError>();
private Meeting _meeting;
/// <summary>
/// Gets and sets the property Attendees.
/// <para>
/// The attendee information, including attendees IDs and join tokens.
/// </para>
/// </summary>
public List<Attendee> Attendees
{
get { return this._attendees; }
set { this._attendees = value; }
}
// Check to see if Attendees property is set
internal bool IsSetAttendees()
{
return this._attendees != null && this._attendees.Count > 0;
}
/// <summary>
/// Gets and sets the property Errors.
/// <para>
/// If the action fails for one or more of the attendees in the request, a list of the
/// attendees is returned, along with error codes and error messages.
/// </para>
/// </summary>
public List<CreateAttendeeError> Errors
{
get { return this._errors; }
set { this._errors = value; }
}
// Check to see if Errors property is set
internal bool IsSetErrors()
{
return this._errors != null && this._errors.Count > 0;
}
/// <summary>
/// Gets and sets the property Meeting.
/// <para>
/// A meeting created using the Amazon Chime SDK.
/// </para>
/// </summary>
public Meeting Meeting
{
get { return this._meeting; }
set { this._meeting = value; }
}
// Check to see if Meeting property is set
internal bool IsSetMeeting()
{
return this._meeting != null;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreatePhoneNumberOrder operation.
/// Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot
/// use the Amazon Chime Business Calling product type. For numbers outside the U.S.,
/// you must use the Amazon Chime SIP Media Application Dial-In product type.
/// </summary>
public partial class CreatePhoneNumberOrderRequest : AmazonChimeRequest
{
private List<string> _e164PhoneNumbers = new List<string>();
private PhoneNumberProductType _productType;
/// <summary>
/// Gets and sets the property E164PhoneNumbers.
/// <para>
/// List of phone numbers, in E.164 format.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> E164PhoneNumbers
{
get { return this._e164PhoneNumbers; }
set { this._e164PhoneNumbers = value; }
}
// Check to see if E164PhoneNumbers property is set
internal bool IsSetE164PhoneNumbers()
{
return this._e164PhoneNumbers != null && this._e164PhoneNumbers.Count > 0;
}
/// <summary>
/// Gets and sets the property ProductType.
/// <para>
/// The phone number product type.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public PhoneNumberProductType ProductType
{
get { return this._productType; }
set { this._productType = value; }
}
// Check to see if ProductType property is set
internal bool IsSetProductType()
{
return this._productType != null;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreatePhoneNumberOrder operation.
/// </summary>
public partial class CreatePhoneNumberOrderResponse : AmazonWebServiceResponse
{
private PhoneNumberOrder _phoneNumberOrder;
/// <summary>
/// Gets and sets the property PhoneNumberOrder.
/// <para>
/// The phone number order details.
/// </para>
/// </summary>
public PhoneNumberOrder PhoneNumberOrder
{
get { return this._phoneNumberOrder; }
set { this._phoneNumberOrder = value; }
}
// Check to see if PhoneNumberOrder property is set
internal bool IsSetPhoneNumberOrder()
{
return this._phoneNumberOrder != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateProxySession operation.
/// Creates a proxy session on the specified Amazon Chime Voice Connector for the specified
/// participant phone numbers.
///
/// <important>
/// <para>
/// <b>This API is is no longer supported and will not be updated.</b> We recommend using
/// the latest version, <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_voice-chime_CreateProxySession.html">CreateProxySession</a>,
/// in the Amazon Chime SDK.
/// </para>
///
/// <para>
/// Using the latest version requires migrating to a dedicated namespace. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/migrate-from-chm-namespace.html">Migrating
/// from the Amazon Chime namespace</a> in the <i>Amazon Chime SDK Developer Guide</i>.
/// </para>
/// </important>
/// </summary>
public partial class CreateProxySessionRequest : AmazonChimeRequest
{
private List<string> _capabilities = new List<string>();
private int? _expiryMinutes;
private GeoMatchLevel _geoMatchLevel;
private GeoMatchParams _geoMatchParams;
private string _name;
private NumberSelectionBehavior _numberSelectionBehavior;
private List<string> _participantPhoneNumbers = new List<string>();
private string _voiceConnectorId;
/// <summary>
/// Gets and sets the property Capabilities.
/// <para>
/// The proxy session capabilities.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Capabilities
{
get { return this._capabilities; }
set { this._capabilities = value; }
}
// Check to see if Capabilities property is set
internal bool IsSetCapabilities()
{
return this._capabilities != null && this._capabilities.Count > 0;
}
/// <summary>
/// Gets and sets the property ExpiryMinutes.
/// <para>
/// The number of minutes allowed for the proxy session.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int ExpiryMinutes
{
get { return this._expiryMinutes.GetValueOrDefault(); }
set { this._expiryMinutes = value; }
}
// Check to see if ExpiryMinutes property is set
internal bool IsSetExpiryMinutes()
{
return this._expiryMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property GeoMatchLevel.
/// <para>
/// The preference for matching the country or area code of the proxy phone number with
/// that of the first participant.
/// </para>
/// </summary>
public GeoMatchLevel GeoMatchLevel
{
get { return this._geoMatchLevel; }
set { this._geoMatchLevel = value; }
}
// Check to see if GeoMatchLevel property is set
internal bool IsSetGeoMatchLevel()
{
return this._geoMatchLevel != null;
}
/// <summary>
/// Gets and sets the property GeoMatchParams.
/// <para>
/// The country and area code for the proxy phone number.
/// </para>
/// </summary>
public GeoMatchParams GeoMatchParams
{
get { return this._geoMatchParams; }
set { this._geoMatchParams = value; }
}
// Check to see if GeoMatchParams property is set
internal bool IsSetGeoMatchParams()
{
return this._geoMatchParams != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the proxy session.
/// </para>
/// </summary>
[AWSProperty(Sensitive=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;
}
/// <summary>
/// Gets and sets the property NumberSelectionBehavior.
/// <para>
/// The preference for proxy phone number reuse, or stickiness, between the same participants
/// across sessions.
/// </para>
/// </summary>
public NumberSelectionBehavior NumberSelectionBehavior
{
get { return this._numberSelectionBehavior; }
set { this._numberSelectionBehavior = value; }
}
// Check to see if NumberSelectionBehavior property is set
internal bool IsSetNumberSelectionBehavior()
{
return this._numberSelectionBehavior != null;
}
/// <summary>
/// Gets and sets the property ParticipantPhoneNumbers.
/// <para>
/// The participant phone numbers.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=2, Max=2)]
public List<string> ParticipantPhoneNumbers
{
get { return this._participantPhoneNumbers; }
set { this._participantPhoneNumbers = value; }
}
// Check to see if ParticipantPhoneNumbers property is set
internal bool IsSetParticipantPhoneNumbers()
{
return this._participantPhoneNumbers != null && this._participantPhoneNumbers.Count > 0;
}
/// <summary>
/// Gets and sets the property VoiceConnectorId.
/// <para>
/// The Amazon Chime voice connector ID.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=128)]
public string VoiceConnectorId
{
get { return this._voiceConnectorId; }
set { this._voiceConnectorId = value; }
}
// Check to see if VoiceConnectorId property is set
internal bool IsSetVoiceConnectorId()
{
return this._voiceConnectorId != null;
}
}
}
| 213 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// This is the response object from the CreateProxySession operation.
/// </summary>
public partial class CreateProxySessionResponse : AmazonWebServiceResponse
{
private ProxySession _proxySession;
/// <summary>
/// Gets and sets the property ProxySession.
/// <para>
/// The proxy session details.
/// </para>
/// </summary>
public ProxySession ProxySession
{
get { return this._proxySession; }
set { this._proxySession = value; }
}
// Check to see if ProxySession property is set
internal bool IsSetProxySession()
{
return this._proxySession != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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
{
/// <summary>
/// Container for the parameters to the CreateRoomMembership operation.
/// Adds a member to a chat room in an Amazon Chime Enterprise account. A member can be
/// either a user or a bot. The member role designates whether the member is a chat room
/// administrator or a general chat room member.
/// </summary>
public partial class CreateRoomMembershipRequest : AmazonChimeRequest
{
private string _accountId;
private string _memberId;
private RoomMembershipRole _role;
private string _roomId;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
[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;
}
/// <summary>
/// Gets and sets the property MemberId.
/// <para>
/// The Amazon Chime member ID (user ID or bot ID).
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MemberId
{
get { return this._memberId; }
set { this._memberId = value; }
}
// Check to see if MemberId property is set
internal bool IsSetMemberId()
{
return this._memberId != null;
}
/// <summary>
/// Gets and sets the property Role.
/// <para>
/// The role of the member.
/// </para>
/// </summary>
public RoomMembershipRole Role
{
get { return this._role; }
set { this._role = value; }
}
// Check to see if Role property is set
internal bool IsSetRole()
{
return this._role != null;
}
/// <summary>
/// Gets and sets the property RoomId.
/// <para>
/// The room ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string RoomId
{
get { return this._roomId; }
set { this._roomId = value; }
}
// Check to see if RoomId property is set
internal bool IsSetRoomId()
{
return this._roomId != null;
}
}
}
| 120 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.