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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the RejectSkill operation.
/// Disassociates a skill from the organization under a user's AWS account. If the skill
/// is a private skill, it moves to an AcceptStatus of PENDING. Any private or public
/// skill that is rejected can be added later by calling the ApproveSkill API.
/// </summary>
public partial class RejectSkillRequest : AmazonAlexaForBusinessRequest
{
private string _skillId;
/// <summary>
/// Gets and sets the property SkillId.
/// <para>
/// The unique identifier of the skill.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SkillId
{
get { return this._skillId; }
set { this._skillId = value; }
}
// Check to see if SkillId property is set
internal bool IsSetSkillId()
{
return this._skillId != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the RejectSkill operation.
/// </summary>
public partial class RejectSkillResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Settings for the require check in feature that are applied to a room profile. Require
/// check in allows a meeting room’s Alexa or AVS device to prompt the user to check in;
/// otherwise, the room will be released.
/// </summary>
public partial class RequireCheckIn
{
private bool? _enabled;
private int? _releaseAfterMinutes;
/// <summary>
/// Gets and sets the property Enabled.
/// <para>
/// Whether require check in is enabled or not.
/// </para>
/// </summary>
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
/// <summary>
/// Gets and sets the property ReleaseAfterMinutes.
/// <para>
/// Duration between 5 and 20 minutes to determine when to release the room if it's not
/// checked into.
/// </para>
/// </summary>
public int ReleaseAfterMinutes
{
get { return this._releaseAfterMinutes.GetValueOrDefault(); }
set { this._releaseAfterMinutes = value; }
}
// Check to see if ReleaseAfterMinutes property is set
internal bool IsSetReleaseAfterMinutes()
{
return this._releaseAfterMinutes.HasValue;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the ResolveRoom operation.
/// Determines the details for the room from which a skill request was invoked. This operation
/// is used by skill developers.
///
///
/// <para>
/// To query ResolveRoom from an Alexa skill, the skill ID needs to be authorized. When
/// the skill is using an AWS Lambda function, the skill is automatically authorized when
/// you publish your skill as a private skill to your AWS account. Skills that are hosted
/// using a custom web service must be manually authorized. To get your skill authorized,
/// contact AWS Support with your AWS account ID that queries the ResolveRoom API and
/// skill ID.
/// </para>
/// </summary>
public partial class ResolveRoomRequest : AmazonAlexaForBusinessRequest
{
private string _skillId;
private string _userId;
/// <summary>
/// Gets and sets the property SkillId.
/// <para>
/// The ARN of the skill that was requested. Required.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SkillId
{
get { return this._skillId; }
set { this._skillId = value; }
}
// Check to see if SkillId property is set
internal bool IsSetSkillId()
{
return this._skillId != null;
}
/// <summary>
/// Gets and sets the property UserId.
/// <para>
/// The ARN of the user. Required.
/// </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;
}
}
} | 90 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the ResolveRoom operation.
/// </summary>
public partial class ResolveRoomResponse : AmazonWebServiceResponse
{
private string _roomArn;
private string _roomName;
private List<RoomSkillParameter> _roomSkillParameters = new List<RoomSkillParameter>();
/// <summary>
/// Gets and sets the property RoomArn.
/// <para>
/// The ARN of the room from which the skill request was invoked.
/// </para>
/// </summary>
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != null;
}
/// <summary>
/// Gets and sets the property RoomName.
/// <para>
/// The name of the room from which the skill request was invoked.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string RoomName
{
get { return this._roomName; }
set { this._roomName = value; }
}
// Check to see if RoomName property is set
internal bool IsSetRoomName()
{
return this._roomName != null;
}
/// <summary>
/// Gets and sets the property RoomSkillParameters.
/// <para>
/// Response to get the room profile request. Required.
/// </para>
/// </summary>
public List<RoomSkillParameter> RoomSkillParameters
{
get { return this._roomSkillParameters; }
set { this._roomSkillParameters = value; }
}
// Check to see if RoomSkillParameters property is set
internal bool IsSetRoomSkillParameters()
{
return this._roomSkillParameters != null && this._roomSkillParameters.Count > 0;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Another resource is associated with the resource in the request.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceAssociatedException : AmazonAlexaForBusinessException
{
/// <summary>
/// Constructs a new ResourceAssociatedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceAssociatedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceAssociatedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceAssociatedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceAssociatedException
/// </summary>
/// <param name="innerException"></param>
public ResourceAssociatedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceAssociatedException
/// </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 ResourceAssociatedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceAssociatedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceAssociatedException(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 ResourceAssociatedException 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 ResourceAssociatedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <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);
}
#endif
}
} | 124 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The resource in the request is already in use.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ResourceInUseException : AmazonAlexaForBusinessException
{
private string _clientRequestToken;
/// <summary>
/// Constructs a new ResourceInUseException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ResourceInUseException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ResourceInUseException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="innerException"></param>
public ResourceInUseException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </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 ResourceInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ResourceInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ResourceInUseException(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 ResourceInUseException 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 ResourceInUseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
this.ClientRequestToken = (string)info.GetValue("ClientRequestToken", typeof(string));
}
/// <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("ClientRequestToken", this.ClientRequestToken);
}
#endif
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// </summary>
[AWSProperty(Min=10, Max=150)]
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;
}
}
} | 143 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the RevokeInvitation operation.
/// Revokes an invitation and invalidates the enrollment URL.
/// </summary>
public partial class RevokeInvitationRequest : AmazonAlexaForBusinessRequest
{
private string _enrollmentId;
private string _userArn;
/// <summary>
/// Gets and sets the property EnrollmentId.
/// <para>
/// The ARN of the enrollment invitation to revoke. Required.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=128)]
public string EnrollmentId
{
get { return this._enrollmentId; }
set { this._enrollmentId = value; }
}
// Check to see if EnrollmentId property is set
internal bool IsSetEnrollmentId()
{
return this._enrollmentId != null;
}
/// <summary>
/// Gets and sets the property UserArn.
/// <para>
/// The ARN of the user for whom to revoke an enrollment invitation. Required.
/// </para>
/// </summary>
public string UserArn
{
get { return this._userArn; }
set { this._userArn = value; }
}
// Check to see if UserArn property is set
internal bool IsSetUserArn()
{
return this._userArn != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the RevokeInvitation operation.
/// </summary>
public partial class RevokeInvitationResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// A room with attributes.
/// </summary>
public partial class Room
{
private string _description;
private string _profileArn;
private string _providerCalendarId;
private string _roomArn;
private string _roomName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of a room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property ProfileArn.
/// <para>
/// The profile ARN of a room.
/// </para>
/// </summary>
public string ProfileArn
{
get { return this._profileArn; }
set { this._profileArn = value; }
}
// Check to see if ProfileArn property is set
internal bool IsSetProfileArn()
{
return this._profileArn != null;
}
/// <summary>
/// Gets and sets the property ProviderCalendarId.
/// <para>
/// The provider calendar ARN of a room.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public string ProviderCalendarId
{
get { return this._providerCalendarId; }
set { this._providerCalendarId = value; }
}
// Check to see if ProviderCalendarId property is set
internal bool IsSetProviderCalendarId()
{
return this._providerCalendarId != null;
}
/// <summary>
/// Gets and sets the property RoomArn.
/// <para>
/// The ARN of a room.
/// </para>
/// </summary>
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != null;
}
/// <summary>
/// Gets and sets the property RoomName.
/// <para>
/// The name of a room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string RoomName
{
get { return this._roomName; }
set { this._roomName = value; }
}
// Check to see if RoomName property is set
internal bool IsSetRoomName()
{
return this._roomName != null;
}
}
} | 136 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The data of a room.
/// </summary>
public partial class RoomData
{
private string _description;
private string _profileArn;
private string _profileName;
private string _providerCalendarId;
private string _roomArn;
private string _roomName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of a room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property ProfileArn.
/// <para>
/// The profile ARN of a room.
/// </para>
/// </summary>
public string ProfileArn
{
get { return this._profileArn; }
set { this._profileArn = value; }
}
// Check to see if ProfileArn property is set
internal bool IsSetProfileArn()
{
return this._profileArn != null;
}
/// <summary>
/// Gets and sets the property ProfileName.
/// <para>
/// The profile name of a room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string ProfileName
{
get { return this._profileName; }
set { this._profileName = value; }
}
// Check to see if ProfileName property is set
internal bool IsSetProfileName()
{
return this._profileName != null;
}
/// <summary>
/// Gets and sets the property ProviderCalendarId.
/// <para>
/// The provider calendar ARN of a room.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public string ProviderCalendarId
{
get { return this._providerCalendarId; }
set { this._providerCalendarId = value; }
}
// Check to see if ProviderCalendarId property is set
internal bool IsSetProviderCalendarId()
{
return this._providerCalendarId != null;
}
/// <summary>
/// Gets and sets the property RoomArn.
/// <para>
/// The ARN of a room.
/// </para>
/// </summary>
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != null;
}
/// <summary>
/// Gets and sets the property RoomName.
/// <para>
/// The name of a room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string RoomName
{
get { return this._roomName; }
set { this._roomName = value; }
}
// Check to see if RoomName property is set
internal bool IsSetRoomName()
{
return this._roomName != null;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchAddressBooks operation.
/// Searches address books and lists the ones that meet a set of filter and sort criteria.
/// </summary>
public partial class SearchAddressBooksRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of address books. The supported filter
/// key is AddressBookName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified MaxResults value, a token is included in the response so that the remaining
/// results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response only includes
/// results beyond the token, up to the value specified by MaxResults.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the specified set of address books. The supported
/// sort key is AddressBookName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchAddressBooks operation.
/// </summary>
public partial class SearchAddressBooksResponse : AmazonWebServiceResponse
{
private List<AddressBookData> _addressBooks = new List<AddressBookData>();
private string _nextToken;
private int? _totalCount;
/// <summary>
/// Gets and sets the property AddressBooks.
/// <para>
/// The address books that meet the specified set of filter criteria, in sort order.
/// </para>
/// </summary>
public List<AddressBookData> AddressBooks
{
get { return this._addressBooks; }
set { this._addressBooks = value; }
}
// Check to see if AddressBooks property is set
internal bool IsSetAddressBooks()
{
return this._addressBooks != null && this._addressBooks.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of address books returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchContacts operation.
/// Searches contacts and lists the ones that meet a set of filter and sort criteria.
/// </summary>
public partial class SearchContactsRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of address books. The supported filter
/// keys are DisplayName, FirstName, LastName, and AddressBookArns.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified MaxResults value, a token is included in the response so that the remaining
/// results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response only includes
/// results beyond the token, up to the value specified by MaxResults.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the specified set of contacts. The supported sort
/// keys are DisplayName, FirstName, and LastName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchContacts operation.
/// </summary>
public partial class SearchContactsResponse : AmazonWebServiceResponse
{
private List<ContactData> _contacts = new List<ContactData>();
private string _nextToken;
private int? _totalCount;
/// <summary>
/// Gets and sets the property Contacts.
/// <para>
/// The contacts that meet the specified set of filter criteria, in sort order.
/// </para>
/// </summary>
public List<ContactData> Contacts
{
get { return this._contacts; }
set { this._contacts = value; }
}
// Check to see if Contacts property is set
internal bool IsSetContacts()
{
return this._contacts != null && this._contacts.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of contacts returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchDevices operation.
/// Searches devices and lists the ones that meet a set of filter criteria.
/// </summary>
public partial class SearchDevicesRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of devices. Supported filter keys are DeviceName,
/// DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly,
/// ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature,
/// and FailureCode.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified <code>MaxResults</code> value, a token is included in the response so
/// that the remaining results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by <code>MaxResults</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the specified set of devices. Supported sort keys
/// are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus,
/// NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 128 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchDevices operation.
/// </summary>
public partial class SearchDevicesResponse : AmazonWebServiceResponse
{
private List<DeviceData> _devices = new List<DeviceData>();
private string _nextToken;
private int? _totalCount;
/// <summary>
/// Gets and sets the property Devices.
/// <para>
/// The devices that meet the specified set of filter criteria, in sort order.
/// </para>
/// </summary>
public List<DeviceData> Devices
{
get { return this._devices; }
set { this._devices = value; }
}
// Check to see if Devices property is set
internal bool IsSetDevices()
{
return this._devices != null && this._devices.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of devices returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchNetworkProfiles operation.
/// Searches network profiles and lists the ones that meet a set of filter and sort criteria.
/// </summary>
public partial class SearchNetworkProfilesRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of network profiles. Valid filters are
/// NetworkProfileName, Ssid, and SecurityType.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified MaxResults value, a token is included in the response so that the remaining
/// results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by MaxResults.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use to list the specified set of network profiles. Valid sort criteria
/// includes NetworkProfileName, Ssid, and SecurityType.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchNetworkProfiles operation.
/// </summary>
public partial class SearchNetworkProfilesResponse : AmazonWebServiceResponse
{
private List<NetworkProfileData> _networkProfiles = new List<NetworkProfileData>();
private string _nextToken;
private int? _totalCount;
/// <summary>
/// Gets and sets the property NetworkProfiles.
/// <para>
/// The network profiles that meet the specified set of filter criteria, in sort order.
/// It is a list of NetworkProfileData objects.
/// </para>
/// </summary>
public List<NetworkProfileData> NetworkProfiles
{
get { return this._networkProfiles; }
set { this._networkProfiles = value; }
}
// Check to see if NetworkProfiles property is set
internal bool IsSetNetworkProfiles()
{
return this._networkProfiles != null && this._networkProfiles.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by MaxResults.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of network profiles returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchProfiles operation.
/// Searches room profiles and lists the ones that meet a set of filter criteria.
/// </summary>
public partial class SearchProfilesRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of room profiles. Supported filter keys
/// are ProfileName and Address. Required.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified <code>MaxResults</code> value, a token is included in the response so
/// that the remaining results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by <code>MaxResults</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the specified set of room profiles. Supported sort
/// keys are ProfileName and Address.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchProfiles operation.
/// </summary>
public partial class SearchProfilesResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<ProfileData> _profiles = new List<ProfileData>();
private int? _totalCount;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Profiles.
/// <para>
/// The profiles that meet the specified set of filter criteria, in sort order.
/// </para>
/// </summary>
public List<ProfileData> Profiles
{
get { return this._profiles; }
set { this._profiles = value; }
}
// Check to see if Profiles property is set
internal bool IsSetProfiles()
{
return this._profiles != null && this._profiles.Count > 0;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of room profiles returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchRooms operation.
/// Searches rooms and lists the ones that meet a set of filter and sort criteria.
/// </summary>
public partial class SearchRoomsRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of rooms. The supported filter keys are
/// RoomName and ProfileName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified <code>MaxResults</code> value, a token is included in the response so
/// that the remaining results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by <code>MaxResults</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the specified set of rooms. The supported sort keys
/// are RoomName and ProfileName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchRooms operation.
/// </summary>
public partial class SearchRoomsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<RoomData> _rooms = new List<RoomData>();
private int? _totalCount;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Rooms.
/// <para>
/// The rooms that meet the specified set of filter criteria, in sort order.
/// </para>
/// </summary>
public List<RoomData> Rooms
{
get { return this._rooms; }
set { this._rooms = value; }
}
// Check to see if Rooms property is set
internal bool IsSetRooms()
{
return this._rooms != null && this._rooms.Count > 0;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of rooms returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchSkillGroups operation.
/// Searches skill groups and lists the ones that meet a set of filter and sort criteria.
/// </summary>
public partial class SearchSkillGroupsRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use to list a specified set of skill groups. The supported filter key
/// is SkillGroupName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified <code>MaxResults</code> value, a token is included in the response so
/// that the remaining results can be retrieved.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by <code>MaxResults</code>. Required.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the specified set of skill groups. The supported
/// sort key is SkillGroupName.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchSkillGroups operation.
/// </summary>
public partial class SearchSkillGroupsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<SkillGroupData> _skillGroups = new List<SkillGroupData>();
private int? _totalCount;
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SkillGroups.
/// <para>
/// The skill groups that meet the filter criteria, in sort order.
/// </para>
/// </summary>
public List<SkillGroupData> SkillGroups
{
get { return this._skillGroups; }
set { this._skillGroups = value; }
}
// Check to see if SkillGroups property is set
internal bool IsSetSkillGroups()
{
return this._skillGroups != null && this._skillGroups.Count > 0;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of skill groups returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SearchUsers operation.
/// Searches users and lists the ones that meet a set of filter and sort criteria.
/// </summary>
public partial class SearchUsersRequest : AmazonAlexaForBusinessRequest
{
private List<Filter> _filters = new List<Filter>();
private int? _maxResults;
private string _nextToken;
private List<Sort> _sortCriteria = new List<Sort>();
/// <summary>
/// Gets and sets the property Filters.
/// <para>
/// The filters to use for listing a specific set of users. Required. Supported filter
/// keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Filter> Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to include in the response. If more results exist than
/// the specified <code>MaxResults</code> value, a token is included in the response so
/// that the remaining results can be retrieved. Required.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An optional token returned from a prior request. Use this token for pagination of
/// results from this action. If this parameter is specified, the response includes only
/// results beyond the token, up to the value specified by <code>MaxResults</code>. Required.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SortCriteria.
/// <para>
/// The sort order to use in listing the filtered set of users. Required. Supported sort
/// keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.
/// </para>
/// </summary>
[AWSProperty(Max=25)]
public List<Sort> SortCriteria
{
get { return this._sortCriteria; }
set { this._sortCriteria = value; }
}
// Check to see if SortCriteria property is set
internal bool IsSetSortCriteria()
{
return this._sortCriteria != null && this._sortCriteria.Count > 0;
}
}
} | 125 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SearchUsers operation.
/// </summary>
public partial class SearchUsersResponse : AmazonWebServiceResponse
{
private string _nextToken;
private int? _totalCount;
private List<UserData> _users = new List<UserData>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token returned to indicate that there is more data available.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1100)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TotalCount.
/// <para>
/// The total number of users returned.
/// </para>
/// </summary>
public int TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
/// <summary>
/// Gets and sets the property Users.
/// <para>
/// The users that meet the specified set of filter criteria, in sort order.
/// </para>
/// </summary>
public List<UserData> Users
{
get { return this._users; }
set { this._users = value; }
}
// Check to see if Users property is set
internal bool IsSetUsers()
{
return this._users != null && this._users.Count > 0;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SendAnnouncement operation.
/// Triggers an asynchronous flow to send text, SSML, or audio announcements to rooms
/// that are identified by a search or filter.
/// </summary>
public partial class SendAnnouncementRequest : AmazonAlexaForBusinessRequest
{
private string _clientRequestToken;
private Content _content;
private List<Filter> _roomFilters = new List<Filter>();
private int? _timeToLiveInSeconds;
/// <summary>
/// Gets and sets the property ClientRequestToken.
/// <para>
/// The unique, user-specified identifier for the request that ensures idempotency.
/// </para>
/// </summary>
[AWSProperty(Min=10, Max=150)]
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 announcement content. This can contain only one of the three possible announcement
/// types (text, SSML or audio).
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Content 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 RoomFilters.
/// <para>
/// The filters to use to send an announcement to a specified list of rooms. The supported
/// filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms,
/// specify an empty RoomFilters list.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=25)]
public List<Filter> RoomFilters
{
get { return this._roomFilters; }
set { this._roomFilters = value; }
}
// Check to see if RoomFilters property is set
internal bool IsSetRoomFilters()
{
return this._roomFilters != null && this._roomFilters.Count > 0;
}
/// <summary>
/// Gets and sets the property TimeToLiveInSeconds.
/// <para>
/// The time to live for an announcement. Default is 300. If delivery doesn't occur within
/// this time, the announcement is not delivered.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=3600)]
public int TimeToLiveInSeconds
{
get { return this._timeToLiveInSeconds.GetValueOrDefault(); }
set { this._timeToLiveInSeconds = value; }
}
// Check to see if TimeToLiveInSeconds property is set
internal bool IsSetTimeToLiveInSeconds()
{
return this._timeToLiveInSeconds.HasValue;
}
}
} | 124 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SendAnnouncement operation.
/// </summary>
public partial class SendAnnouncementResponse : AmazonWebServiceResponse
{
private string _announcementArn;
/// <summary>
/// Gets and sets the property AnnouncementArn.
/// <para>
/// The identifier of the announcement.
/// </para>
/// </summary>
public string AnnouncementArn
{
get { return this._announcementArn; }
set { this._announcementArn = value; }
}
// Check to see if AnnouncementArn property is set
internal bool IsSetAnnouncementArn()
{
return this._announcementArn != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the SendInvitation operation.
/// Sends an enrollment invitation email with a URL to a user. The URL is valid for 30
/// days or until you call this operation again, whichever comes first.
/// </summary>
public partial class SendInvitationRequest : AmazonAlexaForBusinessRequest
{
private string _userArn;
/// <summary>
/// Gets and sets the property UserArn.
/// <para>
/// The ARN of the user to whom to send an invitation. Required.
/// </para>
/// </summary>
public string UserArn
{
get { return this._userArn; }
set { this._userArn = value; }
}
// Check to see if UserArn property is set
internal bool IsSetUserArn()
{
return this._userArn != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the SendInvitation operation.
/// </summary>
public partial class SendInvitationResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The SIP address for the contact containing the URI and SIP address type.
/// </summary>
public partial class SipAddress
{
private SipType _type;
private string _uri;
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of the SIP address.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true)]
public SipType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Uri.
/// <para>
/// The URI for the SIP address.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=256)]
public string Uri
{
get { return this._uri; }
set { this._uri = value; }
}
// Check to see if Uri property is set
internal bool IsSetUri()
{
return this._uri != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Granular information about the skill.
/// </summary>
public partial class SkillDetails
{
private List<string> _bulletPoints = new List<string>();
private DeveloperInfo _developerInfo;
private string _endUserLicenseAgreement;
private List<string> _genericKeywords = new List<string>();
private string _invocationPhrase;
private List<string> _newInThisVersionBulletPoints = new List<string>();
private string _productDescription;
private string _releaseDate;
private Dictionary<string, string> _reviews = new Dictionary<string, string>();
private List<string> _skillTypes = new List<string>();
/// <summary>
/// Gets and sets the property BulletPoints.
/// <para>
/// The details about what the skill supports organized as bullet points.
/// </para>
/// </summary>
public List<string> BulletPoints
{
get { return this._bulletPoints; }
set { this._bulletPoints = value; }
}
// Check to see if BulletPoints property is set
internal bool IsSetBulletPoints()
{
return this._bulletPoints != null && this._bulletPoints.Count > 0;
}
/// <summary>
/// Gets and sets the property DeveloperInfo.
/// <para>
/// The details about the developer that published the skill.
/// </para>
/// </summary>
public DeveloperInfo DeveloperInfo
{
get { return this._developerInfo; }
set { this._developerInfo = value; }
}
// Check to see if DeveloperInfo property is set
internal bool IsSetDeveloperInfo()
{
return this._developerInfo != null;
}
/// <summary>
/// Gets and sets the property EndUserLicenseAgreement.
/// <para>
/// The URL of the end user license agreement.
/// </para>
/// </summary>
public string EndUserLicenseAgreement
{
get { return this._endUserLicenseAgreement; }
set { this._endUserLicenseAgreement = value; }
}
// Check to see if EndUserLicenseAgreement property is set
internal bool IsSetEndUserLicenseAgreement()
{
return this._endUserLicenseAgreement != null;
}
/// <summary>
/// Gets and sets the property GenericKeywords.
/// <para>
/// The generic keywords associated with the skill that can be used to find a skill.
/// </para>
/// </summary>
public List<string> GenericKeywords
{
get { return this._genericKeywords; }
set { this._genericKeywords = value; }
}
// Check to see if GenericKeywords property is set
internal bool IsSetGenericKeywords()
{
return this._genericKeywords != null && this._genericKeywords.Count > 0;
}
/// <summary>
/// Gets and sets the property InvocationPhrase.
/// <para>
/// The phrase used to trigger the skill.
/// </para>
/// </summary>
public string InvocationPhrase
{
get { return this._invocationPhrase; }
set { this._invocationPhrase = value; }
}
// Check to see if InvocationPhrase property is set
internal bool IsSetInvocationPhrase()
{
return this._invocationPhrase != null;
}
/// <summary>
/// Gets and sets the property NewInThisVersionBulletPoints.
/// <para>
/// The updates added in bullet points.
/// </para>
/// </summary>
public List<string> NewInThisVersionBulletPoints
{
get { return this._newInThisVersionBulletPoints; }
set { this._newInThisVersionBulletPoints = value; }
}
// Check to see if NewInThisVersionBulletPoints property is set
internal bool IsSetNewInThisVersionBulletPoints()
{
return this._newInThisVersionBulletPoints != null && this._newInThisVersionBulletPoints.Count > 0;
}
/// <summary>
/// Gets and sets the property ProductDescription.
/// <para>
/// The description of the product.
/// </para>
/// </summary>
public string ProductDescription
{
get { return this._productDescription; }
set { this._productDescription = value; }
}
// Check to see if ProductDescription property is set
internal bool IsSetProductDescription()
{
return this._productDescription != null;
}
/// <summary>
/// Gets and sets the property ReleaseDate.
/// <para>
/// The date when the skill was released.
/// </para>
/// </summary>
public string ReleaseDate
{
get { return this._releaseDate; }
set { this._releaseDate = value; }
}
// Check to see if ReleaseDate property is set
internal bool IsSetReleaseDate()
{
return this._releaseDate != null;
}
/// <summary>
/// Gets and sets the property Reviews.
/// <para>
/// <i>This member has been deprecated.</i>
/// </para>
///
/// <para>
/// The list of reviews for the skill, including Key and Value pair.
/// </para>
/// </summary>
public Dictionary<string, string> Reviews
{
get { return this._reviews; }
set { this._reviews = value; }
}
// Check to see if Reviews property is set
internal bool IsSetReviews()
{
return this._reviews != null && this._reviews.Count > 0;
}
/// <summary>
/// Gets and sets the property SkillTypes.
/// <para>
/// The types of skills.
/// </para>
/// </summary>
public List<string> SkillTypes
{
get { return this._skillTypes; }
set { this._skillTypes = value; }
}
// Check to see if SkillTypes property is set
internal bool IsSetSkillTypes()
{
return this._skillTypes != null && this._skillTypes.Count > 0;
}
}
} | 232 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// A skill group with attributes.
/// </summary>
public partial class SkillGroup
{
private string _description;
private string _skillGroupArn;
private string _skillGroupName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of a skill group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property SkillGroupArn.
/// <para>
/// The ARN of a skill group.
/// </para>
/// </summary>
public string SkillGroupArn
{
get { return this._skillGroupArn; }
set { this._skillGroupArn = value; }
}
// Check to see if SkillGroupArn property is set
internal bool IsSetSkillGroupArn()
{
return this._skillGroupArn != null;
}
/// <summary>
/// Gets and sets the property SkillGroupName.
/// <para>
/// The name of a skill group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string SkillGroupName
{
get { return this._skillGroupName; }
set { this._skillGroupName = value; }
}
// Check to see if SkillGroupName property is set
internal bool IsSetSkillGroupName()
{
return this._skillGroupName != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The attributes of a skill group.
/// </summary>
public partial class SkillGroupData
{
private string _description;
private string _skillGroupArn;
private string _skillGroupName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of a skill group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property SkillGroupArn.
/// <para>
/// The skill group ARN of a skill group.
/// </para>
/// </summary>
public string SkillGroupArn
{
get { return this._skillGroupArn; }
set { this._skillGroupArn = value; }
}
// Check to see if SkillGroupArn property is set
internal bool IsSetSkillGroupArn()
{
return this._skillGroupArn != null;
}
/// <summary>
/// Gets and sets the property SkillGroupName.
/// <para>
/// The skill group name of a skill group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string SkillGroupName
{
get { return this._skillGroupName; }
set { this._skillGroupName = value; }
}
// Check to see if SkillGroupName property is set
internal bool IsSetSkillGroupName()
{
return this._skillGroupName != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The skill must be linked to a third-party account.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class SkillNotLinkedException : AmazonAlexaForBusinessException
{
/// <summary>
/// Constructs a new SkillNotLinkedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public SkillNotLinkedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of SkillNotLinkedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public SkillNotLinkedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of SkillNotLinkedException
/// </summary>
/// <param name="innerException"></param>
public SkillNotLinkedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of SkillNotLinkedException
/// </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 SkillNotLinkedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of SkillNotLinkedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public SkillNotLinkedException(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 SkillNotLinkedException 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 SkillNotLinkedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <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);
}
#endif
}
} | 124 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The detailed information about an Alexa skill.
/// </summary>
public partial class SkillsStoreSkill
{
private string _iconUrl;
private List<string> _sampleUtterances = new List<string>();
private string _shortDescription;
private SkillDetails _skillDetails;
private string _skillId;
private string _skillName;
private bool? _supportsLinking;
/// <summary>
/// Gets and sets the property IconUrl.
/// <para>
/// The URL where the skill icon resides.
/// </para>
/// </summary>
public string IconUrl
{
get { return this._iconUrl; }
set { this._iconUrl = value; }
}
// Check to see if IconUrl property is set
internal bool IsSetIconUrl()
{
return this._iconUrl != null;
}
/// <summary>
/// Gets and sets the property SampleUtterances.
/// <para>
/// Sample utterances that interact with the skill.
/// </para>
/// </summary>
public List<string> SampleUtterances
{
get { return this._sampleUtterances; }
set { this._sampleUtterances = value; }
}
// Check to see if SampleUtterances property is set
internal bool IsSetSampleUtterances()
{
return this._sampleUtterances != null && this._sampleUtterances.Count > 0;
}
/// <summary>
/// Gets and sets the property ShortDescription.
/// <para>
/// Short description about the skill.
/// </para>
/// </summary>
public string ShortDescription
{
get { return this._shortDescription; }
set { this._shortDescription = value; }
}
// Check to see if ShortDescription property is set
internal bool IsSetShortDescription()
{
return this._shortDescription != null;
}
/// <summary>
/// Gets and sets the property SkillDetails.
/// <para>
/// Information about the skill.
/// </para>
/// </summary>
public SkillDetails SkillDetails
{
get { return this._skillDetails; }
set { this._skillDetails = value; }
}
// Check to see if SkillDetails property is set
internal bool IsSetSkillDetails()
{
return this._skillDetails != null;
}
/// <summary>
/// Gets and sets the property SkillId.
/// <para>
/// The ARN of the skill.
/// </para>
/// </summary>
public string SkillId
{
get { return this._skillId; }
set { this._skillId = value; }
}
// Check to see if SkillId property is set
internal bool IsSetSkillId()
{
return this._skillId != null;
}
/// <summary>
/// Gets and sets the property SkillName.
/// <para>
/// The name of the skill.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string SkillName
{
get { return this._skillName; }
set { this._skillName = value; }
}
// Check to see if SkillName property is set
internal bool IsSetSkillName()
{
return this._skillName != null;
}
/// <summary>
/// Gets and sets the property SupportsLinking.
/// <para>
/// Linking support for a skill.
/// </para>
/// </summary>
public bool SupportsLinking
{
get { return this._supportsLinking.GetValueOrDefault(); }
set { this._supportsLinking = value; }
}
// Check to see if SupportsLinking property is set
internal bool IsSetSupportsLinking()
{
return this._supportsLinking.HasValue;
}
}
} | 172 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The summary of skills.
/// </summary>
public partial class SkillSummary
{
private EnablementType _enablementType;
private string _skillId;
private string _skillName;
private SkillType _skillType;
private bool? _supportsLinking;
/// <summary>
/// Gets and sets the property EnablementType.
/// <para>
/// Whether the skill is enabled under the user's account, or if it requires linking to
/// be used.
/// </para>
/// </summary>
public EnablementType EnablementType
{
get { return this._enablementType; }
set { this._enablementType = value; }
}
// Check to see if EnablementType property is set
internal bool IsSetEnablementType()
{
return this._enablementType != null;
}
/// <summary>
/// Gets and sets the property SkillId.
/// <para>
/// The ARN of the skill summary.
/// </para>
/// </summary>
public string SkillId
{
get { return this._skillId; }
set { this._skillId = value; }
}
// Check to see if SkillId property is set
internal bool IsSetSkillId()
{
return this._skillId != null;
}
/// <summary>
/// Gets and sets the property SkillName.
/// <para>
/// The name of the skill.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string SkillName
{
get { return this._skillName; }
set { this._skillName = value; }
}
// Check to see if SkillName property is set
internal bool IsSetSkillName()
{
return this._skillName != null;
}
/// <summary>
/// Gets and sets the property SkillType.
/// <para>
/// Whether the skill is publicly available or is a private skill.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public SkillType SkillType
{
get { return this._skillType; }
set { this._skillType = value; }
}
// Check to see if SkillType property is set
internal bool IsSetSkillType()
{
return this._skillType != null;
}
/// <summary>
/// Gets and sets the property SupportsLinking.
/// <para>
/// Linking support for a skill.
/// </para>
/// </summary>
public bool SupportsLinking
{
get { return this._supportsLinking.GetValueOrDefault(); }
set { this._supportsLinking = value; }
}
// Check to see if SupportsLinking property is set
internal bool IsSetSupportsLinking()
{
return this._supportsLinking.HasValue;
}
}
} | 136 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// A smart home appliance that can connect to a central system. Any domestic device can
/// be a smart appliance.
/// </summary>
public partial class SmartHomeAppliance
{
private string _description;
private string _friendlyName;
private string _manufacturerName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the smart home appliance.
/// </para>
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FriendlyName.
/// <para>
/// The friendly name of the smart home appliance.
/// </para>
/// </summary>
public string FriendlyName
{
get { return this._friendlyName; }
set { this._friendlyName = value; }
}
// Check to see if FriendlyName property is set
internal bool IsSetFriendlyName()
{
return this._friendlyName != null;
}
/// <summary>
/// Gets and sets the property ManufacturerName.
/// <para>
/// The name of the manufacturer of the smart home appliance.
/// </para>
/// </summary>
public string ManufacturerName
{
get { return this._manufacturerName; }
set { this._manufacturerName = value; }
}
// Check to see if ManufacturerName property is set
internal bool IsSetManufacturerName()
{
return this._manufacturerName != null;
}
}
} | 96 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// An object representing a sort criteria.
/// </summary>
public partial class Sort
{
private string _key;
private SortValue _value;
/// <summary>
/// Gets and sets the property Key.
/// <para>
/// The sort key of a sort object.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=500)]
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 sort value of a sort object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SortValue 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The SSML message. For more information, see <a href="https://developer.amazon.com/docs/custom-skills/speech-synthesis-markup-language-ssml-reference.html">SSML
/// Reference</a>.
/// </summary>
public partial class Ssml
{
private Locale _locale;
private string _value;
/// <summary>
/// Gets and sets the property Locale.
/// <para>
/// The locale of the SSML message. Currently, en-US is supported.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Locale Locale
{
get { return this._locale; }
set { this._locale = value; }
}
// Check to see if Locale property is set
internal bool IsSetLocale()
{
return this._locale != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of the SSML message in the correct SSML format. The audio tag is not supported.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=4096)]
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;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the StartDeviceSync operation.
/// Resets a device and its account to the known default settings. This clears all information
/// and settings set by previous users in the following ways:
///
/// <ul> <li>
/// <para>
/// Bluetooth - This unpairs all bluetooth devices paired with your echo device.
/// </para>
/// </li> <li>
/// <para>
/// Volume - This resets the echo device's volume to the default value.
/// </para>
/// </li> <li>
/// <para>
/// Notifications - This clears all notifications from your echo device.
/// </para>
/// </li> <li>
/// <para>
/// Lists - This clears all to-do items from your echo device.
/// </para>
/// </li> <li>
/// <para>
/// Settings - This internally syncs the room's profile (if the device is assigned to
/// a room), contacts, address books, delegation access for account linking, and communications
/// (if enabled on the room profile).
/// </para>
/// </li> </ul>
/// </summary>
public partial class StartDeviceSyncRequest : AmazonAlexaForBusinessRequest
{
private string _deviceArn;
private List<string> _features = new List<string>();
private string _roomArn;
/// <summary>
/// Gets and sets the property DeviceArn.
/// <para>
/// The ARN of the device to sync. Required.
/// </para>
/// </summary>
public string DeviceArn
{
get { return this._deviceArn; }
set { this._deviceArn = value; }
}
// Check to see if DeviceArn property is set
internal bool IsSetDeviceArn()
{
return this._deviceArn != null;
}
/// <summary>
/// Gets and sets the property Features.
/// <para>
/// Request structure to start the device sync. Required.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Features
{
get { return this._features; }
set { this._features = value; }
}
// Check to see if Features property is set
internal bool IsSetFeatures()
{
return this._features != null && this._features.Count > 0;
}
/// <summary>
/// Gets and sets the property RoomArn.
/// <para>
/// The ARN of the room with which the device to sync is associated. Required.
/// </para>
/// </summary>
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != null;
}
}
} | 122 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the StartDeviceSync operation.
/// </summary>
public partial class StartDeviceSyncResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the StartSmartHomeApplianceDiscovery operation.
/// Initiates the discovery of any smart home appliances associated with the room.
/// </summary>
public partial class StartSmartHomeApplianceDiscoveryRequest : AmazonAlexaForBusinessRequest
{
private string _roomArn;
/// <summary>
/// Gets and sets the property RoomArn.
/// <para>
/// The room where smart home appliance discovery was initiated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the StartSmartHomeApplianceDiscovery operation.
/// </summary>
public partial class StartSmartHomeApplianceDiscoveryResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// A key-value pair that can be associated with a resource.
/// </summary>
public partial class Tag
{
private string _key;
private string _value;
/// <summary>
/// Gets and sets the property Key.
/// <para>
/// The key of a tag. Tag keys are case-sensitive.
/// </para>
/// </summary>
[AWSProperty(Required=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 a tag. Tag values are case sensitive and can be null.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the TagResource operation.
/// Adds metadata tags to a specified resource.
/// </summary>
public partial class TagResourceRequest : AmazonAlexaForBusinessRequest
{
private string _arn;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The ARN of the resource to which to add metadata tags. Required.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags to be added to the specified resource. Do not provide system tags. Required.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The text message.
/// </summary>
public partial class Text
{
private Locale _locale;
private string _value;
/// <summary>
/// Gets and sets the property Locale.
/// <para>
/// The locale of the text message. Currently, en-US is supported.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Locale Locale
{
get { return this._locale; }
set { this._locale = value; }
}
// Check to see if Locale property is set
internal bool IsSetLocale()
{
return this._locale != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The value of the text message.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=4096)]
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// The caller has no permissions to operate on the resource involved in the API call.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class UnauthorizedException : AmazonAlexaForBusinessException
{
/// <summary>
/// Constructs a new UnauthorizedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public UnauthorizedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public UnauthorizedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="innerException"></param>
public UnauthorizedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </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 UnauthorizedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of UnauthorizedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public UnauthorizedException(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 UnauthorizedException 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 UnauthorizedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <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);
}
#endif
}
} | 124 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UntagResource operation.
/// Removes metadata tags from a specified resource.
/// </summary>
public partial class UntagResourceRequest : AmazonAlexaForBusinessRequest
{
private string _arn;
private List<string> _tagKeys = new List<string>();
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The ARN of the resource from which to remove metadata tags. Required.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property TagKeys.
/// <para>
/// The tags to be removed from the specified resource. Do not provide system tags. Required.
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
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;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateAddressBook operation.
/// Updates address book details by the address book ARN.
/// </summary>
public partial class UpdateAddressBookRequest : AmazonAlexaForBusinessRequest
{
private string _addressBookArn;
private string _description;
private string _name;
/// <summary>
/// Gets and sets the property AddressBookArn.
/// <para>
/// The ARN of the room to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AddressBookArn
{
get { return this._addressBookArn; }
set { this._addressBookArn = value; }
}
// Check to see if AddressBookArn property is set
internal bool IsSetAddressBookArn()
{
return this._addressBookArn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The updated description of the room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The updated name of the room.
/// </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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateAddressBook operation.
/// </summary>
public partial class UpdateAddressBookResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateBusinessReportSchedule operation.
/// Updates the configuration of the report delivery schedule with the specified schedule
/// ARN.
/// </summary>
public partial class UpdateBusinessReportScheduleRequest : AmazonAlexaForBusinessRequest
{
private BusinessReportFormat _format;
private BusinessReportRecurrence _recurrence;
private string _s3BucketName;
private string _s3KeyPrefix;
private string _scheduleArn;
private string _scheduleName;
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The format of the generated report (individual CSV files or zipped files of individual
/// files).
/// </para>
/// </summary>
public BusinessReportFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
/// <summary>
/// Gets and sets the property Recurrence.
/// <para>
/// The recurrence of the reports.
/// </para>
/// </summary>
public BusinessReportRecurrence Recurrence
{
get { return this._recurrence; }
set { this._recurrence = value; }
}
// Check to see if Recurrence property is set
internal bool IsSetRecurrence()
{
return this._recurrence != null;
}
/// <summary>
/// Gets and sets the property S3BucketName.
/// <para>
/// The S3 location of the output reports.
/// </para>
/// </summary>
public string S3BucketName
{
get { return this._s3BucketName; }
set { this._s3BucketName = value; }
}
// Check to see if S3BucketName property is set
internal bool IsSetS3BucketName()
{
return this._s3BucketName != null;
}
/// <summary>
/// Gets and sets the property S3KeyPrefix.
/// <para>
/// The S3 key where the report is delivered.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public string S3KeyPrefix
{
get { return this._s3KeyPrefix; }
set { this._s3KeyPrefix = value; }
}
// Check to see if S3KeyPrefix property is set
internal bool IsSetS3KeyPrefix()
{
return this._s3KeyPrefix != null;
}
/// <summary>
/// Gets and sets the property ScheduleArn.
/// <para>
/// The ARN of the business report schedule.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ScheduleArn
{
get { return this._scheduleArn; }
set { this._scheduleArn = value; }
}
// Check to see if ScheduleArn property is set
internal bool IsSetScheduleArn()
{
return this._scheduleArn != null;
}
/// <summary>
/// Gets and sets the property ScheduleName.
/// <para>
/// The name identifier of the schedule.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=64)]
public string ScheduleName
{
get { return this._scheduleName; }
set { this._scheduleName = value; }
}
// Check to see if ScheduleName property is set
internal bool IsSetScheduleName()
{
return this._scheduleName != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateBusinessReportSchedule operation.
/// </summary>
public partial class UpdateBusinessReportScheduleResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateConferenceProvider operation.
/// Updates an existing conference provider's settings.
/// </summary>
public partial class UpdateConferenceProviderRequest : AmazonAlexaForBusinessRequest
{
private string _conferenceProviderArn;
private ConferenceProviderType _conferenceProviderType;
private IPDialIn _ipDialIn;
private MeetingSetting _meetingSetting;
private PSTNDialIn _pstnDialIn;
/// <summary>
/// Gets and sets the property ConferenceProviderArn.
/// <para>
/// The ARN of the conference provider.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ConferenceProviderArn
{
get { return this._conferenceProviderArn; }
set { this._conferenceProviderArn = value; }
}
// Check to see if ConferenceProviderArn property is set
internal bool IsSetConferenceProviderArn()
{
return this._conferenceProviderArn != null;
}
/// <summary>
/// Gets and sets the property ConferenceProviderType.
/// <para>
/// The type of the conference provider.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ConferenceProviderType ConferenceProviderType
{
get { return this._conferenceProviderType; }
set { this._conferenceProviderType = value; }
}
// Check to see if ConferenceProviderType property is set
internal bool IsSetConferenceProviderType()
{
return this._conferenceProviderType != null;
}
/// <summary>
/// Gets and sets the property IPDialIn.
/// <para>
/// The IP endpoint and protocol for calling.
/// </para>
/// </summary>
public IPDialIn IPDialIn
{
get { return this._ipDialIn; }
set { this._ipDialIn = value; }
}
// Check to see if IPDialIn property is set
internal bool IsSetIPDialIn()
{
return this._ipDialIn != null;
}
/// <summary>
/// Gets and sets the property MeetingSetting.
/// <para>
/// The meeting settings for the conference provider.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public MeetingSetting MeetingSetting
{
get { return this._meetingSetting; }
set { this._meetingSetting = value; }
}
// Check to see if MeetingSetting property is set
internal bool IsSetMeetingSetting()
{
return this._meetingSetting != null;
}
/// <summary>
/// Gets and sets the property PSTNDialIn.
/// <para>
/// The information for PSTN conferencing.
/// </para>
/// </summary>
public PSTNDialIn PSTNDialIn
{
get { return this._pstnDialIn; }
set { this._pstnDialIn = value; }
}
// Check to see if PSTNDialIn property is set
internal bool IsSetPSTNDialIn()
{
return this._pstnDialIn != null;
}
}
} | 137 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateConferenceProvider operation.
/// </summary>
public partial class UpdateConferenceProviderResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateContact operation.
/// Updates the contact details by the contact ARN.
/// </summary>
public partial class UpdateContactRequest : AmazonAlexaForBusinessRequest
{
private string _contactArn;
private string _displayName;
private string _firstName;
private string _lastName;
private string _phoneNumber;
private List<PhoneNumber> _phoneNumbers = new List<PhoneNumber>();
private List<SipAddress> _sipAddresses = new List<SipAddress>();
/// <summary>
/// Gets and sets the property ContactArn.
/// <para>
/// The ARN of the contact to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ContactArn
{
get { return this._contactArn; }
set { this._contactArn = value; }
}
// Check to see if ContactArn property is set
internal bool IsSetContactArn()
{
return this._contactArn != null;
}
/// <summary>
/// Gets and sets the property DisplayName.
/// <para>
/// The updated display name of the contact.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
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 FirstName.
/// <para>
/// The updated first name of the contact.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string FirstName
{
get { return this._firstName; }
set { this._firstName = value; }
}
// Check to see if FirstName property is set
internal bool IsSetFirstName()
{
return this._firstName != null;
}
/// <summary>
/// Gets and sets the property LastName.
/// <para>
/// The updated last name of the contact.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string LastName
{
get { return this._lastName; }
set { this._lastName = value; }
}
// Check to see if LastName property is set
internal bool IsSetLastName()
{
return this._lastName != null;
}
/// <summary>
/// Gets and sets the property PhoneNumber.
/// <para>
/// The updated phone number of the contact. The phone number type defaults to WORK. You
/// can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
/// which lets you specify the phone number type and multiple numbers.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=50)]
public string PhoneNumber
{
get { return this._phoneNumber; }
set { this._phoneNumber = value; }
}
// Check to see if PhoneNumber property is set
internal bool IsSetPhoneNumber()
{
return this._phoneNumber != null;
}
/// <summary>
/// Gets and sets the property PhoneNumbers.
/// <para>
/// The list of phone numbers for the contact.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=3)]
public List<PhoneNumber> PhoneNumbers
{
get { return this._phoneNumbers; }
set { this._phoneNumbers = value; }
}
// Check to see if PhoneNumbers property is set
internal bool IsSetPhoneNumbers()
{
return this._phoneNumbers != null && this._phoneNumbers.Count > 0;
}
/// <summary>
/// Gets and sets the property SipAddresses.
/// <para>
/// The list of SIP addresses for the contact.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=1)]
public List<SipAddress> SipAddresses
{
get { return this._sipAddresses; }
set { this._sipAddresses = value; }
}
// Check to see if SipAddresses property is set
internal bool IsSetSipAddresses()
{
return this._sipAddresses != null && this._sipAddresses.Count > 0;
}
}
} | 181 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateContact operation.
/// </summary>
public partial class UpdateContactResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateDevice operation.
/// Updates the device name by device ARN.
/// </summary>
public partial class UpdateDeviceRequest : AmazonAlexaForBusinessRequest
{
private string _deviceArn;
private string _deviceName;
/// <summary>
/// Gets and sets the property DeviceArn.
/// <para>
/// The ARN of the device to update. Required.
/// </para>
/// </summary>
public string DeviceArn
{
get { return this._deviceArn; }
set { this._deviceArn = value; }
}
// Check to see if DeviceArn property is set
internal bool IsSetDeviceArn()
{
return this._deviceArn != null;
}
/// <summary>
/// Gets and sets the property DeviceName.
/// <para>
/// The updated device name. Required.
/// </para>
/// </summary>
[AWSProperty(Min=2, Max=100)]
public string DeviceName
{
get { return this._deviceName; }
set { this._deviceName = value; }
}
// Check to see if DeviceName property is set
internal bool IsSetDeviceName()
{
return this._deviceName != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateDevice operation.
/// </summary>
public partial class UpdateDeviceResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Settings for the end of meeting reminder feature that are applied to a room profile.
/// The end of meeting reminder enables Alexa to remind users when a meeting is ending.
/// </summary>
public partial class UpdateEndOfMeetingReminder
{
private bool? _enabled;
private List<int> _reminderAtMinutes = new List<int>();
private EndOfMeetingReminderType _reminderType;
/// <summary>
/// Gets and sets the property Enabled.
/// <para>
/// Whether an end of meeting reminder is enabled or not.
/// </para>
/// </summary>
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
/// <summary>
/// Gets and sets the property ReminderAtMinutes.
/// <para>
/// Updates settings for the end of meeting reminder feature that are applied to a room
/// profile. The end of meeting reminder enables Alexa to remind users when a meeting
/// is ending.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1)]
public List<int> ReminderAtMinutes
{
get { return this._reminderAtMinutes; }
set { this._reminderAtMinutes = value; }
}
// Check to see if ReminderAtMinutes property is set
internal bool IsSetReminderAtMinutes()
{
return this._reminderAtMinutes != null && this._reminderAtMinutes.Count > 0;
}
/// <summary>
/// Gets and sets the property ReminderType.
/// <para>
/// The type of sound that users hear during the end of meeting reminder.
/// </para>
/// </summary>
public EndOfMeetingReminderType ReminderType
{
get { return this._reminderType; }
set { this._reminderType = value; }
}
// Check to see if ReminderType property is set
internal bool IsSetReminderType()
{
return this._reminderType != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateGatewayGroup operation.
/// Updates the details of a gateway group. If any optional field is not provided, the
/// existing corresponding value is left unmodified.
/// </summary>
public partial class UpdateGatewayGroupRequest : AmazonAlexaForBusinessRequest
{
private string _description;
private string _gatewayGroupArn;
private string _name;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The updated description of the gateway group.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property GatewayGroupArn.
/// <para>
/// The ARN of the gateway group to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string GatewayGroupArn
{
get { return this._gatewayGroupArn; }
set { this._gatewayGroupArn = value; }
}
// Check to see if GatewayGroupArn property is set
internal bool IsSetGatewayGroupArn()
{
return this._gatewayGroupArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The updated name of the gateway group.
/// </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;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateGatewayGroup operation.
/// </summary>
public partial class UpdateGatewayGroupResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateGateway operation.
/// Updates the details of a gateway. If any optional field is not provided, the existing
/// corresponding value is left unmodified.
/// </summary>
public partial class UpdateGatewayRequest : AmazonAlexaForBusinessRequest
{
private string _description;
private string _gatewayArn;
private string _name;
private string _softwareVersion;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The updated description of the gateway.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property GatewayArn.
/// <para>
/// The ARN of the gateway to update.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string GatewayArn
{
get { return this._gatewayArn; }
set { this._gatewayArn = value; }
}
// Check to see if GatewayArn property is set
internal bool IsSetGatewayArn()
{
return this._gatewayArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The updated name of the gateway.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=253)]
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 SoftwareVersion.
/// <para>
/// The updated software version of the gateway. The gateway automatically updates its
/// software version during normal operation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public string SoftwareVersion
{
get { return this._softwareVersion; }
set { this._softwareVersion = value; }
}
// Check to see if SoftwareVersion property is set
internal bool IsSetSoftwareVersion()
{
return this._softwareVersion != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateGateway operation.
/// </summary>
public partial class UpdateGatewayResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Updates settings for the instant booking feature that are applied to a room profile.
/// If instant booking is enabled, Alexa automatically reserves a room if it is free when
/// a user joins a meeting with Alexa.
/// </summary>
public partial class UpdateInstantBooking
{
private int? _durationInMinutes;
private bool? _enabled;
/// <summary>
/// Gets and sets the property DurationInMinutes.
/// <para>
/// Duration between 15 and 240 minutes at increments of 15 that determines how long to
/// book an available room when a meeting is started with Alexa.
/// </para>
/// </summary>
public int DurationInMinutes
{
get { return this._durationInMinutes.GetValueOrDefault(); }
set { this._durationInMinutes = value; }
}
// Check to see if DurationInMinutes property is set
internal bool IsSetDurationInMinutes()
{
return this._durationInMinutes.HasValue;
}
/// <summary>
/// Gets and sets the property Enabled.
/// <para>
/// Whether instant booking is enabled or not.
/// </para>
/// </summary>
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateNetworkProfile operation.
/// Updates a network profile by the network profile ARN.
/// </summary>
public partial class UpdateNetworkProfileRequest : AmazonAlexaForBusinessRequest
{
private string _certificateAuthorityArn;
private string _currentPassword;
private string _description;
private string _networkProfileArn;
private string _networkProfileName;
private string _nextPassword;
private List<string> _trustAnchors = new List<string>();
/// <summary>
/// Gets and sets the property CertificateAuthorityArn.
/// <para>
/// The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager
/// (ACM). This is used to issue certificates to the devices.
/// </para>
/// </summary>
public string CertificateAuthorityArn
{
get { return this._certificateAuthorityArn; }
set { this._certificateAuthorityArn = value; }
}
// Check to see if CertificateAuthorityArn property is set
internal bool IsSetCertificateAuthorityArn()
{
return this._certificateAuthorityArn != null;
}
/// <summary>
/// Gets and sets the property CurrentPassword.
/// <para>
/// The current password of the Wi-Fi network.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=5, Max=128)]
public string CurrentPassword
{
get { return this._currentPassword; }
set { this._currentPassword = value; }
}
// Check to see if CurrentPassword property is set
internal bool IsSetCurrentPassword()
{
return this._currentPassword != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// Detailed information about a device's network profile.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property NetworkProfileArn.
/// <para>
/// The ARN of the network profile associated with a device.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string NetworkProfileArn
{
get { return this._networkProfileArn; }
set { this._networkProfileArn = value; }
}
// Check to see if NetworkProfileArn property is set
internal bool IsSetNetworkProfileArn()
{
return this._networkProfileArn != null;
}
/// <summary>
/// Gets and sets the property NetworkProfileName.
/// <para>
/// The name of the network profile associated with a device.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string NetworkProfileName
{
get { return this._networkProfileName; }
set { this._networkProfileName = value; }
}
// Check to see if NetworkProfileName property is set
internal bool IsSetNetworkProfileName()
{
return this._networkProfileName != null;
}
/// <summary>
/// Gets and sets the property NextPassword.
/// <para>
/// The next, or subsequent, password of the Wi-Fi network. This password is asynchronously
/// transmitted to the device and is used when the password of the network changes to
/// NextPassword.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Min=0, Max=128)]
public string NextPassword
{
get { return this._nextPassword; }
set { this._nextPassword = value; }
}
// Check to see if NextPassword property is set
internal bool IsSetNextPassword()
{
return this._nextPassword != null;
}
/// <summary>
/// Gets and sets the property TrustAnchors.
/// <para>
/// The root certificate(s) of your authentication server that will be installed on your
/// devices and used to trust your authentication server during EAP negotiation.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public List<string> TrustAnchors
{
get { return this._trustAnchors; }
set { this._trustAnchors = value; }
}
// Check to see if TrustAnchors property is set
internal bool IsSetTrustAnchors()
{
return this._trustAnchors != null && this._trustAnchors.Count > 0;
}
}
} | 182 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateNetworkProfile operation.
/// </summary>
public partial class UpdateNetworkProfileResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
///
/// </summary>
public partial class UpdateProactiveJoin
{
private bool? _enabledByMotion;
/// <summary>
/// Gets and sets the property EnabledByMotion.
/// </summary>
[AWSProperty(Required=true)]
public bool EnabledByMotion
{
get { return this._enabledByMotion.GetValueOrDefault(); }
set { this._enabledByMotion = value; }
}
// Check to see if EnabledByMotion property is set
internal bool IsSetEnabledByMotion()
{
return this._enabledByMotion.HasValue;
}
}
} | 55 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateProfile operation.
/// Updates an existing room profile by room profile ARN.
/// </summary>
public partial class UpdateProfileRequest : AmazonAlexaForBusinessRequest
{
private string _address;
private bool? _dataRetentionOptIn;
private DistanceUnit _distanceUnit;
private bool? _isDefault;
private string _locale;
private int? _maxVolumeLimit;
private UpdateMeetingRoomConfiguration _meetingRoomConfiguration;
private string _profileArn;
private string _profileName;
private bool? _pstnEnabled;
private bool? _setupModeDisabled;
private TemperatureUnit _temperatureUnit;
private string _timezone;
private WakeWord _wakeWord;
/// <summary>
/// Gets and sets the property Address.
/// <para>
/// The updated address for the room profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=500)]
public string 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 DataRetentionOptIn.
/// <para>
/// Whether data retention of the profile is enabled.
/// </para>
/// </summary>
public bool DataRetentionOptIn
{
get { return this._dataRetentionOptIn.GetValueOrDefault(); }
set { this._dataRetentionOptIn = value; }
}
// Check to see if DataRetentionOptIn property is set
internal bool IsSetDataRetentionOptIn()
{
return this._dataRetentionOptIn.HasValue;
}
/// <summary>
/// Gets and sets the property DistanceUnit.
/// <para>
/// The updated distance unit for the room profile.
/// </para>
/// </summary>
public DistanceUnit DistanceUnit
{
get { return this._distanceUnit; }
set { this._distanceUnit = value; }
}
// Check to see if DistanceUnit property is set
internal bool IsSetDistanceUnit()
{
return this._distanceUnit != null;
}
/// <summary>
/// Gets and sets the property IsDefault.
/// <para>
/// Sets the profile as default if selected. If this is missing, no update is done to
/// the default status.
/// </para>
/// </summary>
public bool IsDefault
{
get { return this._isDefault.GetValueOrDefault(); }
set { this._isDefault = value; }
}
// Check to see if IsDefault property is set
internal bool IsSetIsDefault()
{
return this._isDefault.HasValue;
}
/// <summary>
/// Gets and sets the property Locale.
/// <para>
/// The updated locale for the room profile. (This is currently only available to a limited
/// preview audience.)
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=256)]
public string Locale
{
get { return this._locale; }
set { this._locale = value; }
}
// Check to see if Locale property is set
internal bool IsSetLocale()
{
return this._locale != null;
}
/// <summary>
/// Gets and sets the property MaxVolumeLimit.
/// <para>
/// The updated maximum volume limit for the room profile.
/// </para>
/// </summary>
public int MaxVolumeLimit
{
get { return this._maxVolumeLimit.GetValueOrDefault(); }
set { this._maxVolumeLimit = value; }
}
// Check to see if MaxVolumeLimit property is set
internal bool IsSetMaxVolumeLimit()
{
return this._maxVolumeLimit.HasValue;
}
/// <summary>
/// Gets and sets the property MeetingRoomConfiguration.
/// <para>
/// The updated meeting room settings of a room profile.
/// </para>
/// </summary>
public UpdateMeetingRoomConfiguration MeetingRoomConfiguration
{
get { return this._meetingRoomConfiguration; }
set { this._meetingRoomConfiguration = value; }
}
// Check to see if MeetingRoomConfiguration property is set
internal bool IsSetMeetingRoomConfiguration()
{
return this._meetingRoomConfiguration != null;
}
/// <summary>
/// Gets and sets the property ProfileArn.
/// <para>
/// The ARN of the room profile to update. Required.
/// </para>
/// </summary>
public string ProfileArn
{
get { return this._profileArn; }
set { this._profileArn = value; }
}
// Check to see if ProfileArn property is set
internal bool IsSetProfileArn()
{
return this._profileArn != null;
}
/// <summary>
/// Gets and sets the property ProfileName.
/// <para>
/// The updated name for the room profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string ProfileName
{
get { return this._profileName; }
set { this._profileName = value; }
}
// Check to see if ProfileName property is set
internal bool IsSetProfileName()
{
return this._profileName != null;
}
/// <summary>
/// Gets and sets the property PSTNEnabled.
/// <para>
/// Whether the PSTN setting of the room profile is enabled.
/// </para>
/// </summary>
public bool PSTNEnabled
{
get { return this._pstnEnabled.GetValueOrDefault(); }
set { this._pstnEnabled = value; }
}
// Check to see if PSTNEnabled property is set
internal bool IsSetPSTNEnabled()
{
return this._pstnEnabled.HasValue;
}
/// <summary>
/// Gets and sets the property SetupModeDisabled.
/// <para>
/// Whether the setup mode of the profile is enabled.
/// </para>
/// </summary>
public bool SetupModeDisabled
{
get { return this._setupModeDisabled.GetValueOrDefault(); }
set { this._setupModeDisabled = value; }
}
// Check to see if SetupModeDisabled property is set
internal bool IsSetSetupModeDisabled()
{
return this._setupModeDisabled.HasValue;
}
/// <summary>
/// Gets and sets the property TemperatureUnit.
/// <para>
/// The updated temperature unit for the room profile.
/// </para>
/// </summary>
public TemperatureUnit TemperatureUnit
{
get { return this._temperatureUnit; }
set { this._temperatureUnit = value; }
}
// Check to see if TemperatureUnit property is set
internal bool IsSetTemperatureUnit()
{
return this._temperatureUnit != null;
}
/// <summary>
/// Gets and sets the property Timezone.
/// <para>
/// The updated timezone for the room profile.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string Timezone
{
get { return this._timezone; }
set { this._timezone = value; }
}
// Check to see if Timezone property is set
internal bool IsSetTimezone()
{
return this._timezone != null;
}
/// <summary>
/// Gets and sets the property WakeWord.
/// <para>
/// The updated wake word for the room profile.
/// </para>
/// </summary>
public WakeWord WakeWord
{
get { return this._wakeWord; }
set { this._wakeWord = value; }
}
// Check to see if WakeWord property is set
internal bool IsSetWakeWord()
{
return this._wakeWord != null;
}
}
} | 311 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateProfile operation.
/// </summary>
public partial class UpdateProfileResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Updates settings for the require check in feature that are applied to a room profile.
/// Require check in allows a meeting room’s Alexa or AVS device to prompt the user to
/// check in; otherwise, the room will be released.
/// </summary>
public partial class UpdateRequireCheckIn
{
private bool? _enabled;
private int? _releaseAfterMinutes;
/// <summary>
/// Gets and sets the property Enabled.
/// <para>
/// Whether require check in is enabled or not.
/// </para>
/// </summary>
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
/// <summary>
/// Gets and sets the property ReleaseAfterMinutes.
/// <para>
/// Duration between 5 and 20 minutes to determine when to release the room if it's not
/// checked into.
/// </para>
/// </summary>
public int ReleaseAfterMinutes
{
get { return this._releaseAfterMinutes.GetValueOrDefault(); }
set { this._releaseAfterMinutes = value; }
}
// Check to see if ReleaseAfterMinutes property is set
internal bool IsSetReleaseAfterMinutes()
{
return this._releaseAfterMinutes.HasValue;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateRoom operation.
/// Updates room details by room ARN.
/// </summary>
public partial class UpdateRoomRequest : AmazonAlexaForBusinessRequest
{
private string _description;
private string _profileArn;
private string _providerCalendarId;
private string _roomArn;
private string _roomName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The updated description for the room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property ProfileArn.
/// <para>
/// The updated profile ARN for the room.
/// </para>
/// </summary>
public string ProfileArn
{
get { return this._profileArn; }
set { this._profileArn = value; }
}
// Check to see if ProfileArn property is set
internal bool IsSetProfileArn()
{
return this._profileArn != null;
}
/// <summary>
/// Gets and sets the property ProviderCalendarId.
/// <para>
/// The updated provider calendar ARN for the room.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public string ProviderCalendarId
{
get { return this._providerCalendarId; }
set { this._providerCalendarId = value; }
}
// Check to see if ProviderCalendarId property is set
internal bool IsSetProviderCalendarId()
{
return this._providerCalendarId != null;
}
/// <summary>
/// Gets and sets the property RoomArn.
/// <para>
/// The ARN of the room to update.
/// </para>
/// </summary>
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != null;
}
/// <summary>
/// Gets and sets the property RoomName.
/// <para>
/// The updated name for the room.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string RoomName
{
get { return this._roomName; }
set { this._roomName = value; }
}
// Check to see if RoomName property is set
internal bool IsSetRoomName()
{
return this._roomName != null;
}
}
} | 137 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateRoom operation.
/// </summary>
public partial class UpdateRoomResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Container for the parameters to the UpdateSkillGroup operation.
/// Updates skill group details by skill group ARN.
/// </summary>
public partial class UpdateSkillGroupRequest : AmazonAlexaForBusinessRequest
{
private string _description;
private string _skillGroupArn;
private string _skillGroupName;
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The updated description for the skill group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property SkillGroupArn.
/// <para>
/// The ARN of the skill group to update.
/// </para>
/// </summary>
public string SkillGroupArn
{
get { return this._skillGroupArn; }
set { this._skillGroupArn = value; }
}
// Check to see if SkillGroupArn property is set
internal bool IsSetSkillGroupArn()
{
return this._skillGroupArn != null;
}
/// <summary>
/// Gets and sets the property SkillGroupName.
/// <para>
/// The updated name for the skill group.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=100)]
public string SkillGroupName
{
get { return this._skillGroupName; }
set { this._skillGroupName = value; }
}
// Check to see if SkillGroupName property is set
internal bool IsSetSkillGroupName()
{
return this._skillGroupName != 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// This is the response object from the UpdateSkillGroup operation.
/// </summary>
public partial class UpdateSkillGroupResponse : 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
/// <summary>
/// Information related to a user.
/// </summary>
public partial class UserData
{
private string _email;
private string _enrollmentId;
private EnrollmentStatus _enrollmentStatus;
private string _firstName;
private string _lastName;
private string _userArn;
/// <summary>
/// Gets and sets the property Email.
/// <para>
/// The email of a user.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=128)]
public string Email
{
get { return this._email; }
set { this._email = value; }
}
// Check to see if Email property is set
internal bool IsSetEmail()
{
return this._email != null;
}
/// <summary>
/// Gets and sets the property EnrollmentId.
/// <para>
/// The enrollment ARN of a user.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=128)]
public string EnrollmentId
{
get { return this._enrollmentId; }
set { this._enrollmentId = value; }
}
// Check to see if EnrollmentId property is set
internal bool IsSetEnrollmentId()
{
return this._enrollmentId != null;
}
/// <summary>
/// Gets and sets the property EnrollmentStatus.
/// <para>
/// The enrollment status of a user.
/// </para>
/// </summary>
public EnrollmentStatus EnrollmentStatus
{
get { return this._enrollmentStatus; }
set { this._enrollmentStatus = value; }
}
// Check to see if EnrollmentStatus property is set
internal bool IsSetEnrollmentStatus()
{
return this._enrollmentStatus != null;
}
/// <summary>
/// Gets and sets the property FirstName.
/// <para>
/// The first name of a user.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=30)]
public string FirstName
{
get { return this._firstName; }
set { this._firstName = value; }
}
// Check to see if FirstName property is set
internal bool IsSetFirstName()
{
return this._firstName != null;
}
/// <summary>
/// Gets and sets the property LastName.
/// <para>
/// The last name of a user.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=30)]
public string LastName
{
get { return this._lastName; }
set { this._lastName = value; }
}
// Check to see if LastName property is set
internal bool IsSetLastName()
{
return this._lastName != null;
}
/// <summary>
/// Gets and sets the property UserArn.
/// <para>
/// The ARN of a user.
/// </para>
/// </summary>
public string UserArn
{
get { return this._userArn; }
set { this._userArn = value; }
}
// Check to see if UserArn property is set
internal bool IsSetUserArn()
{
return this._userArn != null;
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AddressBookData Object
/// </summary>
public class AddressBookDataUnmarshaller : IUnmarshaller<AddressBookData, XmlUnmarshallerContext>, IUnmarshaller<AddressBookData, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AddressBookData IUnmarshaller<AddressBookData, 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 AddressBookData Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AddressBookData unmarshalledObject = new AddressBookData();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("AddressBookArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AddressBookArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AddressBookDataUnmarshaller _instance = new AddressBookDataUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AddressBookDataUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 104 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AddressBook Object
/// </summary>
public class AddressBookUnmarshaller : IUnmarshaller<AddressBook, XmlUnmarshallerContext>, IUnmarshaller<AddressBook, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
AddressBook IUnmarshaller<AddressBook, 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 AddressBook Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
AddressBook unmarshalledObject = new AddressBook();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("AddressBookArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AddressBookArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static AddressBookUnmarshaller _instance = new AddressBookUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AddressBookUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 104 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AlreadyExistsException Object
/// </summary>
public class AlreadyExistsExceptionUnmarshaller : IErrorResponseUnmarshaller<AlreadyExistsException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public AlreadyExistsException 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 AlreadyExistsException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
AlreadyExistsException unmarshalledObject = new AlreadyExistsException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static AlreadyExistsExceptionUnmarshaller _instance = new AlreadyExistsExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static AlreadyExistsExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 85 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// ApproveSkill Request Marshaller
/// </summary>
public class ApproveSkillRequestMarshaller : IMarshaller<IRequest, ApproveSkillRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ApproveSkillRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ApproveSkillRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.ApproveSkill";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetSkillId())
{
context.Writer.WritePropertyName("SkillId");
context.Writer.Write(publicRequest.SkillId);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static ApproveSkillRequestMarshaller _instance = new ApproveSkillRequestMarshaller();
internal static ApproveSkillRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ApproveSkillRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 103 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ApproveSkill operation
/// </summary>
public class ApproveSkillResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ApproveSkillResponse response = new ApproveSkillResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
{
return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ApproveSkillResponseUnmarshaller _instance = new ApproveSkillResponseUnmarshaller();
internal static ApproveSkillResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ApproveSkillResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 107 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// AssociateContactWithAddressBook Request Marshaller
/// </summary>
public class AssociateContactWithAddressBookRequestMarshaller : IMarshaller<IRequest, AssociateContactWithAddressBookRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((AssociateContactWithAddressBookRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(AssociateContactWithAddressBookRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.AssociateContactWithAddressBook";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAddressBookArn())
{
context.Writer.WritePropertyName("AddressBookArn");
context.Writer.Write(publicRequest.AddressBookArn);
}
if(publicRequest.IsSetContactArn())
{
context.Writer.WritePropertyName("ContactArn");
context.Writer.Write(publicRequest.ContactArn);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static AssociateContactWithAddressBookRequestMarshaller _instance = new AssociateContactWithAddressBookRequestMarshaller();
internal static AssociateContactWithAddressBookRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateContactWithAddressBookRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 109 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AssociateContactWithAddressBook operation
/// </summary>
public class AssociateContactWithAddressBookResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
AssociateContactWithAddressBookResponse response = new AssociateContactWithAddressBookResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static AssociateContactWithAddressBookResponseUnmarshaller _instance = new AssociateContactWithAddressBookResponseUnmarshaller();
internal static AssociateContactWithAddressBookResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateContactWithAddressBookResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// AssociateDeviceWithNetworkProfile Request Marshaller
/// </summary>
public class AssociateDeviceWithNetworkProfileRequestMarshaller : IMarshaller<IRequest, AssociateDeviceWithNetworkProfileRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((AssociateDeviceWithNetworkProfileRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(AssociateDeviceWithNetworkProfileRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.AssociateDeviceWithNetworkProfile";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDeviceArn())
{
context.Writer.WritePropertyName("DeviceArn");
context.Writer.Write(publicRequest.DeviceArn);
}
if(publicRequest.IsSetNetworkProfileArn())
{
context.Writer.WritePropertyName("NetworkProfileArn");
context.Writer.Write(publicRequest.NetworkProfileArn);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static AssociateDeviceWithNetworkProfileRequestMarshaller _instance = new AssociateDeviceWithNetworkProfileRequestMarshaller();
internal static AssociateDeviceWithNetworkProfileRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateDeviceWithNetworkProfileRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 109 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AssociateDeviceWithNetworkProfile operation
/// </summary>
public class AssociateDeviceWithNetworkProfileResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
AssociateDeviceWithNetworkProfileResponse response = new AssociateDeviceWithNetworkProfileResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
{
return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("DeviceNotRegisteredException"))
{
return DeviceNotRegisteredExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static AssociateDeviceWithNetworkProfileResponseUnmarshaller _instance = new AssociateDeviceWithNetworkProfileResponseUnmarshaller();
internal static AssociateDeviceWithNetworkProfileResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateDeviceWithNetworkProfileResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 107 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// AssociateDeviceWithRoom Request Marshaller
/// </summary>
public class AssociateDeviceWithRoomRequestMarshaller : IMarshaller<IRequest, AssociateDeviceWithRoomRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((AssociateDeviceWithRoomRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(AssociateDeviceWithRoomRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.AssociateDeviceWithRoom";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDeviceArn())
{
context.Writer.WritePropertyName("DeviceArn");
context.Writer.Write(publicRequest.DeviceArn);
}
if(publicRequest.IsSetRoomArn())
{
context.Writer.WritePropertyName("RoomArn");
context.Writer.Write(publicRequest.RoomArn);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static AssociateDeviceWithRoomRequestMarshaller _instance = new AssociateDeviceWithRoomRequestMarshaller();
internal static AssociateDeviceWithRoomRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateDeviceWithRoomRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 109 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AssociateDeviceWithRoom operation
/// </summary>
public class AssociateDeviceWithRoomResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
AssociateDeviceWithRoomResponse response = new AssociateDeviceWithRoomResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
{
return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("DeviceNotRegisteredException"))
{
return DeviceNotRegisteredExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException"))
{
return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static AssociateDeviceWithRoomResponseUnmarshaller _instance = new AssociateDeviceWithRoomResponseUnmarshaller();
internal static AssociateDeviceWithRoomResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateDeviceWithRoomResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 107 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// AssociateSkillGroupWithRoom Request Marshaller
/// </summary>
public class AssociateSkillGroupWithRoomRequestMarshaller : IMarshaller<IRequest, AssociateSkillGroupWithRoomRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((AssociateSkillGroupWithRoomRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(AssociateSkillGroupWithRoomRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.AssociateSkillGroupWithRoom";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetRoomArn())
{
context.Writer.WritePropertyName("RoomArn");
context.Writer.Write(publicRequest.RoomArn);
}
if(publicRequest.IsSetSkillGroupArn())
{
context.Writer.WritePropertyName("SkillGroupArn");
context.Writer.Write(publicRequest.SkillGroupArn);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static AssociateSkillGroupWithRoomRequestMarshaller _instance = new AssociateSkillGroupWithRoomRequestMarshaller();
internal static AssociateSkillGroupWithRoomRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateSkillGroupWithRoomRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 109 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AssociateSkillGroupWithRoom operation
/// </summary>
public class AssociateSkillGroupWithRoomResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
AssociateSkillGroupWithRoomResponse response = new AssociateSkillGroupWithRoomResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
{
return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static AssociateSkillGroupWithRoomResponseUnmarshaller _instance = new AssociateSkillGroupWithRoomResponseUnmarshaller();
internal static AssociateSkillGroupWithRoomResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateSkillGroupWithRoomResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// AssociateSkillWithSkillGroup Request Marshaller
/// </summary>
public class AssociateSkillWithSkillGroupRequestMarshaller : IMarshaller<IRequest, AssociateSkillWithSkillGroupRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((AssociateSkillWithSkillGroupRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(AssociateSkillWithSkillGroupRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.AssociateSkillWithSkillGroup";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetSkillGroupArn())
{
context.Writer.WritePropertyName("SkillGroupArn");
context.Writer.Write(publicRequest.SkillGroupArn);
}
if(publicRequest.IsSetSkillId())
{
context.Writer.WritePropertyName("SkillId");
context.Writer.Write(publicRequest.SkillId);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static AssociateSkillWithSkillGroupRequestMarshaller _instance = new AssociateSkillWithSkillGroupRequestMarshaller();
internal static AssociateSkillWithSkillGroupRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateSkillWithSkillGroupRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 109 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AssociateSkillWithSkillGroup operation
/// </summary>
public class AssociateSkillWithSkillGroupResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
AssociateSkillWithSkillGroupResponse response = new AssociateSkillWithSkillGroupResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
{
return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("SkillNotLinkedException"))
{
return SkillNotLinkedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static AssociateSkillWithSkillGroupResponseUnmarshaller _instance = new AssociateSkillWithSkillGroupResponseUnmarshaller();
internal static AssociateSkillWithSkillGroupResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateSkillWithSkillGroupResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 107 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// AssociateSkillWithUsers Request Marshaller
/// </summary>
public class AssociateSkillWithUsersRequestMarshaller : IMarshaller<IRequest, AssociateSkillWithUsersRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((AssociateSkillWithUsersRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(AssociateSkillWithUsersRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AlexaForBusiness");
string target = "AlexaForBusiness.AssociateSkillWithUsers";
request.Headers["X-Amz-Target"] = target;
request.Headers["Content-Type"] = "application/x-amz-json-1.1";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-11-09";
request.HttpMethod = "POST";
request.ResourcePath = "/";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetSkillId())
{
context.Writer.WritePropertyName("SkillId");
context.Writer.Write(publicRequest.SkillId);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static AssociateSkillWithUsersRequestMarshaller _instance = new AssociateSkillWithUsersRequestMarshaller();
internal static AssociateSkillWithUsersRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateSkillWithUsersRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 103 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for AssociateSkillWithUsers operation
/// </summary>
public class AssociateSkillWithUsersResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
AssociateSkillWithUsersResponse response = new AssociateSkillWithUsersResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
{
return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException"))
{
return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAlexaForBusinessException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static AssociateSkillWithUsersResponseUnmarshaller _instance = new AssociateSkillWithUsersResponseUnmarshaller();
internal static AssociateSkillWithUsersResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static AssociateSkillWithUsersResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 103 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Audio Marshaller
/// </summary>
public class AudioMarshaller : IRequestMarshaller<Audio, 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(Audio requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetLocale())
{
context.Writer.WritePropertyName("Locale");
context.Writer.Write(requestObject.Locale);
}
if(requestObject.IsSetLocation())
{
context.Writer.WritePropertyName("Location");
context.Writer.Write(requestObject.Location);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AudioMarshaller Instance = new AudioMarshaller();
}
} | 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// BusinessReportContentRange Marshaller
/// </summary>
public class BusinessReportContentRangeMarshaller : IRequestMarshaller<BusinessReportContentRange, 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(BusinessReportContentRange requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetInterval())
{
context.Writer.WritePropertyName("Interval");
context.Writer.Write(requestObject.Interval);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static BusinessReportContentRangeMarshaller Instance = new BusinessReportContentRangeMarshaller();
}
} | 62 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for BusinessReportContentRange Object
/// </summary>
public class BusinessReportContentRangeUnmarshaller : IUnmarshaller<BusinessReportContentRange, XmlUnmarshallerContext>, IUnmarshaller<BusinessReportContentRange, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
BusinessReportContentRange IUnmarshaller<BusinessReportContentRange, 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 BusinessReportContentRange Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
BusinessReportContentRange unmarshalledObject = new BusinessReportContentRange();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Interval", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Interval = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static BusinessReportContentRangeUnmarshaller _instance = new BusinessReportContentRangeUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static BusinessReportContentRangeUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 92 |
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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AlexaForBusiness.Model.Internal.MarshallTransformations
{
/// <summary>
/// BusinessReportRecurrence Marshaller
/// </summary>
public class BusinessReportRecurrenceMarshaller : IRequestMarshaller<BusinessReportRecurrence, 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(BusinessReportRecurrence requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetStartDate())
{
context.Writer.WritePropertyName("StartDate");
context.Writer.Write(requestObject.StartDate);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static BusinessReportRecurrenceMarshaller Instance = new BusinessReportRecurrenceMarshaller();
}
} | 62 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.