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>
/// The video streams to capture for a specified media capture pipeline. The total number
/// of video streams can't exceed 25.
/// </summary>
public partial class SelectedVideoStreams
{
private List<string> _attendeeIds = new List<string>();
private List<string> _externalUserIds = new List<string>();
/// <summary>
/// Gets and sets the property AttendeeIds.
/// <para>
/// The attendee IDs of the streams selected for a media capture pipeline.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public List<string> AttendeeIds
{
get { return this._attendeeIds; }
set { this._attendeeIds = value; }
}
// Check to see if AttendeeIds property is set
internal bool IsSetAttendeeIds()
{
return this._attendeeIds != null && this._attendeeIds.Count > 0;
}
/// <summary>
/// Gets and sets the property ExternalUserIds.
/// <para>
/// The external user IDs of the streams selected for a media capture pipeline.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public List<string> ExternalUserIds
{
get { return this._externalUserIds; }
set { this._externalUserIds = value; }
}
// Check to see if ExternalUserIds property is set
internal bool IsSetExternalUserIds()
{
return this._externalUserIds != null && this._externalUserIds.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>
/// Container for the parameters to the SendChannelMessage operation.
/// Sends a message to a particular channel that the member is a part of.
///
/// <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>
///
/// <para>
/// Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB of metadata.
/// <code>CONTROL</code> messages can contain 30 bytes of data and no metadata.
/// </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_SendChannelMessage.html">SendChannelMessage</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 SendChannelMessageRequest : AmazonChimeRequest
{
private string _channelArn;
private string _chimeBearer;
private string _clientRequestToken;
private string _content;
private string _metadata;
private ChannelMessagePersistenceType _persistence;
private ChannelMessageType _type;
/// <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 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 <code>Idempotency</code> token for each client request.
/// </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 Content.
/// <para>
/// The content of the message.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1)]
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 Metadata.
/// <para>
/// The optional metadata for each 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 Persistence.
/// <para>
/// Boolean that controls whether the message is persisted on the back end. Required.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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 Type.
/// <para>
/// The type of message, <code>STANDARD</code> or <code>CONTROL</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 203 |
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 SendChannelMessage operation.
/// </summary>
public partial class SendChannelMessageResponse : AmazonWebServiceResponse
{
private string _channelArn;
private string _messageId;
/// <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 MessageId.
/// <para>
/// The ID string assigned to each 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;
}
}
}
| 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>
/// The service encountered an unexpected error.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ServiceFailureException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new ServiceFailureException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ServiceFailureException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ServiceFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ServiceFailureException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ServiceFailureException
/// </summary>
/// <param name="innerException"></param>
public ServiceFailureException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ServiceFailureException
/// </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 ServiceFailureException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ServiceFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceFailureException(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 ServiceFailureException 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 ServiceFailureException(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 service is currently unavailable.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ServiceUnavailableException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new ServiceUnavailableException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ServiceUnavailableException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ServiceUnavailableException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ServiceUnavailableException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ServiceUnavailableException
/// </summary>
/// <param name="innerException"></param>
public ServiceUnavailableException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ServiceUnavailableException
/// </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 ServiceUnavailableException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ServiceUnavailableException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ServiceUnavailableException(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 ServiceUnavailableException 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 ServiceUnavailableException(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>
/// An Active Directory (AD) group whose members are granted permission to act as delegates.
/// </summary>
public partial class SigninDelegateGroup
{
private string _groupName;
/// <summary>
/// Gets and sets the property GroupName.
/// <para>
/// The group name.
/// </para>
/// </summary>
public string GroupName
{
get { return this._groupName; }
set { this._groupName = value; }
}
// Check to see if GroupName property is set
internal bool IsSetGroupName()
{
return this._groupName != 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 SIP media application, including name and endpoints. An AWS account
/// can have multiple SIP media applications.
/// </summary>
public partial class SipMediaApplication
{
private string _awsRegion;
private DateTime? _createdTimestamp;
private List<SipMediaApplicationEndpoint> _endpoints = new List<SipMediaApplicationEndpoint>();
private string _name;
private string _sipMediaApplicationId;
private DateTime? _updatedTimestamp;
/// <summary>
/// Gets and sets the property AwsRegion.
/// <para>
/// The AWS Region in which the SIP media application is created.
/// </para>
/// </summary>
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The SIP media application 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 Endpoints.
/// <para>
/// List of endpoints for SIP media application. Currently, only one endpoint per SIP
/// media application is permitted.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1)]
public List<SipMediaApplicationEndpoint> Endpoints
{
get { return this._endpoints; }
set { this._endpoints = value; }
}
// Check to see if Endpoints property is set
internal bool IsSetEndpoints()
{
return this._endpoints != null && this._endpoints.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the SIP media application.
/// </para>
/// </summary>
[AWSProperty(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 SipMediaApplicationId.
/// <para>
/// The SIP media application ID.
/// </para>
/// </summary>
public string SipMediaApplicationId
{
get { return this._sipMediaApplicationId; }
set { this._sipMediaApplicationId = value; }
}
// Check to see if SipMediaApplicationId property is set
internal bool IsSetSipMediaApplicationId()
{
return this._sipMediaApplicationId != null;
}
/// <summary>
/// Gets and sets the property UpdatedTimestamp.
/// <para>
/// The SIP media application updated 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;
}
}
}
| 156 |
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 <code>Call</code> instance for a SIP media application.
/// </summary>
public partial class SipMediaApplicationCall
{
private string _transactionId;
/// <summary>
/// Gets and sets the property TransactionId.
/// <para>
/// The transaction ID of a call.
/// </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>
/// The endpoint assigned to the SIP media application.
/// </summary>
public partial class SipMediaApplicationEndpoint
{
private string _lambdaArn;
/// <summary>
/// Gets and sets the property LambdaArn.
/// <para>
/// Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function
/// must be created in the same AWS Region as the SIP media application.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=10000)]
public string LambdaArn
{
get { return this._lambdaArn; }
set { this._lambdaArn = value; }
}
// Check to see if LambdaArn property is set
internal bool IsSetLambdaArn()
{
return this._lambdaArn != null;
}
}
}
| 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>
/// Logging configuration of the SIP media application.
/// </summary>
public partial class SipMediaApplicationLoggingConfiguration
{
private bool? _enableSipMediaApplicationMessageLogs;
/// <summary>
/// Gets and sets the property EnableSipMediaApplicationMessageLogs.
/// <para>
/// Enables application message logs for the SIP media application.
/// </para>
/// </summary>
public bool EnableSipMediaApplicationMessageLogs
{
get { return this._enableSipMediaApplicationMessageLogs.GetValueOrDefault(); }
set { this._enableSipMediaApplicationMessageLogs = value; }
}
// Check to see if EnableSipMediaApplicationMessageLogs property is set
internal bool IsSetEnableSipMediaApplicationMessageLogs()
{
return this._enableSipMediaApplicationMessageLogs.HasValue;
}
}
}
| 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 SIP rule details, including name, triggers, and target applications. An AWS account
/// can have multiple SIP rules.
/// </summary>
public partial class SipRule
{
private DateTime? _createdTimestamp;
private bool? _disabled;
private string _name;
private string _sipRuleId;
private List<SipRuleTargetApplication> _targetApplications = new List<SipRuleTargetApplication>();
private SipRuleTriggerType _triggerType;
private string _triggerValue;
private DateTime? _updatedTimestamp;
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The time at which the SIP rule was created, 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>
/// Indicates whether the SIP rule is enabled or disabled. You must disable a rule before
/// you can delete it.
/// </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 Name.
/// <para>
/// The name of the SIP rule.
/// </para>
/// </summary>
[AWSProperty(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 SipRuleId.
/// <para>
/// The SIP rule ID.
/// </para>
/// </summary>
public string SipRuleId
{
get { return this._sipRuleId; }
set { this._sipRuleId = value; }
}
// Check to see if SipRuleId property is set
internal bool IsSetSipRuleId()
{
return this._sipRuleId != null;
}
/// <summary>
/// Gets and sets the property TargetApplications.
/// <para>
/// Target SIP media application and other details, such as priority and AWS Region, to
/// be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=25)]
public List<SipRuleTargetApplication> TargetApplications
{
get { return this._targetApplications; }
set { this._targetApplications = value; }
}
// Check to see if TargetApplications property is set
internal bool IsSetTargetApplications()
{
return this._targetApplications != null && this._targetApplications.Count > 0;
}
/// <summary>
/// Gets and sets the property TriggerType.
/// <para>
/// The type of trigger assigned to the SIP rule in <code>TriggerValue</code>, currently
/// <code>RequestUriHostname</code> or <code>ToPhoneNumber</code>.
/// </para>
/// </summary>
public SipRuleTriggerType TriggerType
{
get { return this._triggerType; }
set { this._triggerType = value; }
}
// Check to see if TriggerType property is set
internal bool IsSetTriggerType()
{
return this._triggerType != null;
}
/// <summary>
/// Gets and sets the property TriggerValue.
/// <para>
/// If <code>TriggerType</code> is <code>RequestUriHostname</code>, then the value can
/// be the outbound host name of the Amazon Chime Voice Connector. If <code>TriggerType</code>
/// is <code>ToPhoneNumber</code>, then the value can be a customer-owned phone number
/// in E164 format. <code>SipRule</code> is triggered when a SIP rule requests host name
/// or <code>ToPhoneNumber</code> matches in the incoming SIP request.
/// </para>
/// </summary>
public string TriggerValue
{
get { return this._triggerValue; }
set { this._triggerValue = value; }
}
// Check to see if TriggerValue property is set
internal bool IsSetTriggerValue()
{
return this._triggerValue != null;
}
/// <summary>
/// Gets and sets the property UpdatedTimestamp.
/// <para>
/// The time at which the SIP rule was last updated, 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;
}
}
}
| 200 |
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>
/// Target SIP media application and other details, such as priority and AWS Region, to
/// be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.
/// </summary>
public partial class SipRuleTargetApplication
{
private string _awsRegion;
private int? _priority;
private string _sipMediaApplicationId;
/// <summary>
/// Gets and sets the property AwsRegion.
/// <para>
/// The AWS Region of the target application.
/// </para>
/// </summary>
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
/// <summary>
/// Gets and sets the property Priority.
/// <para>
/// Priority of the SIP media application in the target list.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int Priority
{
get { return this._priority.GetValueOrDefault(); }
set { this._priority = value; }
}
// Check to see if Priority property is set
internal bool IsSetPriority()
{
return this._priority.HasValue;
}
/// <summary>
/// Gets and sets the property SipMediaApplicationId.
/// <para>
/// The SIP media application ID.
/// </para>
/// </summary>
public string SipMediaApplicationId
{
get { return this._sipMediaApplicationId; }
set { this._sipMediaApplicationId = value; }
}
// Check to see if SipMediaApplicationId property is set
internal bool IsSetSipMediaApplicationId()
{
return this._sipMediaApplicationId != 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>
/// Source configuration for a specified media capture pipeline.
/// </summary>
public partial class SourceConfiguration
{
private SelectedVideoStreams _selectedVideoStreams;
/// <summary>
/// Gets and sets the property SelectedVideoStreams.
/// <para>
/// The selected video streams to capture for a specified media capture pipeline. The
/// number of video streams can't exceed 25.
/// </para>
/// </summary>
public SelectedVideoStreams SelectedVideoStreams
{
get { return this._selectedVideoStreams; }
set { this._selectedVideoStreams = value; }
}
// Check to see if SelectedVideoStreams property is set
internal bool IsSetSelectedVideoStreams()
{
return this._selectedVideoStreams != 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 StartMeetingTranscription operation.
/// Starts transcription for the specified <code>meetingId</code>. For more information,
/// refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meeting-transcription.html">
/// Using Amazon Chime SDK live transcription </a> in the <i>Amazon Chime SDK Developer
/// Guide</i>.
///
///
/// <para>
/// If you specify an invalid configuration, a <code>TranscriptFailed</code> event will
/// be sent with the contents of the <code>BadRequestException</code> generated by Amazon
/// Transcribe. For more information on each parameter and which combinations are valid,
/// refer to the <a href="https://docs.aws.amazon.com/transcribe/latest/APIReference/API_streaming_StartStreamTranscription.html">StartStreamTranscription</a>
/// API in the <i>Amazon Transcribe Developer Guide</i>.
/// </para>
/// <note>
/// <para>
/// Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon
/// Transcribe is subject to the <a href="https://aws.amazon.com/service-terms/">AWS Service
/// Terms</a>, including the terms specific to the AWS Machine Learning and Artificial
/// Intelligence Services.
/// </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_meeting-chime_StartMeetingTranscription.html">StartMeetingTranscription</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 StartMeetingTranscriptionRequest : AmazonChimeRequest
{
private string _meetingId;
private TranscriptionConfiguration _transcriptionConfiguration;
/// <summary>
/// Gets and sets the property MeetingId.
/// <para>
/// The unique ID of the meeting being transcribed.
/// </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 TranscriptionConfiguration.
/// <para>
/// The configuration for the current transcription operation. Must contain <code>EngineTranscribeSettings</code>
/// or <code>EngineTranscribeMedicalSettings</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TranscriptionConfiguration TranscriptionConfiguration
{
get { return this._transcriptionConfiguration; }
set { this._transcriptionConfiguration = value; }
}
// Check to see if TranscriptionConfiguration property is set
internal bool IsSetTranscriptionConfiguration()
{
return this._transcriptionConfiguration != null;
}
}
}
| 112 |
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 StartMeetingTranscription operation.
/// </summary>
public partial class StartMeetingTranscriptionResponse : 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 StopMeetingTranscription operation.
/// Stops transcription for the specified <code>meetingId</code>.
///
/// <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_StopMeetingTranscription.html">StopMeetingTranscription</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 StopMeetingTranscriptionRequest : AmazonChimeRequest
{
private string _meetingId;
/// <summary>
/// Gets and sets the property MeetingId.
/// <para>
/// The unique ID of the meeting for which you stop transcription.
/// </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;
}
}
}
| 73 |
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 StopMeetingTranscription operation.
/// </summary>
public partial class StopMeetingTranscriptionResponse : 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>
/// The streaming configuration associated with an Amazon Chime Voice Connector. Specifies
/// whether media streaming is enabled for sending to Amazon Kinesis, and shows the retention
/// period for the Amazon Kinesis data, in hours.
/// </summary>
public partial class StreamingConfiguration
{
private int? _dataRetentionInHours;
private bool? _disabled;
private List<StreamingNotificationTarget> _streamingNotificationTargets = new List<StreamingNotificationTarget>();
/// <summary>
/// Gets and sets the property DataRetentionInHours.
/// <para>
/// The retention period, in hours, for the Amazon Kinesis data.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0)]
public int DataRetentionInHours
{
get { return this._dataRetentionInHours.GetValueOrDefault(); }
set { this._dataRetentionInHours = value; }
}
// Check to see if DataRetentionInHours property is set
internal bool IsSetDataRetentionInHours()
{
return this._dataRetentionInHours.HasValue;
}
/// <summary>
/// Gets and sets the property Disabled.
/// <para>
/// When true, media streaming to Amazon Kinesis is turned off.
/// </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 StreamingNotificationTargets.
/// <para>
/// The streaming notification targets.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=3)]
public List<StreamingNotificationTarget> StreamingNotificationTargets
{
get { return this._streamingNotificationTargets; }
set { this._streamingNotificationTargets = value; }
}
// Check to see if StreamingNotificationTargets property is set
internal bool IsSetStreamingNotificationTargets()
{
return this._streamingNotificationTargets != null && this._streamingNotificationTargets.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>
/// The targeted recipient for a streaming configuration notification.
/// </summary>
public partial class StreamingNotificationTarget
{
private NotificationTarget _notificationTarget;
/// <summary>
/// Gets and sets the property NotificationTarget.
/// <para>
/// The streaming notification target.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public NotificationTarget NotificationTarget
{
get { return this._notificationTarget; }
set { this._notificationTarget = value; }
}
// Check to see if NotificationTarget property is set
internal bool IsSetNotificationTarget()
{
return this._notificationTarget != 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>
/// Describes a tag applied to a resource.
/// </summary>
public partial class Tag
{
private string _key;
private string _value;
/// <summary>
/// Gets and sets the property Key.
/// <para>
/// The key of the tag.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=128)]
public string Key
{
get { return this._key; }
set { this._key = value; }
}
// Check to see if Key property is set
internal bool IsSetKey()
{
return this._key != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of the tag.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=256)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != 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 TagAttendee operation.
/// Applies the specified tags to the specified Amazon Chime attendee.
///
/// <important>
/// <para>
/// TagAttendee is not supported in the Amazon Chime SDK Meetings Namespace. Update your
/// application to remove calls to this API.
/// </para>
/// </important>
/// </summary>
public partial class TagAttendeeRequest : AmazonChimeRequest
{
private string _attendeeId;
private string _meetingId;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property AttendeeId.
/// <para>
/// The Amazon Chime SDK attendee ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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 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(Required=true, 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;
}
}
}
| 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 TagAttendee operation.
/// </summary>
public partial class TagAttendeeResponse : 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 TagMeeting operation.
/// Applies the specified tags to the specified 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_TagResource.html">TagResource</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 TagMeetingRequest : AmazonChimeRequest
{
private string _meetingId;
private List<Tag> _tags = new List<Tag>();
/// <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(Required=true, 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;
}
}
}
| 93 |
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 TagMeeting operation.
/// </summary>
public partial class TagMeetingResponse : 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 TagResource operation.
/// Applies the specified tags to the specified Amazon Chime SDK meeting resource.
///
/// <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_TagResource.html">TagResource</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 TagResourceRequest : AmazonChimeRequest
{
private string _resourceARN;
private List<Tag> _tags = new List<Tag>();
/// <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;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tag key-value pairs.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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;
}
}
}
| 93 |
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 TagResource operation.
/// </summary>
public partial class TagResourceResponse : 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>
/// Settings that allow management of telephony permissions for an Amazon Chime user,
/// such as inbound and outbound calling and text messaging.
/// </summary>
public partial class TelephonySettings
{
private bool? _inboundCalling;
private bool? _outboundCalling;
private bool? _sms;
/// <summary>
/// Gets and sets the property InboundCalling.
/// <para>
/// Allows or denies inbound calling.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool InboundCalling
{
get { return this._inboundCalling.GetValueOrDefault(); }
set { this._inboundCalling = value; }
}
// Check to see if InboundCalling property is set
internal bool IsSetInboundCalling()
{
return this._inboundCalling.HasValue;
}
/// <summary>
/// Gets and sets the property OutboundCalling.
/// <para>
/// Allows or denies outbound calling.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool OutboundCalling
{
get { return this._outboundCalling.GetValueOrDefault(); }
set { this._outboundCalling = value; }
}
// Check to see if OutboundCalling property is set
internal bool IsSetOutboundCalling()
{
return this._outboundCalling.HasValue;
}
/// <summary>
/// Gets and sets the property SMS.
/// <para>
/// Allows or denies SMS messaging.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool SMS
{
get { return this._sms.GetValueOrDefault(); }
set { this._sms = value; }
}
// Check to see if SMS property is set
internal bool IsSetSMS()
{
return this._sms.HasValue;
}
}
}
| 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>
/// Termination settings enable your SIP hosts to make outbound calls using your Amazon
/// Chime Voice Connector.
/// </summary>
public partial class Termination
{
private List<string> _callingRegions = new List<string>();
private List<string> _cidrAllowedList = new List<string>();
private int? _cpsLimit;
private string _defaultPhoneNumber;
private bool? _disabled;
/// <summary>
/// Gets and sets the property CallingRegions.
/// <para>
/// The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
/// </para>
/// </summary>
public List<string> CallingRegions
{
get { return this._callingRegions; }
set { this._callingRegions = value; }
}
// Check to see if CallingRegions property is set
internal bool IsSetCallingRegions()
{
return this._callingRegions != null && this._callingRegions.Count > 0;
}
/// <summary>
/// Gets and sets the property CidrAllowedList.
/// <para>
/// The IP addresses allowed to make calls, in CIDR format. Required.
/// </para>
/// </summary>
public List<string> CidrAllowedList
{
get { return this._cidrAllowedList; }
set { this._cidrAllowedList = value; }
}
// Check to see if CidrAllowedList property is set
internal bool IsSetCidrAllowedList()
{
return this._cidrAllowedList != null && this._cidrAllowedList.Count > 0;
}
/// <summary>
/// Gets and sets the property CpsLimit.
/// <para>
/// The limit on calls per second. Max value based on account service quota. Default value
/// of 1.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int CpsLimit
{
get { return this._cpsLimit.GetValueOrDefault(); }
set { this._cpsLimit = value; }
}
// Check to see if CpsLimit property is set
internal bool IsSetCpsLimit()
{
return this._cpsLimit.HasValue;
}
/// <summary>
/// Gets and sets the property DefaultPhoneNumber.
/// <para>
/// The default caller ID phone number.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string DefaultPhoneNumber
{
get { return this._defaultPhoneNumber; }
set { this._defaultPhoneNumber = value; }
}
// Check to see if DefaultPhoneNumber property is set
internal bool IsSetDefaultPhoneNumber()
{
return this._defaultPhoneNumber != null;
}
/// <summary>
/// Gets and sets the property Disabled.
/// <para>
/// When termination settings are disabled, outbound calls can not be made.
/// </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;
}
}
}
| 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 termination health details, including the source IP address and timestamp of the
/// last successful SIP <code>OPTIONS</code> message from your SIP infrastructure.
/// </summary>
public partial class TerminationHealth
{
private string _source;
private DateTime? _timestamp;
/// <summary>
/// Gets and sets the property Source.
/// <para>
/// The source IP address.
/// </para>
/// </summary>
public string Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
/// <summary>
/// Gets and sets the property Timestamp.
/// <para>
/// The timestamp, in ISO 8601 format.
/// </para>
/// </summary>
public DateTime Timestamp
{
get { return this._timestamp.GetValueOrDefault(); }
set { this._timestamp = value; }
}
// Check to see if Timestamp property is set
internal bool IsSetTimestamp()
{
return this._timestamp.HasValue;
}
}
}
| 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 client exceeded its request rate limit.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ThrottledClientException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new ThrottledClientException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ThrottledClientException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ThrottledClientException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ThrottledClientException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ThrottledClientException
/// </summary>
/// <param name="innerException"></param>
public ThrottledClientException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ThrottledClientException
/// </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 ThrottledClientException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ThrottledClientException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ThrottledClientException(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 ThrottledClientException 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 ThrottledClientException(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 configuration for the current transcription operation. Must contain <code>EngineTranscribeSettings</code>
/// or <code>EngineTranscribeMedicalSettings</code>.
/// </summary>
public partial class TranscriptionConfiguration
{
private EngineTranscribeMedicalSettings _engineTranscribeMedicalSettings;
private EngineTranscribeSettings _engineTranscribeSettings;
/// <summary>
/// Gets and sets the property EngineTranscribeMedicalSettings.
/// <para>
/// The transcription configuration settings passed to Amazon Transcribe Medical.
/// </para>
/// </summary>
public EngineTranscribeMedicalSettings EngineTranscribeMedicalSettings
{
get { return this._engineTranscribeMedicalSettings; }
set { this._engineTranscribeMedicalSettings = value; }
}
// Check to see if EngineTranscribeMedicalSettings property is set
internal bool IsSetEngineTranscribeMedicalSettings()
{
return this._engineTranscribeMedicalSettings != null;
}
/// <summary>
/// Gets and sets the property EngineTranscribeSettings.
/// <para>
/// The transcription configuration settings passed to Amazon Transcribe.
/// </para>
/// </summary>
public EngineTranscribeSettings EngineTranscribeSettings
{
get { return this._engineTranscribeSettings; }
set { this._engineTranscribeSettings = value; }
}
// Check to see if EngineTranscribeSettings property is set
internal bool IsSetEngineTranscribeSettings()
{
return this._engineTranscribeSettings != 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 client is not currently authorized to make the request.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class UnauthorizedClientException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new UnauthorizedClientException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public UnauthorizedClientException(string message)
: base(message) {}
/// <summary>
/// Construct instance of UnauthorizedClientException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public UnauthorizedClientException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of UnauthorizedClientException
/// </summary>
/// <param name="innerException"></param>
public UnauthorizedClientException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of UnauthorizedClientException
/// </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 UnauthorizedClientException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of UnauthorizedClientException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnauthorizedClientException(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 UnauthorizedClientException 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 UnauthorizedClientException(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 request was well-formed but was unable to be followed due to semantic errors.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class UnprocessableEntityException : AmazonChimeException
{
private ErrorCode _code;
/// <summary>
/// Constructs a new UnprocessableEntityException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public UnprocessableEntityException(string message)
: base(message) {}
/// <summary>
/// Construct instance of UnprocessableEntityException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public UnprocessableEntityException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of UnprocessableEntityException
/// </summary>
/// <param name="innerException"></param>
public UnprocessableEntityException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of UnprocessableEntityException
/// </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 UnprocessableEntityException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of UnprocessableEntityException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnprocessableEntityException(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 UnprocessableEntityException 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 UnprocessableEntityException(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>
/// Container for the parameters to the UntagAttendee operation.
/// Untags the specified tags from the specified Amazon Chime SDK attendee.
///
/// <important>
/// <para>
/// UntagAttendee is not supported in the Amazon Chime SDK Meetings Namespace. Update
/// your application to remove calls to this API.
/// </para>
/// </important>
/// </summary>
public partial class UntagAttendeeRequest : AmazonChimeRequest
{
private string _attendeeId;
private string _meetingId;
private List<string> _tagKeys = new List<string>();
/// <summary>
/// Gets and sets the property AttendeeId.
/// <para>
/// The Amazon Chime SDK attendee ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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 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 TagKeys.
/// <para>
/// The tag keys.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=10)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
}
| 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 UntagAttendee operation.
/// </summary>
public partial class UntagAttendeeResponse : 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 UntagMeeting operation.
/// Untags the specified tags from the specified 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_UntagResource.html">UntagResource</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 UntagMeetingRequest : AmazonChimeRequest
{
private string _meetingId;
private List<string> _tagKeys = new List<string>();
/// <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 TagKeys.
/// <para>
/// The tag keys.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=50)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
}
| 93 |
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 UntagMeeting operation.
/// </summary>
public partial class UntagMeetingResponse : 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 UntagResource operation.
/// Untags the specified tags from the specified Amazon Chime SDK meeting resource.
///
///
/// <para>
/// Applies the specified tags to the specified Amazon Chime SDK meeting resource.
/// </para>
/// <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_UntagResource.html">UntagResource</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 UntagResourceRequest : AmazonChimeRequest
{
private string _resourceARN;
private List<string> _tagKeys = new List<string>();
/// <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;
}
/// <summary>
/// Gets and sets the property TagKeys.
/// <para>
/// The tag keys.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=50)]
public List<string> TagKeys
{
get { return this._tagKeys; }
set { this._tagKeys = value; }
}
// Check to see if TagKeys property is set
internal bool IsSetTagKeys()
{
return this._tagKeys != null && this._tagKeys.Count > 0;
}
}
}
| 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 UntagResource operation.
/// </summary>
public partial class UntagResourceResponse : 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 UpdateAccount operation.
/// Updates account details for the specified Amazon Chime account. Currently, only account
/// name and default license updates are supported for this action.
/// </summary>
public partial class UpdateAccountRequest : AmazonChimeRequest
{
private string _accountId;
private License _defaultLicense;
private string _name;
/// <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 DefaultLicense.
/// <para>
/// The default license applied when you add users to an 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 new name for the specified Amazon Chime account.
/// </para>
/// </summary>
[AWSProperty(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;
}
}
}
| 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 UpdateAccount operation.
/// </summary>
public partial class UpdateAccountResponse : AmazonWebServiceResponse
{
private Account _account;
/// <summary>
/// Gets and sets the property Account.
/// <para>
/// The updated 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 UpdateAccountSettings operation.
/// Updates the settings for the specified Amazon Chime account. You can update settings
/// for remote control of shared screens, or for the dial-out option. 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 UpdateAccountSettingsRequest : AmazonChimeRequest
{
private string _accountId;
private AccountSettings _accountSettings;
/// <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 AccountSettings.
/// <para>
/// The Amazon Chime account settings to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AccountSettings AccountSettings
{
get { return this._accountSettings; }
set { this._accountSettings = value; }
}
// Check to see if AccountSettings property is set
internal bool IsSetAccountSettings()
{
return this._accountSettings != null;
}
}
}
| 82 |
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 UpdateAccountSettings operation.
/// </summary>
public partial class UpdateAccountSettingsResponse : 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 UpdateAppInstance operation.
/// Updates <code>AppInstance</code> metadata.
///
/// <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_UpdateAppInstance.html">UpdateAppInstance</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 UpdateAppInstanceRequest : AmazonChimeRequest
{
private string _appInstanceArn;
private string _metadata;
private string _name;
/// <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;
}
/// <summary>
/// Gets and sets the property Metadata.
/// <para>
/// The metadata that you want to change.
/// </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 that you want to change.
/// </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;
}
}
}
| 113 |
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 UpdateAppInstance operation.
/// </summary>
public partial class UpdateAppInstanceResponse : AmazonWebServiceResponse
{
private string _appInstanceArn;
/// <summary>
/// Gets and sets the property AppInstanceArn.
/// <para>
/// The 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 UpdateAppInstanceUser operation.
/// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata.
///
/// <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_UpdateAppInstanceUser.html">UpdateAppInstanceUser</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 UpdateAppInstanceUserRequest : AmazonChimeRequest
{
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(Required=true, 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 the <code>AppInstanceUser</code>.
/// </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;
}
}
}
| 113 |
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 UpdateAppInstanceUser operation.
/// </summary>
public partial class UpdateAppInstanceUserResponse : AmazonWebServiceResponse
{
private string _appInstanceUserArn;
/// <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;
}
}
}
| 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 UpdateBot operation.
/// Updates the status of the specified bot, such as starting or stopping the bot from
/// running in your Amazon Chime Enterprise account.
/// </summary>
public partial class UpdateBotRequest : AmazonChimeRequest
{
private string _accountId;
private string _botId;
private bool? _disabled;
/// <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 BotId.
/// <para>
/// The bot ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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 Disabled.
/// <para>
/// When true, stops the specified bot 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;
}
}
}
| 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 UpdateBot operation.
/// </summary>
public partial class UpdateBotResponse : AmazonWebServiceResponse
{
private Bot _bot;
/// <summary>
/// Gets and sets the property Bot.
/// <para>
/// The updated 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 UpdateChannelMessage operation.
/// Updates the content of a message.
///
/// <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_UpdateChannelMessage.html">UpdateChannelMessage</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 UpdateChannelMessageRequest : AmazonChimeRequest
{
private string _channelArn;
private string _chimeBearer;
private string _content;
private string _messageId;
private string _metadata;
/// <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 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 Content.
/// <para>
/// The content of the message being updated.
/// </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 MessageId.
/// <para>
/// The ID string of the message being updated.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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 being updated.
/// </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;
}
}
}
| 158 |
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 UpdateChannelMessage operation.
/// </summary>
public partial class UpdateChannelMessageResponse : AmazonWebServiceResponse
{
private string _channelArn;
private string _messageId;
/// <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 MessageId.
/// <para>
/// The ID string of the message being updated.
/// </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;
}
}
}
| 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 UpdateChannelReadMarker operation.
/// The details of the time when a user last read messages in a channel.
///
/// <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_UpdateChannelReadMarker.html">UpdateChannelReadMarker</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 UpdateChannelReadMarkerRequest : AmazonChimeRequest
{
private string _channelArn;
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 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;
}
}
}
| 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 UpdateChannelReadMarker operation.
/// </summary>
public partial class UpdateChannelReadMarkerResponse : 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 UpdateChannel operation.
/// Update a channel's attributes.
///
///
/// <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_UpdateChannel.html">UpdateChannel</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 UpdateChannelRequest : AmazonChimeRequest
{
private string _channelArn;
private string _chimeBearer;
private string _metadata;
private ChannelMode _mode;
private string _name;
/// <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 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 Metadata.
/// <para>
/// The metadata for the update request.
/// </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 update request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 162 |
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 UpdateChannel operation.
/// </summary>
public partial class UpdateChannelResponse : 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 UpdateGlobalSettings operation.
/// Updates global settings for the administrator's AWS account, such as Amazon Chime
/// Business Calling and Amazon Chime Voice Connector settings.
/// </summary>
public partial class UpdateGlobalSettingsRequest : AmazonChimeRequest
{
private BusinessCallingSettings _businessCalling;
private VoiceConnectorSettings _voiceConnector;
/// <summary>
/// Gets and sets the property BusinessCalling.
/// <para>
/// The Amazon Chime Business Calling settings.
/// </para>
/// </summary>
public BusinessCallingSettings BusinessCalling
{
get { return this._businessCalling; }
set { this._businessCalling = value; }
}
// Check to see if BusinessCalling property is set
internal bool IsSetBusinessCalling()
{
return this._businessCalling != null;
}
/// <summary>
/// Gets and sets the property VoiceConnector.
/// <para>
/// The Amazon Chime Voice Connector settings.
/// </para>
/// </summary>
public VoiceConnectorSettings VoiceConnector
{
get { return this._voiceConnector; }
set { this._voiceConnector = value; }
}
// Check to see if VoiceConnector property is set
internal bool IsSetVoiceConnector()
{
return this._voiceConnector != 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>
/// This is the response object from the UpdateGlobalSettings operation.
/// </summary>
public partial class UpdateGlobalSettingsResponse : 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 UpdatePhoneNumber operation.
/// Updates phone number details, such as product type or calling name, for the specified
/// phone number ID. You can update one phone number detail at a time. For example, you
/// can update either the product type or the calling name in one action.
///
///
/// <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 72 hours to complete. Pending updates to
/// outbound calling names must be complete before you can request another update.
/// </para>
/// </summary>
public partial class UpdatePhoneNumberRequest : AmazonChimeRequest
{
private string _callingName;
private string _phoneNumberId;
private PhoneNumberProductType _productType;
/// <summary>
/// Gets and sets the property CallingName.
/// <para>
/// The outbound calling name associated with the phone number.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string CallingName
{
get { return this._callingName; }
set { this._callingName = value; }
}
// Check to see if CallingName property is set
internal bool IsSetCallingName()
{
return this._callingName != null;
}
/// <summary>
/// Gets and sets the property PhoneNumberId.
/// <para>
/// The phone number ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string PhoneNumberId
{
get { return this._phoneNumberId; }
set { this._phoneNumberId = value; }
}
// Check to see if PhoneNumberId property is set
internal bool IsSetPhoneNumberId()
{
return this._phoneNumberId != null;
}
/// <summary>
/// Gets and sets the property ProductType.
/// <para>
/// The product type.
/// </para>
/// </summary>
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;
}
}
}
| 112 |
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 phone number ID, product type, or calling name fields to update, used with the
/// <a>BatchUpdatePhoneNumber</a> and <a>UpdatePhoneNumber</a> actions.
/// </summary>
public partial class UpdatePhoneNumberRequestItem
{
private string _callingName;
private string _phoneNumberId;
private PhoneNumberProductType _productType;
/// <summary>
/// Gets and sets the property CallingName.
/// <para>
/// The outbound calling name to update.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string CallingName
{
get { return this._callingName; }
set { this._callingName = value; }
}
// Check to see if CallingName property is set
internal bool IsSetCallingName()
{
return this._callingName != null;
}
/// <summary>
/// Gets and sets the property PhoneNumberId.
/// <para>
/// The phone number ID to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string PhoneNumberId
{
get { return this._phoneNumberId; }
set { this._phoneNumberId = value; }
}
// Check to see if PhoneNumberId property is set
internal bool IsSetPhoneNumberId()
{
return this._phoneNumberId != null;
}
/// <summary>
/// Gets and sets the property ProductType.
/// <para>
/// The product type to update.
/// </para>
/// </summary>
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;
}
}
}
| 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 UpdatePhoneNumber operation.
/// </summary>
public partial class UpdatePhoneNumberResponse : AmazonWebServiceResponse
{
private PhoneNumber _phoneNumber;
/// <summary>
/// Gets and sets the property PhoneNumber.
/// <para>
/// The updated phone number details.
/// </para>
/// </summary>
public PhoneNumber PhoneNumber
{
get { return this._phoneNumber; }
set { this._phoneNumber = value; }
}
// Check to see if PhoneNumber property is set
internal bool IsSetPhoneNumber()
{
return this._phoneNumber != 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 UpdatePhoneNumberSettings operation.
/// Updates the phone number settings for the administrator's AWS account, such as the
/// default outbound calling name. You can update the default outbound calling name once
/// every seven days. Outbound calling names can take up to 72 hours to update.
/// </summary>
public partial class UpdatePhoneNumberSettingsRequest : AmazonChimeRequest
{
private string _callingName;
/// <summary>
/// Gets and sets the property CallingName.
/// <para>
/// The default outbound calling name for the account.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public string CallingName
{
get { return this._callingName; }
set { this._callingName = value; }
}
// Check to see if CallingName property is set
internal bool IsSetCallingName()
{
return this._callingName != null;
}
}
}
| 61 |
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 UpdatePhoneNumberSettings operation.
/// </summary>
public partial class UpdatePhoneNumberSettingsResponse : 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 UpdateProxySession operation.
/// Updates the specified proxy session details, such as voice or SMS capabilities.
///
/// <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_UpdateProxySession.html">UpdateProxySession</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 UpdateProxySessionRequest : AmazonChimeRequest
{
private List<string> _capabilities = new List<string>();
private int? _expiryMinutes;
private string _proxySessionId;
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 ProxySessionId.
/// <para>
/// The proxy session ID.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=128)]
public string ProxySessionId
{
get { return this._proxySessionId; }
set { this._proxySessionId = value; }
}
// Check to see if ProxySessionId property is set
internal bool IsSetProxySessionId()
{
return this._proxySessionId != null;
}
/// <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;
}
}
}
| 133 |
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 UpdateProxySession operation.
/// </summary>
public partial class UpdateProxySessionResponse : 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 UpdateRoomMembership operation.
/// Updates room membership details, such as the member role, for a room in an Amazon
/// Chime Enterprise account. The member role designates whether the member is a chat
/// room administrator or a general chat room member. The member role can be updated only
/// for user IDs.
/// </summary>
public partial class UpdateRoomMembershipRequest : 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 member 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;
}
}
}
| 121 |
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 UpdateRoomMembership operation.
/// </summary>
public partial class UpdateRoomMembershipResponse : AmazonWebServiceResponse
{
private RoomMembership _roomMembership;
/// <summary>
/// Gets and sets the property RoomMembership.
/// <para>
/// The room membership details.
/// </para>
/// </summary>
public RoomMembership RoomMembership
{
get { return this._roomMembership; }
set { this._roomMembership = value; }
}
// Check to see if RoomMembership property is set
internal bool IsSetRoomMembership()
{
return this._roomMembership != 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 UpdateRoom operation.
/// Updates room details, such as the room name, for a room in an Amazon Chime Enterprise
/// account.
/// </summary>
public partial class UpdateRoomRequest : AmazonChimeRequest
{
private string _accountId;
private string _name;
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 Name.
/// <para>
/// The room name.
/// </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 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;
}
}
}
| 100 |
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 UpdateRoom operation.
/// </summary>
public partial class UpdateRoomResponse : AmazonWebServiceResponse
{
private Room _room;
/// <summary>
/// Gets and sets the property Room.
/// <para>
/// The room details.
/// </para>
/// </summary>
public Room Room
{
get { return this._room; }
set { this._room = value; }
}
// Check to see if Room property is set
internal bool IsSetRoom()
{
return this._room != 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 UpdateSipMediaApplicationCall operation.
/// Invokes the AWS Lambda function associated with the SIP media application and transaction
/// ID in an update request. The Lambda function can then return a new set of 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_voice-chime_UpdateSipMediaApplicationCall.html">UpdateSipMediaApplicationCall</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 UpdateSipMediaApplicationCallRequest : AmazonChimeRequest
{
private Dictionary<string, string> _arguments = new Dictionary<string, string>();
private string _sipMediaApplicationId;
private string _transactionId;
/// <summary>
/// Gets and sets the property Arguments.
/// <para>
/// Arguments made available to the Lambda function as part of the <code>CALL_UPDATE_REQUESTED</code>
/// event. Can contain 0-20 key-value pairs.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=20)]
public Dictionary<string, string> Arguments
{
get { return this._arguments; }
set { this._arguments = value; }
}
// Check to see if Arguments property is set
internal bool IsSetArguments()
{
return this._arguments != null && this._arguments.Count > 0;
}
/// <summary>
/// Gets and sets the property SipMediaApplicationId.
/// <para>
/// The ID of the SIP media application handling the call.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SipMediaApplicationId
{
get { return this._sipMediaApplicationId; }
set { this._sipMediaApplicationId = value; }
}
// Check to see if SipMediaApplicationId property is set
internal bool IsSetSipMediaApplicationId()
{
return this._sipMediaApplicationId != null;
}
/// <summary>
/// Gets and sets the property TransactionId.
/// <para>
/// The ID of the call transaction.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
}
| 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>
/// This is the response object from the UpdateSipMediaApplicationCall operation.
/// </summary>
public partial class UpdateSipMediaApplicationCallResponse : AmazonWebServiceResponse
{
private SipMediaApplicationCall _sipMediaApplicationCall;
/// <summary>
/// Gets and sets the property SipMediaApplicationCall.
/// <para>
/// A <code>Call</code> instance for a SIP media application.
/// </para>
/// </summary>
public SipMediaApplicationCall SipMediaApplicationCall
{
get { return this._sipMediaApplicationCall; }
set { this._sipMediaApplicationCall = value; }
}
// Check to see if SipMediaApplicationCall property is set
internal bool IsSetSipMediaApplicationCall()
{
return this._sipMediaApplicationCall != 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 UpdateSipMediaApplication operation.
/// Updates the details of the specified SIP media application.
///
/// <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_UpdateSipMediaApplication.html">UpdateSipMediaApplication</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 UpdateSipMediaApplicationRequest : AmazonChimeRequest
{
private List<SipMediaApplicationEndpoint> _endpoints = new List<SipMediaApplicationEndpoint>();
private string _name;
private string _sipMediaApplicationId;
/// <summary>
/// Gets and sets the property Endpoints.
/// <para>
/// The new set of endpoints for the specified SIP media application.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1)]
public List<SipMediaApplicationEndpoint> Endpoints
{
get { return this._endpoints; }
set { this._endpoints = value; }
}
// Check to see if Endpoints property is set
internal bool IsSetEndpoints()
{
return this._endpoints != null && this._endpoints.Count > 0;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The new name for the specified SIP media application.
/// </para>
/// </summary>
[AWSProperty(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 SipMediaApplicationId.
/// <para>
/// The SIP media application ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SipMediaApplicationId
{
get { return this._sipMediaApplicationId; }
set { this._sipMediaApplicationId = value; }
}
// Check to see if SipMediaApplicationId property is set
internal bool IsSetSipMediaApplicationId()
{
return this._sipMediaApplicationId != null;
}
}
}
| 113 |
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 UpdateSipMediaApplication operation.
/// </summary>
public partial class UpdateSipMediaApplicationResponse : AmazonWebServiceResponse
{
private SipMediaApplication _sipMediaApplication;
/// <summary>
/// Gets and sets the property SipMediaApplication.
/// <para>
/// The updated SIP media application details.
/// </para>
/// </summary>
public SipMediaApplication SipMediaApplication
{
get { return this._sipMediaApplication; }
set { this._sipMediaApplication = value; }
}
// Check to see if SipMediaApplication property is set
internal bool IsSetSipMediaApplication()
{
return this._sipMediaApplication != 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 UpdateSipRule operation.
/// Updates the details of the specified SIP rule.
///
/// <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_UpdateSipRule.html">UpdateSipRule</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 UpdateSipRuleRequest : AmazonChimeRequest
{
private bool? _disabled;
private string _name;
private string _sipRuleId;
private List<SipRuleTargetApplication> _targetApplications = new List<SipRuleTargetApplication>();
/// <summary>
/// Gets and sets the property Disabled.
/// <para>
/// The new value specified to indicate whether the rule is disabled.
/// </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 Name.
/// <para>
/// The new name for the specified SIP rule.
/// </para>
/// </summary>
[AWSProperty(Required=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 SipRuleId.
/// <para>
/// The SIP rule ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SipRuleId
{
get { return this._sipRuleId; }
set { this._sipRuleId = value; }
}
// Check to see if SipRuleId property is set
internal bool IsSetSipRuleId()
{
return this._sipRuleId != null;
}
/// <summary>
/// Gets and sets the property TargetApplications.
/// <para>
/// The new value of the list of target applications.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=25)]
public List<SipRuleTargetApplication> TargetApplications
{
get { return this._targetApplications; }
set { this._targetApplications = value; }
}
// Check to see if TargetApplications property is set
internal bool IsSetTargetApplications()
{
return this._targetApplications != null && this._targetApplications.Count > 0;
}
}
}
| 132 |
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 UpdateSipRule operation.
/// </summary>
public partial class UpdateSipRuleResponse : AmazonWebServiceResponse
{
private SipRule _sipRule;
/// <summary>
/// Gets and sets the property SipRule.
/// <para>
/// Updated SIP rule details.
/// </para>
/// </summary>
public SipRule SipRule
{
get { return this._sipRule; }
set { this._sipRule = value; }
}
// Check to see if SipRule property is set
internal bool IsSetSipRule()
{
return this._sipRule != 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 UpdateUser operation.
/// Updates user details for a specified user ID. Currently, only <code>LicenseType</code>
/// updates are supported for this action.
/// </summary>
public partial class UpdateUserRequest : AmazonChimeRequest
{
private string _accountId;
private AlexaForBusinessMetadata _alexaForBusinessMetadata;
private License _licenseType;
private string _userId;
private UserType _userType;
/// <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 AlexaForBusinessMetadata.
/// <para>
/// The Alexa for Business metadata.
/// </para>
/// </summary>
public AlexaForBusinessMetadata AlexaForBusinessMetadata
{
get { return this._alexaForBusinessMetadata; }
set { this._alexaForBusinessMetadata = value; }
}
// Check to see if AlexaForBusinessMetadata property is set
internal bool IsSetAlexaForBusinessMetadata()
{
return this._alexaForBusinessMetadata != null;
}
/// <summary>
/// Gets and sets the property LicenseType.
/// <para>
/// The user license type to update. This must be a supported license type for the Amazon
/// Chime account that the user belongs to.
/// </para>
/// </summary>
public License LicenseType
{
get { return this._licenseType; }
set { this._licenseType = value; }
}
// Check to see if LicenseType property is set
internal bool IsSetLicenseType()
{
return this._licenseType != 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;
}
/// <summary>
/// Gets and sets the property UserType.
/// <para>
/// The user type.
/// </para>
/// </summary>
public UserType UserType
{
get { return this._userType; }
set { this._userType = value; }
}
// Check to see if UserType property is set
internal bool IsSetUserType()
{
return this._userType != 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>
/// The user ID and user fields to update, used with the <a>BatchUpdateUser</a> action.
/// </summary>
public partial class UpdateUserRequestItem
{
private AlexaForBusinessMetadata _alexaForBusinessMetadata;
private License _licenseType;
private string _userId;
private UserType _userType;
/// <summary>
/// Gets and sets the property AlexaForBusinessMetadata.
/// <para>
/// The Alexa for Business metadata.
/// </para>
/// </summary>
public AlexaForBusinessMetadata AlexaForBusinessMetadata
{
get { return this._alexaForBusinessMetadata; }
set { this._alexaForBusinessMetadata = value; }
}
// Check to see if AlexaForBusinessMetadata property is set
internal bool IsSetAlexaForBusinessMetadata()
{
return this._alexaForBusinessMetadata != null;
}
/// <summary>
/// Gets and sets the property LicenseType.
/// <para>
/// The user license type.
/// </para>
/// </summary>
public License LicenseType
{
get { return this._licenseType; }
set { this._licenseType = value; }
}
// Check to see if LicenseType property is set
internal bool IsSetLicenseType()
{
return this._licenseType != 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;
}
/// <summary>
/// Gets and sets the property UserType.
/// <para>
/// The user type.
/// </para>
/// </summary>
public UserType UserType
{
get { return this._userType; }
set { this._userType = value; }
}
// Check to see if UserType property is set
internal bool IsSetUserType()
{
return this._userType != 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>
/// This is the response object from the UpdateUser operation.
/// </summary>
public partial class UpdateUserResponse : AmazonWebServiceResponse
{
private User _user;
/// <summary>
/// Gets and sets the property User.
/// <para>
/// The updated user details.
/// </para>
/// </summary>
public User User
{
get { return this._user; }
set { this._user = value; }
}
// Check to see if User property is set
internal bool IsSetUser()
{
return this._user != 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 UpdateUserSettings operation.
/// Updates the settings for the specified user, such as phone number settings.
/// </summary>
public partial class UpdateUserSettingsRequest : AmazonChimeRequest
{
private string _accountId;
private string _userId;
private UserSettings _userSettings;
/// <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 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;
}
/// <summary>
/// Gets and sets the property UserSettings.
/// <para>
/// The user settings to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public UserSettings UserSettings
{
get { return this._userSettings; }
set { this._userSettings = value; }
}
// Check to see if UserSettings property is set
internal bool IsSetUserSettings()
{
return this._userSettings != 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 UpdateUserSettings operation.
/// </summary>
public partial class UpdateUserSettingsResponse : 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 UpdateVoiceConnectorGroup operation.
/// Updates details of the specified Amazon Chime Voice Connector group, such as the name
/// and Amazon Chime Voice Connector priority ranking.
///
/// <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_UpdateVoiceConnectorGroup.html">UpdateVoiceConnectorGroup</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 UpdateVoiceConnectorGroupRequest : AmazonChimeRequest
{
private string _name;
private string _voiceConnectorGroupId;
private List<VoiceConnectorItem> _voiceConnectorItems = new List<VoiceConnectorItem>();
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the Amazon Chime Voice Connector group.
/// </para>
/// </summary>
[AWSProperty(Required=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 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;
}
/// <summary>
/// Gets and sets the property VoiceConnectorItems.
/// <para>
/// The <code>VoiceConnectorItems</code> to associate with the group.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<VoiceConnectorItem> VoiceConnectorItems
{
get { return this._voiceConnectorItems; }
set { this._voiceConnectorItems = value; }
}
// Check to see if VoiceConnectorItems property is set
internal bool IsSetVoiceConnectorItems()
{
return this._voiceConnectorItems != null && this._voiceConnectorItems.Count > 0;
}
}
}
| 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 UpdateVoiceConnectorGroup operation.
/// </summary>
public partial class UpdateVoiceConnectorGroupResponse : AmazonWebServiceResponse
{
private VoiceConnectorGroup _voiceConnectorGroup;
/// <summary>
/// Gets and sets the property VoiceConnectorGroup.
/// <para>
/// The updated Amazon Chime Voice Connector group details.
/// </para>
/// </summary>
public VoiceConnectorGroup VoiceConnectorGroup
{
get { return this._voiceConnectorGroup; }
set { this._voiceConnectorGroup = value; }
}
// Check to see if VoiceConnectorGroup property is set
internal bool IsSetVoiceConnectorGroup()
{
return this._voiceConnectorGroup != 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 UpdateVoiceConnector operation.
/// Updates details for 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_UpdateVoiceConnector.html">UpdateVoiceConnector</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 UpdateVoiceConnectorRequest : AmazonChimeRequest
{
private string _name;
private bool? _requireEncryption;
private string _voiceConnectorId;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the Amazon Chime Voice Connector.
/// </para>
/// </summary>
[AWSProperty(Required=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 RequireEncryption.
/// <para>
/// When enabled, requires encryption for the Amazon Chime Voice Connector.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool RequireEncryption
{
get { return this._requireEncryption.GetValueOrDefault(); }
set { this._requireEncryption = value; }
}
// Check to see if RequireEncryption property is set
internal bool IsSetRequireEncryption()
{
return this._requireEncryption.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;
}
}
}
| 113 |
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 UpdateVoiceConnector operation.
/// </summary>
public partial class UpdateVoiceConnectorResponse : AmazonWebServiceResponse
{
private VoiceConnector _voiceConnector;
/// <summary>
/// Gets and sets the property VoiceConnector.
/// <para>
/// The updated Amazon Chime Voice Connector details.
/// </para>
/// </summary>
public VoiceConnector VoiceConnector
{
get { return this._voiceConnector; }
set { this._voiceConnector = value; }
}
// Check to see if VoiceConnector property is set
internal bool IsSetVoiceConnector()
{
return this._voiceConnector != 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 user on the Amazon Chime account.
/// </summary>
public partial class User
{
private string _accountId;
private AlexaForBusinessMetadata _alexaForBusinessMetadata;
private string _displayName;
private DateTime? _invitedOn;
private License _licenseType;
private string _personalPIN;
private string _primaryEmail;
private string _primaryProvisionedNumber;
private DateTime? _registeredOn;
private string _userId;
private InviteStatus _userInvitationStatus;
private RegistrationStatus _userRegistrationStatus;
private UserType _userType;
/// <summary>
/// Gets and sets the property AccountId.
/// <para>
/// The Amazon Chime account ID.
/// </para>
/// </summary>
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 AlexaForBusinessMetadata.
/// <para>
/// The Alexa for Business metadata.
/// </para>
/// </summary>
public AlexaForBusinessMetadata AlexaForBusinessMetadata
{
get { return this._alexaForBusinessMetadata; }
set { this._alexaForBusinessMetadata = value; }
}
// Check to see if AlexaForBusinessMetadata property is set
internal bool IsSetAlexaForBusinessMetadata()
{
return this._alexaForBusinessMetadata != null;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The display name of the user.
/// </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 InvitedOn.
/// <para>
/// Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
/// </para>
/// </summary>
public DateTime InvitedOn
{
get { return this._invitedOn.GetValueOrDefault(); }
set { this._invitedOn = value; }
}
// Check to see if InvitedOn property is set
internal bool IsSetInvitedOn()
{
return this._invitedOn.HasValue;
}
/// <summary>
/// Gets and sets the property LicenseType.
/// <para>
/// The license type for the user.
/// </para>
/// </summary>
public License LicenseType
{
get { return this._licenseType; }
set { this._licenseType = value; }
}
// Check to see if LicenseType property is set
internal bool IsSetLicenseType()
{
return this._licenseType != null;
}
/// <summary>
/// Gets and sets the property PersonalPIN.
/// <para>
/// The user's personal meeting PIN.
/// </para>
/// </summary>
public string PersonalPIN
{
get { return this._personalPIN; }
set { this._personalPIN = value; }
}
// Check to see if PersonalPIN property is set
internal bool IsSetPersonalPIN()
{
return this._personalPIN != null;
}
/// <summary>
/// Gets and sets the property PrimaryEmail.
/// <para>
/// The primary email address of the user.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PrimaryEmail
{
get { return this._primaryEmail; }
set { this._primaryEmail = value; }
}
// Check to see if PrimaryEmail property is set
internal bool IsSetPrimaryEmail()
{
return this._primaryEmail != null;
}
/// <summary>
/// Gets and sets the property PrimaryProvisionedNumber.
/// <para>
/// The primary phone number associated with the user.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string PrimaryProvisionedNumber
{
get { return this._primaryProvisionedNumber; }
set { this._primaryProvisionedNumber = value; }
}
// Check to see if PrimaryProvisionedNumber property is set
internal bool IsSetPrimaryProvisionedNumber()
{
return this._primaryProvisionedNumber != null;
}
/// <summary>
/// Gets and sets the property RegisteredOn.
/// <para>
/// Date and time when the user is registered, in ISO 8601 format.
/// </para>
/// </summary>
public DateTime RegisteredOn
{
get { return this._registeredOn.GetValueOrDefault(); }
set { this._registeredOn = value; }
}
// Check to see if RegisteredOn property is set
internal bool IsSetRegisteredOn()
{
return this._registeredOn.HasValue;
}
/// <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;
}
/// <summary>
/// Gets and sets the property UserInvitationStatus.
/// <para>
/// The user invite status.
/// </para>
/// </summary>
public InviteStatus UserInvitationStatus
{
get { return this._userInvitationStatus; }
set { this._userInvitationStatus = value; }
}
// Check to see if UserInvitationStatus property is set
internal bool IsSetUserInvitationStatus()
{
return this._userInvitationStatus != null;
}
/// <summary>
/// Gets and sets the property UserRegistrationStatus.
/// <para>
/// The user registration status.
/// </para>
/// </summary>
public RegistrationStatus UserRegistrationStatus
{
get { return this._userRegistrationStatus; }
set { this._userRegistrationStatus = value; }
}
// Check to see if UserRegistrationStatus property is set
internal bool IsSetUserRegistrationStatus()
{
return this._userRegistrationStatus != null;
}
/// <summary>
/// Gets and sets the property UserType.
/// <para>
/// The user type.
/// </para>
/// </summary>
public UserType UserType
{
get { return this._userType; }
set { this._userType = value; }
}
// Check to see if UserType property is set
internal bool IsSetUserType()
{
return this._userType != null;
}
}
}
| 289 |
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 <a>BatchSuspendUser</a>,
/// <a>BatchUnsuspendUser</a>, or <a>BatchUpdateUser</a> actions. This includes user IDs,
/// error codes, and error messages.
/// </summary>
public partial class UserError
{
private ErrorCode _errorCode;
private string _errorMessage;
private string _userId;
/// <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 UserId.
/// <para>
/// The user ID for which the action failed.
/// </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;
}
}
}
| 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>
/// Settings associated with an Amazon Chime user, including inbound and outbound calling
/// and text messaging.
/// </summary>
public partial class UserSettings
{
private TelephonySettings _telephony;
/// <summary>
/// Gets and sets the property Telephony.
/// <para>
/// The telephony settings associated with the user.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TelephonySettings Telephony
{
get { return this._telephony; }
set { this._telephony = value; }
}
// Check to see if Telephony property is set
internal bool IsSetTelephony()
{
return this._telephony != null;
}
}
}
| 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 ValidateE911Address operation.
/// Validates an address to be used for 911 calls made with Amazon Chime Voice Connectors.
/// You can use validated addresses in a Presence Information Data Format Location Object
/// file that you include in SIP requests. That helps ensure that addresses are routed
/// to the appropriate Public Safety Answering Point.
///
/// <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_ValidateE911Address.html">ValidateE911Address</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 ValidateE911AddressRequest : AmazonChimeRequest
{
private string _awsAccountId;
private string _city;
private string _country;
private string _postalCode;
private string _state;
private string _streetInfo;
private string _streetNumber;
/// <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 City.
/// <para>
/// The address city, such as <code>Portland</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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 address country, such as <code>US</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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 address postal code, such as <code>04352</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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 State.
/// <para>
/// The address state, such as <code>ME</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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 address street information, such as <code>8th Avenue</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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 address street number, such as <code>200</code> or <code>2121</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, 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;
}
}
}
| 196 |
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 ValidateE911Address operation.
/// </summary>
public partial class ValidateE911AddressResponse : AmazonWebServiceResponse
{
private Address _address;
private string _addressExternalId;
private List<CandidateAddress> _candidateAddressList = new List<CandidateAddress>();
private int? _validationResult;
/// <summary>
/// Gets and sets the property Address.
/// <para>
/// The validated address.
/// </para>
/// </summary>
public Address Address
{
get { return this._address; }
set { this._address = value; }
}
// Check to see if Address property is set
internal bool IsSetAddress()
{
return this._address != null;
}
/// <summary>
/// Gets and sets the property AddressExternalId.
/// <para>
/// The ID that represents the address.
/// </para>
/// </summary>
public string AddressExternalId
{
get { return this._addressExternalId; }
set { this._addressExternalId = value; }
}
// Check to see if AddressExternalId property is set
internal bool IsSetAddressExternalId()
{
return this._addressExternalId != null;
}
/// <summary>
/// Gets and sets the property CandidateAddressList.
/// <para>
/// The list of address suggestions.
/// </para>
/// </summary>
public List<CandidateAddress> CandidateAddressList
{
get { return this._candidateAddressList; }
set { this._candidateAddressList = value; }
}
// Check to see if CandidateAddressList property is set
internal bool IsSetCandidateAddressList()
{
return this._candidateAddressList != null && this._candidateAddressList.Count > 0;
}
/// <summary>
/// Gets and sets the property ValidationResult.
/// <para>
/// Number indicating the result of address validation. <code>0</code> means the address
/// was perfect as is and successfully validated. <code>1</code> means the address was
/// corrected. <code>2</code> means the address sent was not close enough and was not
/// validated.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2)]
public int ValidationResult
{
get { return this._validationResult.GetValueOrDefault(); }
set { this._validationResult = value; }
}
// Check to see if ValidationResult property is set
internal bool IsSetValidationResult()
{
return this._validationResult.HasValue;
}
}
}
| 118 |
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 video artifact configuration object.
/// </summary>
public partial class VideoArtifactsConfiguration
{
private VideoMuxType _muxType;
private ArtifactsState _state;
/// <summary>
/// Gets and sets the property MuxType.
/// <para>
/// The MUX type of the video artifact configuration object.
/// </para>
/// </summary>
public VideoMuxType 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 video 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 Amazon Chime Voice Connector configuration, including outbound host name and encryption
/// settings.
/// </summary>
public partial class VoiceConnector
{
private VoiceConnectorAwsRegion _awsRegion;
private DateTime? _createdTimestamp;
private string _name;
private string _outboundHostName;
private bool? _requireEncryption;
private DateTime? _updatedTimestamp;
private string _voiceConnectorArn;
private string _voiceConnectorId;
/// <summary>
/// Gets and sets the property AwsRegion.
/// <para>
/// The AWS Region in which the Amazon Chime Voice Connector is created. Default: <code>us-east-1</code>.
///
/// </para>
/// </summary>
public VoiceConnectorAwsRegion AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The Amazon Chime Voice Connector 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 Name.
/// <para>
/// The name of the Amazon Chime Voice Connector.
/// </para>
/// </summary>
[AWSProperty(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 OutboundHostName.
/// <para>
/// The outbound host name for the Amazon Chime Voice Connector.
/// </para>
/// </summary>
public string OutboundHostName
{
get { return this._outboundHostName; }
set { this._outboundHostName = value; }
}
// Check to see if OutboundHostName property is set
internal bool IsSetOutboundHostName()
{
return this._outboundHostName != null;
}
/// <summary>
/// Gets and sets the property RequireEncryption.
/// <para>
/// Designates whether encryption is required for the Amazon Chime Voice Connector.
/// </para>
/// </summary>
public bool RequireEncryption
{
get { return this._requireEncryption.GetValueOrDefault(); }
set { this._requireEncryption = value; }
}
// Check to see if RequireEncryption property is set
internal bool IsSetRequireEncryption()
{
return this._requireEncryption.HasValue;
}
/// <summary>
/// Gets and sets the property UpdatedTimestamp.
/// <para>
/// The updated Amazon Chime Voice Connector 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 VoiceConnectorArn.
/// <para>
/// The ARN of the specified Amazon Chime Voice Connector.
/// </para>
/// </summary>
public string VoiceConnectorArn
{
get { return this._voiceConnectorArn; }
set { this._voiceConnectorArn = value; }
}
// Check to see if VoiceConnectorArn property is set
internal bool IsSetVoiceConnectorArn()
{
return this._voiceConnectorArn != null;
}
/// <summary>
/// Gets and sets the property VoiceConnectorId.
/// <para>
/// The Amazon Chime Voice Connector ID.
/// </para>
/// </summary>
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;
}
}
}
| 193 |
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 Voice Connector group configuration, including associated Amazon
/// Chime Voice Connectors. You can include Amazon Chime Voice Connectors from different
/// AWS Regions in your group. This creates a fault tolerant mechanism for fallback in
/// case of availability events.
/// </summary>
public partial class VoiceConnectorGroup
{
private DateTime? _createdTimestamp;
private string _name;
private DateTime? _updatedTimestamp;
private string _voiceConnectorGroupArn;
private string _voiceConnectorGroupId;
private List<VoiceConnectorItem> _voiceConnectorItems = new List<VoiceConnectorItem>();
/// <summary>
/// Gets and sets the property CreatedTimestamp.
/// <para>
/// The Amazon Chime Voice Connector group creation time stamp, 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 Name.
/// <para>
/// The name of the Amazon Chime Voice Connector group.
/// </para>
/// </summary>
[AWSProperty(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 UpdatedTimestamp.
/// <para>
/// The updated Amazon Chime Voice Connector group time stamp, 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 VoiceConnectorGroupArn.
/// <para>
/// The ARN of the specified Amazon Chime Voice Connector group.
/// </para>
/// </summary>
public string VoiceConnectorGroupArn
{
get { return this._voiceConnectorGroupArn; }
set { this._voiceConnectorGroupArn = value; }
}
// Check to see if VoiceConnectorGroupArn property is set
internal bool IsSetVoiceConnectorGroupArn()
{
return this._voiceConnectorGroupArn != null;
}
/// <summary>
/// Gets and sets the property VoiceConnectorGroupId.
/// <para>
/// The Amazon Chime Voice Connector group ID.
/// </para>
/// </summary>
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;
}
/// <summary>
/// Gets and sets the property VoiceConnectorItems.
/// <para>
/// The Amazon Chime Voice Connectors to which to route inbound calls.
/// </para>
/// </summary>
public List<VoiceConnectorItem> VoiceConnectorItems
{
get { return this._voiceConnectorItems; }
set { this._voiceConnectorItems = value; }
}
// Check to see if VoiceConnectorItems property is set
internal bool IsSetVoiceConnectorItems()
{
return this._voiceConnectorItems != null && this._voiceConnectorItems.Count > 0;
}
}
}
| 156 |
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>
/// For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors to which
/// to route inbound calls. Includes priority configuration settings. Limit: 3 <code>VoiceConnectorItems</code>
/// per Amazon Chime Voice Connector group.
/// </summary>
public partial class VoiceConnectorItem
{
private int? _priority;
private string _voiceConnectorId;
/// <summary>
/// Gets and sets the property Priority.
/// <para>
/// The priority associated with the Amazon Chime Voice Connector, with 1 being the highest
/// priority. Higher priority Amazon Chime Voice Connectors are attempted first.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=99)]
public int Priority
{
get { return this._priority.GetValueOrDefault(); }
set { this._priority = value; }
}
// Check to see if Priority property is set
internal bool IsSetPriority()
{
return this._priority.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;
}
}
}
| 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>
/// The Amazon Chime Voice Connector settings. Includes any Amazon S3 buckets designated
/// for storing call detail records.
/// </summary>
public partial class VoiceConnectorSettings
{
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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AccessDeniedException Object
/// </summary>
public class AccessDeniedExceptionUnmarshaller : IErrorResponseUnmarshaller<AccessDeniedException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AccessDeniedException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public AccessDeniedException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
AccessDeniedException unmarshalledObject = new AccessDeniedException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Code", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Code = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AccessDeniedExceptionUnmarshaller _instance = new AccessDeniedExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AccessDeniedExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 91 |
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.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// AccountSettings Marshaller
/// </summary>
public class AccountSettingsMarshaller : IRequestMarshaller<AccountSettings, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AccountSettings requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetDisableRemoteControl())
{
context.Writer.WritePropertyName("DisableRemoteControl");
context.Writer.Write(requestObject.DisableRemoteControl);
}
if(requestObject.IsSetEnableDialOut())
{
context.Writer.WritePropertyName("EnableDialOut");
context.Writer.Write(requestObject.EnableDialOut);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AccountSettingsMarshaller Instance = new AccountSettingsMarshaller();
}
}
| 68 |
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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AccountSettings Object
/// </summary>
public class AccountSettingsUnmarshaller : IUnmarshaller<AccountSettings, XmlUnmarshallerContext>, IUnmarshaller<AccountSettings, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AccountSettings IUnmarshaller<AccountSettings, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AccountSettings Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AccountSettings unmarshalledObject = new AccountSettings();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("DisableRemoteControl", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.DisableRemoteControl = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("EnableDialOut", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.EnableDialOut = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AccountSettingsUnmarshaller _instance = new AccountSettingsUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AccountSettingsUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Account Object
/// </summary>
public class AccountUnmarshaller : IUnmarshaller<Account, XmlUnmarshallerContext>, IUnmarshaller<Account, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Account IUnmarshaller<Account, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Account Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Account unmarshalledObject = new Account();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("AccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("AccountStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AccountStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("AccountType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AccountType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("AwsAccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AwsAccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("CreatedTimestamp", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedTimestamp = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("DefaultLicense", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DefaultLicense = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("SigninDelegateGroups", targetDepth))
{
var unmarshaller = new ListUnmarshaller<SigninDelegateGroup, SigninDelegateGroupUnmarshaller>(SigninDelegateGroupUnmarshaller.Instance);
unmarshalledObject.SigninDelegateGroups = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("SupportedLicenses", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.SupportedLicenses = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AccountUnmarshaller _instance = new AccountUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AccountUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 140 |
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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Address Object
/// </summary>
public class AddressUnmarshaller : IUnmarshaller<Address, XmlUnmarshallerContext>, IUnmarshaller<Address, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Address IUnmarshaller<Address, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Address Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Address unmarshalledObject = new Address();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("city", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.City = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("country", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Country = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("postalCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.PostalCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("postalCodePlus4", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.PostalCodePlus4 = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("postDirectional", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.PostDirectional = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("preDirectional", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.PreDirectional = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("state", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.State = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("streetName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StreetName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("streetNumber", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StreetNumber = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("streetSuffix", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StreetSuffix = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AddressUnmarshaller _instance = new AddressUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AddressUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 146 |
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.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// AlexaForBusinessMetadata Marshaller
/// </summary>
public class AlexaForBusinessMetadataMarshaller : IRequestMarshaller<AlexaForBusinessMetadata, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AlexaForBusinessMetadata requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAlexaForBusinessRoomArn())
{
context.Writer.WritePropertyName("AlexaForBusinessRoomArn");
context.Writer.Write(requestObject.AlexaForBusinessRoomArn);
}
if(requestObject.IsSetIsAlexaForBusinessEnabled())
{
context.Writer.WritePropertyName("IsAlexaForBusinessEnabled");
context.Writer.Write(requestObject.IsAlexaForBusinessEnabled);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AlexaForBusinessMetadataMarshaller Instance = new AlexaForBusinessMetadataMarshaller();
}
}
| 68 |
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.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.Chime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.Chime.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AlexaForBusinessMetadata Object
/// </summary>
public class AlexaForBusinessMetadataUnmarshaller : IUnmarshaller<AlexaForBusinessMetadata, XmlUnmarshallerContext>, IUnmarshaller<AlexaForBusinessMetadata, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AlexaForBusinessMetadata IUnmarshaller<AlexaForBusinessMetadata, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AlexaForBusinessMetadata Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AlexaForBusinessMetadata unmarshalledObject = new AlexaForBusinessMetadata();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("AlexaForBusinessRoomArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AlexaForBusinessRoomArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("IsAlexaForBusinessEnabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsAlexaForBusinessEnabled = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AlexaForBusinessMetadataUnmarshaller _instance = new AlexaForBusinessMetadataUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AlexaForBusinessMetadataUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.