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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// The specified resource doesn't exist. Check your request syntax and try again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class NotFoundException : AmazonAppMeshException { /// <summary> /// Constructs a new NotFoundException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public NotFoundException(string message) : base(message) {} /// <summary> /// Construct instance of NotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public NotFoundException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of NotFoundException /// </summary> /// <param name="innerException"></param> public NotFoundException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of NotFoundException /// </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 NotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of NotFoundException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public NotFoundException(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 NotFoundException 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 NotFoundException(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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the outlier detection for a virtual node's listener. /// </summary> public partial class OutlierDetection { private Duration _baseEjectionDuration; private Duration _interval; private int? _maxEjectionPercent; private long? _maxServerErrors; /// <summary> /// Gets and sets the property BaseEjectionDuration. /// <para> /// The base amount of time for which a host is ejected. /// </para> /// </summary> [AWSProperty(Required=true)] public Duration BaseEjectionDuration { get { return this._baseEjectionDuration; } set { this._baseEjectionDuration = value; } } // Check to see if BaseEjectionDuration property is set internal bool IsSetBaseEjectionDuration() { return this._baseEjectionDuration != null; } /// <summary> /// Gets and sets the property Interval. /// <para> /// The time interval between ejection sweep analysis. /// </para> /// </summary> [AWSProperty(Required=true)] public Duration Interval { get { return this._interval; } set { this._interval = value; } } // Check to see if Interval property is set internal bool IsSetInterval() { return this._interval != null; } /// <summary> /// Gets and sets the property MaxEjectionPercent. /// <para> /// Maximum percentage of hosts in load balancing pool for upstream service that can be /// ejected. Will eject at least one host regardless of the value. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=100)] public int MaxEjectionPercent { get { return this._maxEjectionPercent.GetValueOrDefault(); } set { this._maxEjectionPercent = value; } } // Check to see if MaxEjectionPercent property is set internal bool IsSetMaxEjectionPercent() { return this._maxEjectionPercent.HasValue; } /// <summary> /// Gets and sets the property MaxServerErrors. /// <para> /// Number of consecutive <code>5xx</code> errors required for ejection. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public long MaxServerErrors { get { return this._maxServerErrors.GetValueOrDefault(); } set { this._maxServerErrors = value; } } // Check to see if MaxServerErrors property is set internal bool IsSetMaxServerErrors() { return this._maxServerErrors.HasValue; } } }
119
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a port mapping. /// </summary> public partial class PortMapping { private int? _port; private PortProtocol _protocol; /// <summary> /// Gets and sets the property Port. /// <para> /// The port used for the port mapping. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property Protocol. /// <para> /// The protocol used for the port mapping. Specify one protocol. /// </para> /// </summary> [AWSProperty(Required=true)] public PortProtocol Protocol { get { return this._protocol; } set { this._protocol = value; } } // Check to see if Protocol property is set internal bool IsSetProtocol() { return this._protocol != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object representing the query parameter to match. /// </summary> public partial class QueryParameterMatch { private string _exact; /// <summary> /// Gets and sets the property Exact. /// <para> /// The exact query parameter to match on. /// </para> /// </summary> public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ResourceInUseException : AmazonAppMeshException { /// <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) { } /// <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 } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents metadata for a resource. /// </summary> public partial class ResourceMetadata { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshOwner; private string _resourceOwner; private string _uid; private long? _version; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the resource. /// </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 CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Uid. /// <para> /// The unique identifier for the resource. /// </para> /// </summary> [AWSProperty(Required=true)] public string Uid { get { return this._uid; } set { this._uid = value; } } // Check to see if Uid property is set internal bool IsSetUid() { return this._uid != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } } }
185
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a route returned by a describe operation. /// </summary> public partial class RouteData { private string _meshName; private ResourceMetadata _metadata; private string _routeName; private RouteSpec _spec; private RouteStatus _status; private string _virtualRouterName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// <para> /// The associated metadata for the route. /// </para> /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property RouteName. /// <para> /// The name of the route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string RouteName { get { return this._routeName; } set { this._routeName = value; } } // Check to see if RouteName property is set internal bool IsSetRouteName() { return this._routeName != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The specifications of the route. /// </para> /// </summary> [AWSProperty(Required=true)] public RouteSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the route. /// </para> /// </summary> [AWSProperty(Required=true)] public RouteStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The virtual router that the route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a route returned by a list operation. /// </summary> public partial class RouteRef { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private string _routeName; private long? _version; private string _virtualRouterName; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the route. /// </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 CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property RouteName. /// <para> /// The name of the route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string RouteName { get { return this._routeName; } set { this._routeName = value; } } // Check to see if RouteName property is set internal bool IsSetRouteName() { return this._routeName != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The virtual router that the route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
225
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a route specification. Specify one route type. /// </summary> public partial class RouteSpec { private GrpcRoute _grpcRoute; private HttpRoute _http2Route; private HttpRoute _httpRoute; private int? _priority; private TcpRoute _tcpRoute; /// <summary> /// Gets and sets the property GrpcRoute. /// <para> /// An object that represents the specification of a gRPC route. /// </para> /// </summary> public GrpcRoute GrpcRoute { get { return this._grpcRoute; } set { this._grpcRoute = value; } } // Check to see if GrpcRoute property is set internal bool IsSetGrpcRoute() { return this._grpcRoute != null; } /// <summary> /// Gets and sets the property Http2Route. /// <para> /// An object that represents the specification of an HTTP/2 route. /// </para> /// </summary> public HttpRoute Http2Route { get { return this._http2Route; } set { this._http2Route = value; } } // Check to see if Http2Route property is set internal bool IsSetHttp2Route() { return this._http2Route != null; } /// <summary> /// Gets and sets the property HttpRoute. /// <para> /// An object that represents the specification of an HTTP route. /// </para> /// </summary> public HttpRoute HttpRoute { get { return this._httpRoute; } set { this._httpRoute = value; } } // Check to see if HttpRoute property is set internal bool IsSetHttpRoute() { return this._httpRoute != null; } /// <summary> /// Gets and sets the property Priority. /// <para> /// The priority for the route. Routes are matched based on the specified value, where /// 0 is the highest priority. /// </para> /// </summary> [AWSProperty(Min=0, Max=1000)] public int Priority { get { return this._priority.GetValueOrDefault(); } set { this._priority = value; } } // Check to see if Priority property is set internal bool IsSetPriority() { return this._priority.HasValue; } /// <summary> /// Gets and sets the property TcpRoute. /// <para> /// An object that represents the specification of a TCP route. /// </para> /// </summary> public TcpRoute TcpRoute { get { return this._tcpRoute; } set { this._tcpRoute = value; } } // Check to see if TcpRoute property is set internal bool IsSetTcpRoute() { return this._tcpRoute != null; } } }
135
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the current status of a route. /// </summary> public partial class RouteStatus { private RouteStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current status for the route. /// </para> /// </summary> [AWSProperty(Required=true)] public RouteStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the service discovery information for a virtual node. /// </summary> public partial class ServiceDiscovery { private AwsCloudMapServiceDiscovery _awsCloudMap; private DnsServiceDiscovery _dns; /// <summary> /// Gets and sets the property AwsCloudMap. /// <para> /// Specifies any Cloud Map information for the virtual node. /// </para> /// </summary> public AwsCloudMapServiceDiscovery AwsCloudMap { get { return this._awsCloudMap; } set { this._awsCloudMap = value; } } // Check to see if AwsCloudMap property is set internal bool IsSetAwsCloudMap() { return this._awsCloudMap != null; } /// <summary> /// Gets and sets the property Dns. /// <para> /// Specifies the DNS information for the virtual node. /// </para> /// </summary> public DnsServiceDiscovery Dns { get { return this._dns; } set { this._dns = value; } } // Check to see if Dns property is set internal bool IsSetDns() { return this._dns != null; } } }
76
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// The request has failed due to a temporary failure of the service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ServiceUnavailableException : AmazonAppMeshException { private RetryableDetails _retryableDetails = new RetryableDetails(false); /// <summary> /// Constructs a new ServiceUnavailableException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ServiceUnavailableException(string message) : base(message) {} /// <summary> /// Construct instance of ServiceUnavailableException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ServiceUnavailableException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ServiceUnavailableException /// </summary> /// <param name="innerException"></param> public ServiceUnavailableException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ServiceUnavailableException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ServiceUnavailableException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ServiceUnavailableException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ServiceUnavailableException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ServiceUnavailableException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ServiceUnavailableException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <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 /// <summary> /// Flag indicating if the exception is retryable and the associated retry /// details. A null value indicates that the exception is not retryable. /// </summary> public override RetryableDetails Retryable { get { return _retryableDetails; } } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the methods by which a subject alternative name on a peer /// Transport Layer Security (TLS) certificate can be matched. /// </summary> public partial class SubjectAlternativeNameMatchers { private List<string> _exact = new List<string>(); /// <summary> /// Gets and sets the property Exact. /// <para> /// The values sent must match the specified values exactly. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null && this._exact.Count > 0; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the subject alternative names secured by the certificate. /// </summary> public partial class SubjectAlternativeNames { private SubjectAlternativeNameMatchers _match; /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the criteria for determining a SANs match. /// </para> /// </summary> [AWSProperty(Required=true)] public SubjectAlternativeNameMatchers Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Optional metadata that you apply to a resource to assist with categorization and organization. /// Each tag consists of a key and an optional value, both of which you define. Tag keys /// can have a maximum character length of 128 characters, and tag values can have a maximum /// length of 256 characters. /// </summary> public partial class TagRef { private string _key; private string _value; /// <summary> /// Gets and sets the property Key. /// <para> /// One part of a key-value pair that make up a tag. A <code>key</code> is a general label /// that acts like a category for more specific tag values. /// </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 optional part of a key-value pair that make up a tag. A <code>value</code> acts /// as a descriptor within a tag category (key). /// </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; } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the TagResource operation. /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> public partial class TagResourceRequest : AmazonAppMeshRequest { private string _resourceArn; private List<TagRef> _tags = new List<TagRef>(); /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// The Amazon Resource Name (ARN) of the resource to add tags to. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can /// have a maximum character length of 128 characters, and tag values can have a maximum /// length of 256 characters. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=50)] public List<TagRef> 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; } } }
84
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a TCP route type. /// </summary> public partial class TcpRoute { private TcpRouteAction _action; private TcpRouteMatch _match; private TcpTimeout _timeout; /// <summary> /// Gets and sets the property Action. /// <para> /// The action to take if a match is determined. /// </para> /// </summary> [AWSProperty(Required=true)] public TcpRouteAction Action { get { return this._action; } set { this._action = value; } } // Check to see if Action property is set internal bool IsSetAction() { return this._action != null; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the criteria for determining a request match. /// </para> /// </summary> public TcpRouteMatch Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property Timeout. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public TcpTimeout Timeout { get { return this._timeout; } set { this._timeout = value; } } // Check to see if Timeout property is set internal bool IsSetTimeout() { return this._timeout != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the action to take if a match is determined. /// </summary> public partial class TcpRouteAction { private List<WeightedTarget> _weightedTargets = new List<WeightedTarget>(); /// <summary> /// Gets and sets the property WeightedTargets. /// <para> /// An object that represents the targets that traffic is routed to when a request matches /// the route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=10)] public List<WeightedTarget> WeightedTargets { get { return this._weightedTargets; } set { this._weightedTargets = value; } } // Check to see if WeightedTargets property is set internal bool IsSetWeightedTargets() { return this._weightedTargets != null && this._weightedTargets.Count > 0; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object representing the TCP route to match. /// </summary> public partial class TcpRouteMatch { private int? _port; /// <summary> /// Gets and sets the property Port. /// <para> /// The port number to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents types of timeouts. /// </summary> public partial class TcpTimeout { private Duration _idle; /// <summary> /// Gets and sets the property Idle. /// <para> /// An object that represents an idle timeout. An idle timeout bounds the amount of time /// that a connection may be idle. The default value is none. /// </para> /// </summary> public Duration Idle { get { return this._idle; } set { this._idle = value; } } // Check to see if Idle property is set internal bool IsSetIdle() { return this._idle != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents how the proxy will validate its peer during Transport Layer /// Security (TLS) negotiation. /// </summary> public partial class TlsValidationContext { private SubjectAlternativeNames _subjectAlternativeNames; private TlsValidationContextTrust _trust; /// <summary> /// Gets and sets the property SubjectAlternativeNames. /// <para> /// A reference to an object that represents the SANs for a Transport Layer Security (TLS) /// validation context. If you don't specify SANs on the <i>terminating</i> mesh endpoint, /// the Envoy proxy for that node doesn't verify the SAN on a peer client certificate. /// If you don't specify SANs on the <i>originating</i> mesh endpoint, the SAN on the /// certificate provided by the terminating endpoint must match the mesh endpoint service /// discovery configuration. Since SPIRE vended certificates have a SPIFFE ID as a name, /// you must set the SAN since the name doesn't match the service discovery name. /// </para> /// </summary> public SubjectAlternativeNames SubjectAlternativeNames { get { return this._subjectAlternativeNames; } set { this._subjectAlternativeNames = value; } } // Check to see if SubjectAlternativeNames property is set internal bool IsSetSubjectAlternativeNames() { return this._subjectAlternativeNames != null; } /// <summary> /// Gets and sets the property Trust. /// <para> /// A reference to where to retrieve the trust chain when validating a peer’s Transport /// Layer Security (TLS) certificate. /// </para> /// </summary> [AWSProperty(Required=true)] public TlsValidationContextTrust Trust { get { return this._trust; } set { this._trust = value; } } // Check to see if Trust property is set internal bool IsSetTrust() { return this._trust != null; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for an Certificate Manager certificate. /// </summary> public partial class TlsValidationContextAcmTrust { private List<string> _certificateAuthorityArns = new List<string>(); /// <summary> /// Gets and sets the property CertificateAuthorityArns. /// <para> /// One or more ACM Amazon Resource Name (ARN)s. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=3)] public List<string> CertificateAuthorityArns { get { return this._certificateAuthorityArns; } set { this._certificateAuthorityArns = value; } } // Check to see if CertificateAuthorityArns property is set internal bool IsSetCertificateAuthorityArns() { return this._certificateAuthorityArns != null && this._certificateAuthorityArns.Count > 0; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for a local file. /// </summary> public partial class TlsValidationContextFileTrust { private string _certificateChain; /// <summary> /// Gets and sets the property CertificateChain. /// <para> /// The certificate trust chain for a certificate stored on the file system of the virtual /// node that the proxy is running on. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string CertificateChain { get { return this._certificateChain; } set { this._certificateChain = value; } } // Check to see if CertificateChain property is set internal bool IsSetCertificateChain() { return this._certificateChain != null; } } }
60
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) Secret Discovery Service /// validation context trust. The proxy must be configured with a local SDS provider via /// a Unix Domain Socket. See App Mesh <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html">TLS /// documentation</a> for more info. /// </summary> public partial class TlsValidationContextSdsTrust { private string _secretName; /// <summary> /// Gets and sets the property SecretName. /// <para> /// A reference to an object that represents the name of the secret for a Transport Layer /// Security (TLS) Secret Discovery Service validation context trust. /// </para> /// </summary> [AWSProperty(Required=true)] public string SecretName { get { return this._secretName; } set { this._secretName = value; } } // Check to see if SecretName property is set internal bool IsSetSecretName() { return this._secretName != null; } } }
62
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context trust. /// </summary> public partial class TlsValidationContextTrust { private TlsValidationContextAcmTrust _acm; private TlsValidationContextFileTrust _file; private TlsValidationContextSdsTrust _sds; /// <summary> /// Gets and sets the property Acm. /// <para> /// A reference to an object that represents a Transport Layer Security (TLS) validation /// context trust for an Certificate Manager certificate. /// </para> /// </summary> public TlsValidationContextAcmTrust Acm { get { return this._acm; } set { this._acm = value; } } // Check to see if Acm property is set internal bool IsSetAcm() { return this._acm != null; } /// <summary> /// Gets and sets the property File. /// <para> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for a local file. /// </para> /// </summary> public TlsValidationContextFileTrust File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery /// Service validation context trust. /// </para> /// </summary> public TlsValidationContextSdsTrust Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class TooManyRequestsException : AmazonAppMeshException { private RetryableDetails _retryableDetails = new RetryableDetails(true); /// <summary> /// Constructs a new TooManyRequestsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public TooManyRequestsException(string message) : base(message) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public TooManyRequestsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="innerException"></param> public TooManyRequestsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of TooManyRequestsException /// </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 TooManyRequestsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of TooManyRequestsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public TooManyRequestsException(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 TooManyRequestsException 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 TooManyRequestsException(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 /// <summary> /// Flag indicating if the exception is retryable and the associated retry /// details. A null value indicates that the exception is not retryable. /// </summary> public override RetryableDetails Retryable { get { return _retryableDetails; } } } }
138
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class TooManyTagsException : AmazonAppMeshException { /// <summary> /// Constructs a new TooManyTagsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public TooManyTagsException(string message) : base(message) {} /// <summary> /// Construct instance of TooManyTagsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public TooManyTagsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of TooManyTagsException /// </summary> /// <param name="innerException"></param> public TooManyTagsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of TooManyTagsException /// </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 TooManyTagsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of TooManyTagsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public TooManyTagsException(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 TooManyTagsException 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 TooManyTagsException(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 } }
126
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UntagResource operation. /// Deletes specified tags from a resource. /// </summary> public partial class UntagResourceRequest : AmazonAppMeshRequest { private string _resourceArn; private List<string> _tagKeys = new List<string>(); /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// The Amazon Resource Name (ARN) of the resource to delete tags from. /// </para> /// </summary> [AWSProperty(Required=true)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// <summary> /// Gets and sets the property TagKeys. /// <para> /// The keys of the tags to be removed. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=50)] public List<string> TagKeys { get { return this._tagKeys; } set { this._tagKeys = value; } } // Check to see if TagKeys property is set internal bool IsSetTagKeys() { return this._tagKeys != null && this._tagKeys.Count > 0; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateGatewayRoute operation. /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> public partial class UpdateGatewayRouteRequest : AmazonAppMeshRequest { private string _clientToken; private string _gatewayRouteName; private string _meshName; private string _meshOwner; private GatewayRouteSpec _spec; private string _virtualGatewayName; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property GatewayRouteName. /// <para> /// The name of the gateway route to update. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string GatewayRouteName { get { return this._gatewayRouteName; } set { this._gatewayRouteName = value; } } // Check to see if GatewayRouteName property is set internal bool IsSetGatewayRouteName() { return this._gatewayRouteName != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the gateway route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The new gateway route specification to apply. This overwrites the existing data. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The name of the virtual gateway that the gateway route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
163
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// This is the response object from the UpdateGatewayRoute operation. /// </summary> public partial class UpdateGatewayRouteResponse : AmazonWebServiceResponse { private GatewayRouteData _gatewayRoute; /// <summary> /// Gets and sets the property GatewayRoute. /// <para> /// A full description of the gateway route that was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteData GatewayRoute { get { return this._gatewayRoute; } set { this._gatewayRoute = value; } } // Check to see if GatewayRoute property is set internal bool IsSetGatewayRoute() { return this._gatewayRoute != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateMesh operation. /// Updates an existing service mesh. /// </summary> public partial class UpdateMeshRequest : AmazonAppMeshRequest { private string _clientToken; private string _meshName; private MeshSpec _spec; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to update. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The service mesh specification to apply. /// </para> /// </summary> public MeshSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class UpdateMeshResponse : AmazonWebServiceResponse { private MeshData _mesh; /// <summary> /// Gets and sets the property Mesh. /// </summary> [AWSProperty(Required=true)] public MeshData Mesh { get { return this._mesh; } set { this._mesh = value; } } // Check to see if Mesh property is set internal bool IsSetMesh() { return this._mesh != null; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateRoute operation. /// Updates an existing route for a specified service mesh and virtual router. /// </summary> public partial class UpdateRouteRequest : AmazonAppMeshRequest { private string _clientToken; private string _meshName; private string _meshOwner; private string _routeName; private RouteSpec _spec; private string _virtualRouterName; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property RouteName. /// <para> /// The name of the route to update. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string RouteName { get { return this._routeName; } set { this._routeName = value; } } // Check to see if RouteName property is set internal bool IsSetRouteName() { return this._routeName != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The new route specification to apply. This overwrites the existing data. /// </para> /// </summary> [AWSProperty(Required=true)] public RouteSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router that the route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
162
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class UpdateRouteResponse : AmazonWebServiceResponse { private RouteData _route; /// <summary> /// Gets and sets the property Route. /// <para> /// A full description of the route that was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public RouteData Route { get { return this._route; } set { this._route = value; } } // Check to see if Route property is set internal bool IsSetRoute() { return this._route != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateVirtualGateway operation. /// Updates an existing virtual gateway in a specified service mesh. /// </summary> public partial class UpdateVirtualGatewayRequest : AmazonAppMeshRequest { private string _clientToken; private string _meshName; private string _meshOwner; private VirtualGatewaySpec _spec; private string _virtualGatewayName; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual gateway resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The new virtual gateway specification to apply. This overwrites the existing data. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewaySpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The name of the virtual gateway to update. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
142
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// This is the response object from the UpdateVirtualGateway operation. /// </summary> public partial class UpdateVirtualGatewayResponse : AmazonWebServiceResponse { private VirtualGatewayData _virtualGateway; /// <summary> /// Gets and sets the property VirtualGateway. /// <para> /// A full description of the virtual gateway that was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayData VirtualGateway { get { return this._virtualGateway; } set { this._virtualGateway = value; } } // Check to see if VirtualGateway property is set internal bool IsSetVirtualGateway() { return this._virtualGateway != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateVirtualNode operation. /// Updates an existing virtual node in a specified service mesh. /// </summary> public partial class UpdateVirtualNodeRequest : AmazonAppMeshRequest { private string _clientToken; private string _meshName; private string _meshOwner; private VirtualNodeSpec _spec; private string _virtualNodeName; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual node resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The new virtual node specification to apply. This overwrites the existing data. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property VirtualNodeName. /// <para> /// The name of the virtual node to update. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNodeName { get { return this._virtualNodeName; } set { this._virtualNodeName = value; } } // Check to see if VirtualNodeName property is set internal bool IsSetVirtualNodeName() { return this._virtualNodeName != null; } } }
142
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class UpdateVirtualNodeResponse : AmazonWebServiceResponse { private VirtualNodeData _virtualNode; /// <summary> /// Gets and sets the property VirtualNode. /// <para> /// A full description of the virtual node that was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeData VirtualNode { get { return this._virtualNode; } set { this._virtualNode = value; } } // Check to see if VirtualNode property is set internal bool IsSetVirtualNode() { return this._virtualNode != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateVirtualRouter operation. /// Updates an existing virtual router in a specified service mesh. /// </summary> public partial class UpdateVirtualRouterRequest : AmazonAppMeshRequest { private string _clientToken; private string _meshName; private string _meshOwner; private VirtualRouterSpec _spec; private string _virtualRouterName; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual router resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The new virtual router specification to apply. This overwrites the existing data. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router to update. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
142
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class UpdateVirtualRouterResponse : AmazonWebServiceResponse { private VirtualRouterData _virtualRouter; /// <summary> /// Gets and sets the property VirtualRouter. /// <para> /// A full description of the virtual router that was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterData VirtualRouter { get { return this._virtualRouter; } set { this._virtualRouter = value; } } // Check to see if VirtualRouter property is set internal bool IsSetVirtualRouter() { return this._virtualRouter != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// Container for the parameters to the UpdateVirtualService operation. /// Updates an existing virtual service in a specified service mesh. /// </summary> public partial class UpdateVirtualServiceRequest : AmazonAppMeshRequest { private string _clientToken; private string _meshName; private string _meshOwner; private VirtualServiceSpec _spec; private string _virtualServiceName; /// <summary> /// Gets and sets the property ClientToken. /// <para> /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the /// request. Up to 36 letters, numbers, hyphens, and underscores are allowed. /// </para> /// </summary> public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual service resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The new virtual service specification to apply. This overwrites the existing data. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service to update. /// </para> /// </summary> [AWSProperty(Required=true)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
142
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class UpdateVirtualServiceResponse : AmazonWebServiceResponse { private VirtualServiceData _virtualService; /// <summary> /// Gets and sets the property VirtualService. /// <para> /// A full description of the virtual service that was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceData VirtualService { get { return this._virtualService; } set { this._virtualService = value; } } // Check to see if VirtualService property is set internal bool IsSetVirtualService() { return this._virtualService != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// The access log configuration for a virtual gateway. /// </summary> public partial class VirtualGatewayAccessLog { private VirtualGatewayFileAccessLog _file; /// <summary> /// Gets and sets the property File. /// <para> /// The file object to send virtual gateway access logs to. /// </para> /// </summary> public VirtualGatewayFileAccessLog File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the default properties for a backend. /// </summary> public partial class VirtualGatewayBackendDefaults { private VirtualGatewayClientPolicy _clientPolicy; /// <summary> /// Gets and sets the property ClientPolicy. /// <para> /// A reference to an object that represents a client policy. /// </para> /// </summary> public VirtualGatewayClientPolicy ClientPolicy { get { return this._clientPolicy; } set { this._clientPolicy = value; } } // Check to see if ClientPolicy property is set internal bool IsSetClientPolicy() { return this._clientPolicy != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a client policy. /// </summary> public partial class VirtualGatewayClientPolicy { private VirtualGatewayClientPolicyTls _tls; /// <summary> /// Gets and sets the property Tls. /// <para> /// A reference to an object that represents a Transport Layer Security (TLS) client policy. /// </para> /// </summary> public VirtualGatewayClientPolicyTls Tls { get { return this._tls; } set { this._tls = value; } } // Check to see if Tls property is set internal bool IsSetTls() { return this._tls != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) client policy. /// </summary> public partial class VirtualGatewayClientPolicyTls { private VirtualGatewayClientTlsCertificate _certificate; private bool? _enforce; private List<int> _ports = new List<int>(); private VirtualGatewayTlsValidationContext _validation; /// <summary> /// Gets and sets the property Certificate. /// <para> /// A reference to an object that represents a virtual gateway's client's Transport Layer /// Security (TLS) certificate. /// </para> /// </summary> public VirtualGatewayClientTlsCertificate Certificate { get { return this._certificate; } set { this._certificate = value; } } // Check to see if Certificate property is set internal bool IsSetCertificate() { return this._certificate != null; } /// <summary> /// Gets and sets the property Enforce. /// <para> /// Whether the policy is enforced. The default is <code>True</code>, if a value isn't /// specified. /// </para> /// </summary> public bool Enforce { get { return this._enforce.GetValueOrDefault(); } set { this._enforce = value; } } // Check to see if Enforce property is set internal bool IsSetEnforce() { return this._enforce.HasValue; } /// <summary> /// Gets and sets the property Ports. /// <para> /// One or more ports that the policy is enforced for. /// </para> /// </summary> public List<int> Ports { get { return this._ports; } set { this._ports = value; } } // Check to see if Ports property is set internal bool IsSetPorts() { return this._ports != null && this._ports.Count > 0; } /// <summary> /// Gets and sets the property Validation. /// <para> /// A reference to an object that represents a Transport Layer Security (TLS) validation /// context. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayTlsValidationContext Validation { get { return this._validation; } set { this._validation = value; } } // Check to see if Validation property is set internal bool IsSetValidation() { return this._validation != null; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the virtual gateway's client's Transport Layer Security /// (TLS) certificate. /// </summary> public partial class VirtualGatewayClientTlsCertificate { private VirtualGatewayListenerTlsFileCertificate _file; private VirtualGatewayListenerTlsSdsCertificate _sds; /// <summary> /// Gets and sets the property File. /// <para> /// An object that represents a local file certificate. The certificate must meet specific /// requirements and you must have proxy authorization enabled. For more information, /// see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html"> Transport /// Layer Security (TLS) </a>. /// </para> /// </summary> public VirtualGatewayListenerTlsFileCertificate File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a virtual gateway's client's Secret Discovery /// Service certificate. /// </para> /// </summary> public VirtualGatewayListenerTlsSdsCertificate Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != null; } } }
81
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the type of virtual gateway connection pool. /// /// /// <para> /// Only one protocol is used at a time and should be the same protocol as the one chosen /// under port mapping. /// </para> /// /// <para> /// If not present the default value for <code>maxPendingRequests</code> is <code>2147483647</code>. /// </para> /// </summary> public partial class VirtualGatewayConnectionPool { private VirtualGatewayGrpcConnectionPool _grpc; private VirtualGatewayHttpConnectionPool _http; private VirtualGatewayHttp2ConnectionPool _http2; /// <summary> /// Gets and sets the property Grpc. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualGatewayGrpcConnectionPool Grpc { get { return this._grpc; } set { this._grpc = value; } } // Check to see if Grpc property is set internal bool IsSetGrpc() { return this._grpc != null; } /// <summary> /// Gets and sets the property Http. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualGatewayHttpConnectionPool Http { get { return this._http; } set { this._http = value; } } // Check to see if Http property is set internal bool IsSetHttp() { return this._http != null; } /// <summary> /// Gets and sets the property Http2. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualGatewayHttp2ConnectionPool Http2 { get { return this._http2; } set { this._http2 = value; } } // Check to see if Http2 property is set internal bool IsSetHttp2() { return this._http2 != null; } } }
105
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual gateway returned by a describe operation. /// </summary> public partial class VirtualGatewayData { private string _meshName; private ResourceMetadata _metadata; private VirtualGatewaySpec _spec; private VirtualGatewayStatus _status; private string _virtualGatewayName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual gateway resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The specifications of the virtual gateway. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewaySpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the virtual gateway. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The name of the virtual gateway. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
135
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents an access log file. /// </summary> public partial class VirtualGatewayFileAccessLog { private LoggingFormat _format; private string _path; /// <summary> /// Gets and sets the property Format. /// <para> /// The specified format for the virtual gateway access logs. It can be either <code>json_format</code> /// or <code>text_format</code>. /// </para> /// </summary> public LoggingFormat 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 Path. /// <para> /// The file path to write access logs to. You can use <code>/dev/stdout</code> to send /// access logs to standard out and configure your Envoy container to use a log driver, /// such as <code>awslogs</code>, to export the access logs to a log storage service such /// as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file /// system to write the files to disk. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } } }
82
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualGatewayGrpcConnectionPool { private int? _maxRequests; /// <summary> /// Gets and sets the property MaxRequests. /// <para> /// Maximum number of inflight requests Envoy can concurrently support across hosts in /// upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxRequests { get { return this._maxRequests.GetValueOrDefault(); } set { this._maxRequests = value; } } // Check to see if MaxRequests property is set internal bool IsSetMaxRequests() { return this._maxRequests.HasValue; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the health check policy for a virtual gateway's listener. /// </summary> public partial class VirtualGatewayHealthCheckPolicy { private int? _healthyThreshold; private long? _intervalMillis; private string _path; private int? _port; private VirtualGatewayPortProtocol _protocol; private long? _timeoutMillis; private int? _unhealthyThreshold; /// <summary> /// Gets and sets the property HealthyThreshold. /// <para> /// The number of consecutive successful health checks that must occur before declaring /// the listener healthy. /// </para> /// </summary> [AWSProperty(Required=true, Min=2, Max=10)] public int HealthyThreshold { get { return this._healthyThreshold.GetValueOrDefault(); } set { this._healthyThreshold = value; } } // Check to see if HealthyThreshold property is set internal bool IsSetHealthyThreshold() { return this._healthyThreshold.HasValue; } /// <summary> /// Gets and sets the property IntervalMillis. /// <para> /// The time period in milliseconds between each health check execution. /// </para> /// </summary> [AWSProperty(Required=true, Min=5000, Max=300000)] public long IntervalMillis { get { return this._intervalMillis.GetValueOrDefault(); } set { this._intervalMillis = value; } } // Check to see if IntervalMillis property is set internal bool IsSetIntervalMillis() { return this._intervalMillis.HasValue; } /// <summary> /// Gets and sets the property Path. /// <para> /// The destination path for the health check request. This value is only used if the /// specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored. /// </para> /// </summary> public string Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } /// <summary> /// Gets and sets the property Port. /// <para> /// The destination port for the health check request. This port must match the port defined /// in the <a>PortMapping</a> for the listener. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property Protocol. /// <para> /// The protocol for the health check request. If you specify <code>grpc</code>, then /// your service must conform to the <a href="https://github.com/grpc/grpc/blob/master/doc/health-checking.md">GRPC /// Health Checking Protocol</a>. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayPortProtocol Protocol { get { return this._protocol; } set { this._protocol = value; } } // Check to see if Protocol property is set internal bool IsSetProtocol() { return this._protocol != null; } /// <summary> /// Gets and sets the property TimeoutMillis. /// <para> /// The amount of time to wait when receiving a response from the health check, in milliseconds. /// </para> /// </summary> [AWSProperty(Required=true, Min=2000, Max=60000)] public long TimeoutMillis { get { return this._timeoutMillis.GetValueOrDefault(); } set { this._timeoutMillis = value; } } // Check to see if TimeoutMillis property is set internal bool IsSetTimeoutMillis() { return this._timeoutMillis.HasValue; } /// <summary> /// Gets and sets the property UnhealthyThreshold. /// <para> /// The number of consecutive failed health checks that must occur before declaring a /// virtual gateway unhealthy. /// </para> /// </summary> [AWSProperty(Required=true, Min=2, Max=10)] public int UnhealthyThreshold { get { return this._unhealthyThreshold.GetValueOrDefault(); } set { this._unhealthyThreshold = value; } } // Check to see if UnhealthyThreshold property is set internal bool IsSetUnhealthyThreshold() { return this._unhealthyThreshold.HasValue; } } }
183
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualGatewayHttp2ConnectionPool { private int? _maxRequests; /// <summary> /// Gets and sets the property MaxRequests. /// <para> /// Maximum number of inflight requests Envoy can concurrently support across hosts in /// upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxRequests { get { return this._maxRequests.GetValueOrDefault(); } set { this._maxRequests = value; } } // Check to see if MaxRequests property is set internal bool IsSetMaxRequests() { return this._maxRequests.HasValue; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualGatewayHttpConnectionPool { private int? _maxConnections; private int? _maxPendingRequests; /// <summary> /// Gets and sets the property MaxConnections. /// <para> /// Maximum number of outbound TCP connections Envoy can establish concurrently with all /// hosts in upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxConnections { get { return this._maxConnections.GetValueOrDefault(); } set { this._maxConnections = value; } } // Check to see if MaxConnections property is set internal bool IsSetMaxConnections() { return this._maxConnections.HasValue; } /// <summary> /// Gets and sets the property MaxPendingRequests. /// <para> /// Number of overflowing requests after <code>max_connections</code> Envoy will queue /// to upstream cluster. /// </para> /// </summary> [AWSProperty(Min=1)] public int MaxPendingRequests { get { return this._maxPendingRequests.GetValueOrDefault(); } set { this._maxPendingRequests = value; } } // Check to see if MaxPendingRequests property is set internal bool IsSetMaxPendingRequests() { return this._maxPendingRequests.HasValue; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a listener for a virtual gateway. /// </summary> public partial class VirtualGatewayListener { private VirtualGatewayConnectionPool _connectionPool; private VirtualGatewayHealthCheckPolicy _healthCheck; private VirtualGatewayPortMapping _portMapping; private VirtualGatewayListenerTls _tls; /// <summary> /// Gets and sets the property ConnectionPool. /// <para> /// The connection pool information for the virtual gateway listener. /// </para> /// </summary> public VirtualGatewayConnectionPool ConnectionPool { get { return this._connectionPool; } set { this._connectionPool = value; } } // Check to see if ConnectionPool property is set internal bool IsSetConnectionPool() { return this._connectionPool != null; } /// <summary> /// Gets and sets the property HealthCheck. /// <para> /// The health check information for the listener. /// </para> /// </summary> public VirtualGatewayHealthCheckPolicy HealthCheck { get { return this._healthCheck; } set { this._healthCheck = value; } } // Check to see if HealthCheck property is set internal bool IsSetHealthCheck() { return this._healthCheck != null; } /// <summary> /// Gets and sets the property PortMapping. /// <para> /// The port mapping information for the listener. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayPortMapping PortMapping { get { return this._portMapping; } set { this._portMapping = value; } } // Check to see if PortMapping property is set internal bool IsSetPortMapping() { return this._portMapping != null; } /// <summary> /// Gets and sets the property Tls. /// <para> /// A reference to an object that represents the Transport Layer Security (TLS) properties /// for the listener. /// </para> /// </summary> public VirtualGatewayListenerTls Tls { get { return this._tls; } set { this._tls = value; } } // Check to see if Tls property is set internal bool IsSetTls() { return this._tls != null; } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the Transport Layer Security (TLS) properties for a listener. /// </summary> public partial class VirtualGatewayListenerTls { private VirtualGatewayListenerTlsCertificate _certificate; private VirtualGatewayListenerTlsMode _mode; private VirtualGatewayListenerTlsValidationContext _validation; /// <summary> /// Gets and sets the property Certificate. /// <para> /// An object that represents a Transport Layer Security (TLS) certificate. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayListenerTlsCertificate Certificate { get { return this._certificate; } set { this._certificate = value; } } // Check to see if Certificate property is set internal bool IsSetCertificate() { return this._certificate != null; } /// <summary> /// Gets and sets the property Mode. /// <para> /// Specify one of the following modes. /// </para> /// <ul> <li> /// <para> /// <b/>STRICT – Listener only accepts connections with TLS enabled. /// </para> /// </li> <li> /// <para> /// <b/>PERMISSIVE – Listener accepts connections with or without TLS enabled. /// </para> /// </li> <li> /// <para> /// <b/>DISABLED – Listener only accepts connections without TLS. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayListenerTlsMode Mode { get { return this._mode; } set { this._mode = value; } } // Check to see if Mode property is set internal bool IsSetMode() { return this._mode != null; } /// <summary> /// Gets and sets the property Validation. /// <para> /// A reference to an object that represents a virtual gateway's listener's Transport /// Layer Security (TLS) validation context. /// </para> /// </summary> public VirtualGatewayListenerTlsValidationContext Validation { get { return this._validation; } set { this._validation = value; } } // Check to see if Validation property is set internal bool IsSetValidation() { return this._validation != null; } } }
111
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents an Certificate Manager certificate. /// </summary> public partial class VirtualGatewayListenerTlsAcmCertificate { private string _certificateArn; /// <summary> /// Gets and sets the property CertificateArn. /// <para> /// The Amazon Resource Name (ARN) for the certificate. The certificate must meet specific /// requirements and you must have proxy authorization enabled. For more information, /// see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html#virtual-node-tls-prerequisites">Transport /// Layer Security (TLS)</a>. /// </para> /// </summary> [AWSProperty(Required=true)] public string CertificateArn { get { return this._certificateArn; } set { this._certificateArn = value; } } // Check to see if CertificateArn property is set internal bool IsSetCertificateArn() { return this._certificateArn != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a listener's Transport Layer Security (TLS) certificate. /// </summary> public partial class VirtualGatewayListenerTlsCertificate { private VirtualGatewayListenerTlsAcmCertificate _acm; private VirtualGatewayListenerTlsFileCertificate _file; private VirtualGatewayListenerTlsSdsCertificate _sds; /// <summary> /// Gets and sets the property Acm. /// <para> /// A reference to an object that represents an Certificate Manager certificate. /// </para> /// </summary> public VirtualGatewayListenerTlsAcmCertificate Acm { get { return this._acm; } set { this._acm = value; } } // Check to see if Acm property is set internal bool IsSetAcm() { return this._acm != null; } /// <summary> /// Gets and sets the property File. /// <para> /// A reference to an object that represents a local file certificate. /// </para> /// </summary> public VirtualGatewayListenerTlsFileCertificate File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a virtual gateway's listener's Secret Discovery /// Service certificate. /// </para> /// </summary> public VirtualGatewayListenerTlsSdsCertificate Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a local file certificate. The certificate must meet specific /// requirements and you must have proxy authorization enabled. For more information, /// see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html#virtual-node-tls-prerequisites">Transport /// Layer Security (TLS)</a>. /// </summary> public partial class VirtualGatewayListenerTlsFileCertificate { private string _certificateChain; private string _privateKey; /// <summary> /// Gets and sets the property CertificateChain. /// <para> /// The certificate chain for the certificate. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string CertificateChain { get { return this._certificateChain; } set { this._certificateChain = value; } } // Check to see if CertificateChain property is set internal bool IsSetCertificateChain() { return this._certificateChain != null; } /// <summary> /// Gets and sets the property PrivateKey. /// <para> /// The private key for a certificate stored on the file system of the mesh endpoint that /// the proxy is running on. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string PrivateKey { get { return this._privateKey; } set { this._privateKey = value; } } // Check to see if PrivateKey property is set internal bool IsSetPrivateKey() { return this._privateKey != null; } } }
82
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the virtual gateway's listener's Secret Discovery Service /// certificate.The proxy must be configured with a local SDS provider via a Unix Domain /// Socket. See App Mesh<a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html">TLS /// documentation</a> for more info. /// </summary> public partial class VirtualGatewayListenerTlsSdsCertificate { private string _secretName; /// <summary> /// Gets and sets the property SecretName. /// <para> /// A reference to an object that represents the name of the secret secret requested from /// the Secret Discovery Service provider representing Transport Layer Security (TLS) /// materials like a certificate or certificate chain. /// </para> /// </summary> [AWSProperty(Required=true)] public string SecretName { get { return this._secretName; } set { this._secretName = value; } } // Check to see if SecretName property is set internal bool IsSetSecretName() { return this._secretName != null; } } }
63
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual gateway's listener's Transport Layer Security /// (TLS) validation context. /// </summary> public partial class VirtualGatewayListenerTlsValidationContext { private SubjectAlternativeNames _subjectAlternativeNames; private VirtualGatewayListenerTlsValidationContextTrust _trust; /// <summary> /// Gets and sets the property SubjectAlternativeNames. /// <para> /// A reference to an object that represents the SANs for a virtual gateway listener's /// Transport Layer Security (TLS) validation context. /// </para> /// </summary> public SubjectAlternativeNames SubjectAlternativeNames { get { return this._subjectAlternativeNames; } set { this._subjectAlternativeNames = value; } } // Check to see if SubjectAlternativeNames property is set internal bool IsSetSubjectAlternativeNames() { return this._subjectAlternativeNames != null; } /// <summary> /// Gets and sets the property Trust. /// <para> /// A reference to where to retrieve the trust chain when validating a peer’s Transport /// Layer Security (TLS) certificate. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayListenerTlsValidationContextTrust Trust { get { return this._trust; } set { this._trust = value; } } // Check to see if Trust property is set internal bool IsSetTrust() { return this._trust != null; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual gateway's listener's Transport Layer Security /// (TLS) validation context trust. /// </summary> public partial class VirtualGatewayListenerTlsValidationContextTrust { private VirtualGatewayTlsValidationContextFileTrust _file; private VirtualGatewayTlsValidationContextSdsTrust _sds; /// <summary> /// Gets and sets the property File. /// <para> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for a local file. /// </para> /// </summary> public VirtualGatewayTlsValidationContextFileTrust File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a virtual gateway's listener's Transport /// Layer Security (TLS) Secret Discovery Service validation context trust. /// </para> /// </summary> public VirtualGatewayTlsValidationContextSdsTrust Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents logging information. /// </summary> public partial class VirtualGatewayLogging { private VirtualGatewayAccessLog _accessLog; /// <summary> /// Gets and sets the property AccessLog. /// <para> /// The access log configuration. /// </para> /// </summary> public VirtualGatewayAccessLog AccessLog { get { return this._accessLog; } set { this._accessLog = value; } } // Check to see if AccessLog property is set internal bool IsSetAccessLog() { return this._accessLog != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a port mapping. /// </summary> public partial class VirtualGatewayPortMapping { private int? _port; private VirtualGatewayPortProtocol _protocol; /// <summary> /// Gets and sets the property Port. /// <para> /// The port used for the port mapping. Specify one protocol. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property Protocol. /// <para> /// The protocol used for the port mapping. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayPortProtocol Protocol { get { return this._protocol; } set { this._protocol = value; } } // Check to see if Protocol property is set internal bool IsSetProtocol() { return this._protocol != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual gateway returned by a list operation. /// </summary> public partial class VirtualGatewayRef { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private long? _version; private string _virtualGatewayName; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the resource. /// </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 CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the resource resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The name of the resource. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
205
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the specification of a service mesh resource. /// </summary> public partial class VirtualGatewaySpec { private VirtualGatewayBackendDefaults _backendDefaults; private List<VirtualGatewayListener> _listeners = new List<VirtualGatewayListener>(); private VirtualGatewayLogging _logging; /// <summary> /// Gets and sets the property BackendDefaults. /// <para> /// A reference to an object that represents the defaults for backends. /// </para> /// </summary> public VirtualGatewayBackendDefaults BackendDefaults { get { return this._backendDefaults; } set { this._backendDefaults = value; } } // Check to see if BackendDefaults property is set internal bool IsSetBackendDefaults() { return this._backendDefaults != null; } /// <summary> /// Gets and sets the property Listeners. /// <para> /// The listeners that the mesh endpoint is expected to receive inbound traffic from. /// You can specify one listener. /// </para> /// </summary> [AWSProperty(Required=true)] public List<VirtualGatewayListener> Listeners { get { return this._listeners; } set { this._listeners = value; } } // Check to see if Listeners property is set internal bool IsSetListeners() { return this._listeners != null && this._listeners.Count > 0; } /// <summary> /// Gets and sets the property Logging. /// </summary> public VirtualGatewayLogging Logging { get { return this._logging; } set { this._logging = value; } } // Check to see if Logging property is set internal bool IsSetLogging() { return this._logging != null; } } }
94
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the status of the mesh resource. /// </summary> public partial class VirtualGatewayStatus { private VirtualGatewayStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current status. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context. /// </summary> public partial class VirtualGatewayTlsValidationContext { private SubjectAlternativeNames _subjectAlternativeNames; private VirtualGatewayTlsValidationContextTrust _trust; /// <summary> /// Gets and sets the property SubjectAlternativeNames. /// <para> /// A reference to an object that represents the SANs for a virtual gateway's listener's /// Transport Layer Security (TLS) validation context. /// </para> /// </summary> public SubjectAlternativeNames SubjectAlternativeNames { get { return this._subjectAlternativeNames; } set { this._subjectAlternativeNames = value; } } // Check to see if SubjectAlternativeNames property is set internal bool IsSetSubjectAlternativeNames() { return this._subjectAlternativeNames != null; } /// <summary> /// Gets and sets the property Trust. /// <para> /// A reference to where to retrieve the trust chain when validating a peer’s Transport /// Layer Security (TLS) certificate. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayTlsValidationContextTrust Trust { get { return this._trust; } set { this._trust = value; } } // Check to see if Trust property is set internal bool IsSetTrust() { return this._trust != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for an Certificate Manager certificate. /// </summary> public partial class VirtualGatewayTlsValidationContextAcmTrust { private List<string> _certificateAuthorityArns = new List<string>(); /// <summary> /// Gets and sets the property CertificateAuthorityArns. /// <para> /// One or more ACM Amazon Resource Name (ARN)s. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=3)] public List<string> CertificateAuthorityArns { get { return this._certificateAuthorityArns; } set { this._certificateAuthorityArns = value; } } // Check to see if CertificateAuthorityArns property is set internal bool IsSetCertificateAuthorityArns() { return this._certificateAuthorityArns != null && this._certificateAuthorityArns.Count > 0; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for a local file. /// </summary> public partial class VirtualGatewayTlsValidationContextFileTrust { private string _certificateChain; /// <summary> /// Gets and sets the property CertificateChain. /// <para> /// The certificate trust chain for a certificate stored on the file system of the virtual /// node that the proxy is running on. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string CertificateChain { get { return this._certificateChain; } set { this._certificateChain = value; } } // Check to see if CertificateChain property is set internal bool IsSetCertificateChain() { return this._certificateChain != null; } } }
60
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual gateway's listener's Transport Layer Security /// (TLS) Secret Discovery Service validation context trust. The proxy must be configured /// with a local SDS provider via a Unix Domain Socket. See App Mesh <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html">TLS /// documentation</a> for more info. /// </summary> public partial class VirtualGatewayTlsValidationContextSdsTrust { private string _secretName; /// <summary> /// Gets and sets the property SecretName. /// <para> /// A reference to an object that represents the name of the secret for a virtual gateway's /// Transport Layer Security (TLS) Secret Discovery Service validation context trust. /// </para> /// </summary> [AWSProperty(Required=true)] public string SecretName { get { return this._secretName; } set { this._secretName = value; } } // Check to see if SecretName property is set internal bool IsSetSecretName() { return this._secretName != null; } } }
62
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a Transport Layer Security (TLS) validation context trust. /// </summary> public partial class VirtualGatewayTlsValidationContextTrust { private VirtualGatewayTlsValidationContextAcmTrust _acm; private VirtualGatewayTlsValidationContextFileTrust _file; private VirtualGatewayTlsValidationContextSdsTrust _sds; /// <summary> /// Gets and sets the property Acm. /// <para> /// A reference to an object that represents a Transport Layer Security (TLS) validation /// context trust for an Certificate Manager certificate. /// </para> /// </summary> public VirtualGatewayTlsValidationContextAcmTrust Acm { get { return this._acm; } set { this._acm = value; } } // Check to see if Acm property is set internal bool IsSetAcm() { return this._acm != null; } /// <summary> /// Gets and sets the property File. /// <para> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for a local file. /// </para> /// </summary> public VirtualGatewayTlsValidationContextFileTrust File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a virtual gateway's Transport Layer Security /// (TLS) Secret Discovery Service validation context trust. /// </para> /// </summary> public VirtualGatewayTlsValidationContextSdsTrust Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the type of virtual node connection pool. /// /// /// <para> /// Only one protocol is used at a time and should be the same protocol as the one chosen /// under port mapping. /// </para> /// /// <para> /// If not present the default value for <code>maxPendingRequests</code> is <code>2147483647</code>. /// </para> /// </summary> public partial class VirtualNodeConnectionPool { private VirtualNodeGrpcConnectionPool _grpc; private VirtualNodeHttpConnectionPool _http; private VirtualNodeHttp2ConnectionPool _http2; private VirtualNodeTcpConnectionPool _tcp; /// <summary> /// Gets and sets the property Grpc. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualNodeGrpcConnectionPool Grpc { get { return this._grpc; } set { this._grpc = value; } } // Check to see if Grpc property is set internal bool IsSetGrpc() { return this._grpc != null; } /// <summary> /// Gets and sets the property Http. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualNodeHttpConnectionPool Http { get { return this._http; } set { this._http = value; } } // Check to see if Http property is set internal bool IsSetHttp() { return this._http != null; } /// <summary> /// Gets and sets the property Http2. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualNodeHttp2ConnectionPool Http2 { get { return this._http2; } set { this._http2 = value; } } // Check to see if Http2 property is set internal bool IsSetHttp2() { return this._http2 != null; } /// <summary> /// Gets and sets the property Tcp. /// <para> /// An object that represents a type of connection pool. /// </para> /// </summary> public VirtualNodeTcpConnectionPool Tcp { get { return this._tcp; } set { this._tcp = value; } } // Check to see if Tcp property is set internal bool IsSetTcp() { return this._tcp != null; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual node returned by a describe operation. /// </summary> public partial class VirtualNodeData { private string _meshName; private ResourceMetadata _metadata; private VirtualNodeSpec _spec; private VirtualNodeStatus _status; private string _virtualNodeName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual node resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// <para> /// The associated metadata for the virtual node. /// </para> /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The specifications of the virtual node. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The current status for the virtual node. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property VirtualNodeName. /// <para> /// The name of the virtual node. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNodeName { get { return this._virtualNodeName; } set { this._virtualNodeName = value; } } // Check to see if VirtualNodeName property is set internal bool IsSetVirtualNodeName() { return this._virtualNodeName != null; } } }
138
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualNodeGrpcConnectionPool { private int? _maxRequests; /// <summary> /// Gets and sets the property MaxRequests. /// <para> /// Maximum number of inflight requests Envoy can concurrently support across hosts in /// upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxRequests { get { return this._maxRequests.GetValueOrDefault(); } set { this._maxRequests = value; } } // Check to see if MaxRequests property is set internal bool IsSetMaxRequests() { return this._maxRequests.HasValue; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualNodeHttp2ConnectionPool { private int? _maxRequests; /// <summary> /// Gets and sets the property MaxRequests. /// <para> /// Maximum number of inflight requests Envoy can concurrently support across hosts in /// upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxRequests { get { return this._maxRequests.GetValueOrDefault(); } set { this._maxRequests = value; } } // Check to see if MaxRequests property is set internal bool IsSetMaxRequests() { return this._maxRequests.HasValue; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualNodeHttpConnectionPool { private int? _maxConnections; private int? _maxPendingRequests; /// <summary> /// Gets and sets the property MaxConnections. /// <para> /// Maximum number of outbound TCP connections Envoy can establish concurrently with all /// hosts in upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxConnections { get { return this._maxConnections.GetValueOrDefault(); } set { this._maxConnections = value; } } // Check to see if MaxConnections property is set internal bool IsSetMaxConnections() { return this._maxConnections.HasValue; } /// <summary> /// Gets and sets the property MaxPendingRequests. /// <para> /// Number of overflowing requests after <code>max_connections</code> Envoy will queue /// to upstream cluster. /// </para> /// </summary> [AWSProperty(Min=1)] public int MaxPendingRequests { get { return this._maxPendingRequests.GetValueOrDefault(); } set { this._maxPendingRequests = value; } } // Check to see if MaxPendingRequests property is set internal bool IsSetMaxPendingRequests() { return this._maxPendingRequests.HasValue; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual node returned by a list operation. /// </summary> public partial class VirtualNodeRef { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private long? _version; private string _virtualNodeName; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the virtual node. /// </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 CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual node resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } /// <summary> /// Gets and sets the property VirtualNodeName. /// <para> /// The name of the virtual node. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNodeName { get { return this._virtualNodeName; } set { this._virtualNodeName = value; } } // Check to see if VirtualNodeName property is set internal bool IsSetVirtualNodeName() { return this._virtualNodeName != null; } } }
205
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual node service provider. /// </summary> public partial class VirtualNodeServiceProvider { private string _virtualNodeName; /// <summary> /// Gets and sets the property VirtualNodeName. /// <para> /// The name of the virtual node that is acting as a service provider. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNodeName { get { return this._virtualNodeName; } set { this._virtualNodeName = value; } } // Check to see if VirtualNodeName property is set internal bool IsSetVirtualNodeName() { return this._virtualNodeName != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the specification of a virtual node. /// </summary> public partial class VirtualNodeSpec { private BackendDefaults _backendDefaults; private List<Backend> _backends = new List<Backend>(); private List<Listener> _listeners = new List<Listener>(); private Logging _logging; private ServiceDiscovery _serviceDiscovery; /// <summary> /// Gets and sets the property BackendDefaults. /// <para> /// A reference to an object that represents the defaults for backends. /// </para> /// </summary> public BackendDefaults BackendDefaults { get { return this._backendDefaults; } set { this._backendDefaults = value; } } // Check to see if BackendDefaults property is set internal bool IsSetBackendDefaults() { return this._backendDefaults != null; } /// <summary> /// Gets and sets the property Backends. /// <para> /// The backends that the virtual node is expected to send outbound traffic to. /// </para> /// </summary> public List<Backend> Backends { get { return this._backends; } set { this._backends = value; } } // Check to see if Backends property is set internal bool IsSetBackends() { return this._backends != null && this._backends.Count > 0; } /// <summary> /// Gets and sets the property Listeners. /// <para> /// The listener that the virtual node is expected to receive inbound traffic from. You /// can specify one listener. /// </para> /// </summary> public List<Listener> Listeners { get { return this._listeners; } set { this._listeners = value; } } // Check to see if Listeners property is set internal bool IsSetListeners() { return this._listeners != null && this._listeners.Count > 0; } /// <summary> /// Gets and sets the property Logging. /// <para> /// The inbound and outbound access logging information for the virtual node. /// </para> /// </summary> public Logging Logging { get { return this._logging; } set { this._logging = value; } } // Check to see if Logging property is set internal bool IsSetLogging() { return this._logging != null; } /// <summary> /// Gets and sets the property ServiceDiscovery. /// <para> /// The service discovery information for the virtual node. If your virtual node does /// not expect ingress traffic, you can omit this parameter. If you specify a <code>listener</code>, /// then you must specify service discovery information. /// </para> /// </summary> public ServiceDiscovery ServiceDiscovery { get { return this._serviceDiscovery; } set { this._serviceDiscovery = value; } } // Check to see if ServiceDiscovery property is set internal bool IsSetServiceDiscovery() { return this._serviceDiscovery != 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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the current status of the virtual node. /// </summary> public partial class VirtualNodeStatus { private VirtualNodeStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the virtual node. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a type of connection pool. /// </summary> public partial class VirtualNodeTcpConnectionPool { private int? _maxConnections; /// <summary> /// Gets and sets the property MaxConnections. /// <para> /// Maximum number of outbound TCP connections Envoy can establish concurrently with all /// hosts in upstream cluster. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public int MaxConnections { get { return this._maxConnections.GetValueOrDefault(); } set { this._maxConnections = value; } } // Check to see if MaxConnections property is set internal bool IsSetMaxConnections() { return this._maxConnections.HasValue; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual router returned by a describe operation. /// </summary> public partial class VirtualRouterData { private string _meshName; private ResourceMetadata _metadata; private VirtualRouterSpec _spec; private VirtualRouterStatus _status; private string _virtualRouterName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual router resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// <para> /// The associated metadata for the virtual router. /// </para> /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The specifications of the virtual router. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the virtual router. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
138
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual router listener. /// </summary> public partial class VirtualRouterListener { private PortMapping _portMapping; /// <summary> /// Gets and sets the property PortMapping. /// </summary> [AWSProperty(Required=true)] public PortMapping PortMapping { get { return this._portMapping; } set { this._portMapping = value; } } // Check to see if PortMapping property is set internal bool IsSetPortMapping() { return this._portMapping != null; } } }
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 appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual router returned by a list operation. /// </summary> public partial class VirtualRouterRef { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private long? _version; private string _virtualRouterName; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the virtual router. /// </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 CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual router resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
205
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual node service provider. /// </summary> public partial class VirtualRouterServiceProvider { private string _virtualRouterName; /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router that is acting as a service provider. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the specification of a virtual router. /// </summary> public partial class VirtualRouterSpec { private List<VirtualRouterListener> _listeners = new List<VirtualRouterListener>(); /// <summary> /// Gets and sets the property Listeners. /// <para> /// The listeners that the virtual router is expected to receive inbound traffic from. /// You can specify one listener. /// </para> /// </summary> public List<VirtualRouterListener> Listeners { get { return this._listeners; } set { this._listeners = value; } } // Check to see if Listeners property is set internal bool IsSetListeners() { return this._listeners != null && this._listeners.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the status of a virtual router. /// </summary> public partial class VirtualRouterStatus { private VirtualRouterStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the virtual router. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual service backend for a virtual node. /// </summary> public partial class VirtualServiceBackend { private ClientPolicy _clientPolicy; private string _virtualServiceName; /// <summary> /// Gets and sets the property ClientPolicy. /// <para> /// A reference to an object that represents the client policy for a backend. /// </para> /// </summary> public ClientPolicy ClientPolicy { get { return this._clientPolicy; } set { this._clientPolicy = value; } } // Check to see if ClientPolicy property is set internal bool IsSetClientPolicy() { return this._clientPolicy != null; } /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service that is acting as a virtual node backend. /// </para> /// </summary> [AWSProperty(Required=true)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
77
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual service returned by a describe operation. /// </summary> public partial class VirtualServiceData { private string _meshName; private ResourceMetadata _metadata; private VirtualServiceSpec _spec; private VirtualServiceStatus _status; private string _virtualServiceName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual service resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The specifications of the virtual service. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the virtual service. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service. /// </para> /// </summary> [AWSProperty(Required=true)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
135
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the provider for a virtual service. /// </summary> public partial class VirtualServiceProvider { private VirtualNodeServiceProvider _virtualNode; private VirtualRouterServiceProvider _virtualRouter; /// <summary> /// Gets and sets the property VirtualNode. /// <para> /// The virtual node associated with a virtual service. /// </para> /// </summary> public VirtualNodeServiceProvider VirtualNode { get { return this._virtualNode; } set { this._virtualNode = value; } } // Check to see if VirtualNode property is set internal bool IsSetVirtualNode() { return this._virtualNode != null; } /// <summary> /// Gets and sets the property VirtualRouter. /// <para> /// The virtual router associated with a virtual service. /// </para> /// </summary> public VirtualRouterServiceProvider VirtualRouter { get { return this._virtualRouter; } set { this._virtualRouter = value; } } // Check to see if VirtualRouter property is set internal bool IsSetVirtualRouter() { return this._virtualRouter != null; } } }
76
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a virtual service returned by a list operation. /// </summary> public partial class VirtualServiceRef { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private long? _version; private string _virtualServiceName; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the virtual service. /// </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 CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual service resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service. /// </para> /// </summary> [AWSProperty(Required=true)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
205
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the specification of a virtual service. /// </summary> public partial class VirtualServiceSpec { private VirtualServiceProvider _provider; /// <summary> /// Gets and sets the property Provider. /// <para> /// The App Mesh object that is acting as the provider for a virtual service. You can /// specify a single virtual node or virtual router. /// </para> /// </summary> public VirtualServiceProvider Provider { get { return this._provider; } set { this._provider = value; } } // Check to see if Provider property is set internal bool IsSetProvider() { return this._provider != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents the status of a virtual service. /// </summary> public partial class VirtualServiceStatus { private VirtualServiceStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the virtual service. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppMesh.Model { /// <summary> /// An object that represents a target and its relative weight. Traffic is distributed /// across targets according to their relative weight. For example, a weighted target /// with a relative weight of 50 receives five times as much traffic as one with a relative /// weight of 10. The total weight for all targets combined must be less than or equal /// to 100. /// </summary> public partial class WeightedTarget { private int? _port; private string _virtualNode; private int? _weight; /// <summary> /// Gets and sets the property Port. /// <para> /// The targeted port of the weighted object. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property VirtualNode. /// <para> /// The virtual node to associate with the weighted target. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNode { get { return this._virtualNode; } set { this._virtualNode = value; } } // Check to see if VirtualNode property is set internal bool IsSetVirtualNode() { return this._virtualNode != null; } /// <summary> /// Gets and sets the property Weight. /// <para> /// The relative weight of the weighted target. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=100)] public int Weight { get { return this._weight.GetValueOrDefault(); } set { this._weight = value; } } // Check to see if Weight property is set internal bool IsSetWeight() { return this._weight.HasValue; } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// AccessLog Marshaller /// </summary> public class AccessLogMarshaller : IRequestMarshaller<AccessLog, 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(AccessLog requestObject, JsonMarshallerContext context) { if(requestObject.IsSetFile()) { context.Writer.WritePropertyName("file"); context.Writer.WriteObjectStart(); var marshaller = FileAccessLogMarshaller.Instance; marshaller.Marshall(requestObject.File, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static AccessLogMarshaller Instance = new AccessLogMarshaller(); } }
67
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AccessLog Object /// </summary> public class AccessLogUnmarshaller : IUnmarshaller<AccessLog, XmlUnmarshallerContext>, IUnmarshaller<AccessLog, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> AccessLog IUnmarshaller<AccessLog, 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 AccessLog Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; AccessLog unmarshalledObject = new AccessLog(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("file", targetDepth)) { var unmarshaller = FileAccessLogUnmarshaller.Instance; unmarshalledObject.File = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static AccessLogUnmarshaller _instance = new AccessLogUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AccessLogUnmarshaller 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 appmesh-2019-01-25.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.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// AwsCloudMapInstanceAttribute Marshaller /// </summary> public class AwsCloudMapInstanceAttributeMarshaller : IRequestMarshaller<AwsCloudMapInstanceAttribute, 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(AwsCloudMapInstanceAttribute requestObject, JsonMarshallerContext context) { if(requestObject.IsSetKey()) { context.Writer.WritePropertyName("key"); context.Writer.Write(requestObject.Key); } if(requestObject.IsSetValue()) { context.Writer.WritePropertyName("value"); context.Writer.Write(requestObject.Value); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static AwsCloudMapInstanceAttributeMarshaller Instance = new AwsCloudMapInstanceAttributeMarshaller(); } }
68