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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A distribution tells CloudFront where you want content to be delivered from, and the /// details about how to track and manage content delivery. /// </summary> public partial class Distribution { private ActiveTrustedKeyGroups _activeTrustedKeyGroups; private ActiveTrustedSigners _activeTrustedSigners; private List<AliasICPRecordal> _aliasICPRecordals = new List<AliasICPRecordal>(); private string _arn; private DistributionConfig _distributionConfig; private string _domainName; private string _id; private int? _inProgressInvalidationBatches; private DateTime? _lastModifiedTime; private string _status; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public Distribution() { } /// <summary> /// Instantiates Distribution with the parameterized properties /// </summary> /// <param name="id">The distribution's identifier. For example: <code>E1U5RQF7T870K0</code>.</param> /// <param name="status">The distribution's status. When the status is <code>Deployed</code>, the distribution's information is fully propagated to all CloudFront edge locations.</param> /// <param name="domainName">The distribution's CloudFront domain name. For example: <code>d111111abcdef8.cloudfront.net</code>.</param> public Distribution(string id, string status, string domainName) { _id = id; _status = status; _domainName = domainName; } /// <summary> /// Gets and sets the property ActiveTrustedKeyGroups. /// <para> /// This field contains a list of key groups and the public keys in each key group that /// CloudFront can use to verify the signatures of signed URLs or signed cookies. /// </para> /// </summary> public ActiveTrustedKeyGroups ActiveTrustedKeyGroups { get { return this._activeTrustedKeyGroups; } set { this._activeTrustedKeyGroups = value; } } // Check to see if ActiveTrustedKeyGroups property is set internal bool IsSetActiveTrustedKeyGroups() { return this._activeTrustedKeyGroups != null; } /// <summary> /// Gets and sets the property ActiveTrustedSigners. <important> /// <para> /// We recommend using <code>TrustedKeyGroups</code> instead of <code>TrustedSigners</code>. /// </para> /// </important> /// <para> /// This field contains a list of Amazon Web Services account IDs and the active CloudFront /// key pairs in each account that CloudFront can use to verify the signatures of signed /// URLs or signed cookies. /// </para> /// </summary> public ActiveTrustedSigners ActiveTrustedSigners { get { return this._activeTrustedSigners; } set { this._activeTrustedSigners = value; } } // Check to see if ActiveTrustedSigners property is set internal bool IsSetActiveTrustedSigners() { return this._activeTrustedSigners != null; } /// <summary> /// Gets and sets the property AliasICPRecordals. /// <para> /// Amazon Web Services services in China customers must file for an Internet Content /// Provider (ICP) recordal if they want to serve content publicly on an alternate domain /// name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides /// the ICP recordal status for CNAMEs associated with distributions. /// </para> /// /// <para> /// For more information about ICP recordals, see <a href="https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html"> /// Signup, Accounts, and Credentials</a> in <i>Getting Started with Amazon Web Services /// services in China</i>. /// </para> /// </summary> public List<AliasICPRecordal> AliasICPRecordals { get { return this._aliasICPRecordals; } set { this._aliasICPRecordals = value; } } // Check to see if AliasICPRecordals property is set internal bool IsSetAliasICPRecordals() { return this._aliasICPRecordals != null && this._aliasICPRecordals.Count > 0; } /// <summary> /// Gets and sets the property ARN. /// <para> /// The distribution's Amazon Resource Name (ARN). /// </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 DistributionConfig. /// <para> /// The distribution's configuration. /// </para> /// </summary> [AWSProperty(Required=true)] public DistributionConfig DistributionConfig { get { return this._distributionConfig; } set { this._distributionConfig = value; } } // Check to see if DistributionConfig property is set internal bool IsSetDistributionConfig() { return this._distributionConfig != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The distribution's CloudFront domain name. For example: <code>d111111abcdef8.cloudfront.net</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The distribution's identifier. For example: <code>E1U5RQF7T870K0</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property InProgressInvalidationBatches. /// <para> /// The number of invalidation batches currently in progress. /// </para> /// </summary> [AWSProperty(Required=true)] public int InProgressInvalidationBatches { get { return this._inProgressInvalidationBatches.GetValueOrDefault(); } set { this._inProgressInvalidationBatches = value; } } // Check to see if InProgressInvalidationBatches property is set internal bool IsSetInProgressInvalidationBatches() { return this._inProgressInvalidationBatches.HasValue; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The date and time when the distribution was last modified. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// The distribution's status. When the status is <code>Deployed</code>, the distribution's /// information is fully propagated to all CloudFront edge locations. /// </para> /// </summary> [AWSProperty(Required=true)] public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
271
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The caller reference you attempted to create the distribution with is associated with /// another distribution. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class DistributionAlreadyExistsException : AmazonCloudFrontException { /// <summary> /// Constructs a new DistributionAlreadyExistsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public DistributionAlreadyExistsException(string message) : base(message) {} /// <summary> /// Construct instance of DistributionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public DistributionAlreadyExistsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of DistributionAlreadyExistsException /// </summary> /// <param name="innerException"></param> public DistributionAlreadyExistsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of DistributionAlreadyExistsException /// </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 DistributionAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of DistributionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public DistributionAlreadyExistsException(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 DistributionAlreadyExistsException 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 DistributionAlreadyExistsException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A distribution configuration. /// </summary> public partial class DistributionConfig { private Aliases _aliases; private CacheBehaviors _cacheBehaviors; private string _callerReference; private string _comment; private string _continuousDeploymentPolicyId; private CustomErrorResponses _customErrorResponses; private DefaultCacheBehavior _defaultCacheBehavior; private string _defaultRootObject; private bool? _enabled; private HttpVersion _httpVersion; private bool? _isIPV6Enabled; private LoggingConfig _logging; private OriginGroups _originGroups; private Origins _origins; private PriceClass _priceClass; private Restrictions _restrictions; private bool? _staging; private ViewerCertificate _viewerCertificate; private string _webACLId; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public DistributionConfig() { } /// <summary> /// Instantiates DistributionConfig with the parameterized properties /// </summary> /// <param name="callerReference">A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of <code>CallerReference</code> is new (regardless of the content of the <code>DistributionConfig</code> object), CloudFront creates a new distribution. If <code>CallerReference</code> is a value that you already sent in a previous request to create a distribution, CloudFront returns a <code>DistributionAlreadyExists</code> error.</param> /// <param name="enabled">From this field, you can enable or disable the selected distribution.</param> public DistributionConfig(string callerReference, bool enabled) { _callerReference = callerReference; _enabled = enabled; } /// <summary> /// Gets and sets the property Aliases. /// <para> /// A complex type that contains information about CNAMEs (alternate domain names), if /// any, for this distribution. /// </para> /// </summary> public Aliases Aliases { get { return this._aliases; } set { this._aliases = value; } } // Check to see if Aliases property is set internal bool IsSetAliases() { return this._aliases != null; } /// <summary> /// Gets and sets the property CacheBehaviors. /// <para> /// A complex type that contains zero or more <code>CacheBehavior</code> elements. /// </para> /// </summary> public CacheBehaviors CacheBehaviors { get { return this._cacheBehaviors; } set { this._cacheBehaviors = value; } } // Check to see if CacheBehaviors property is set internal bool IsSetCacheBehaviors() { return this._cacheBehaviors != null; } /// <summary> /// Gets and sets the property CallerReference. /// <para> /// A unique value (for example, a date-time stamp) that ensures that the request can't /// be replayed. /// </para> /// /// <para> /// If the value of <code>CallerReference</code> is new (regardless of the content of /// the <code>DistributionConfig</code> object), CloudFront creates a new distribution. /// </para> /// /// <para> /// If <code>CallerReference</code> is a value that you already sent in a previous request /// to create a distribution, CloudFront returns a <code>DistributionAlreadyExists</code> /// error. /// </para> /// </summary> [AWSProperty(Required=true)] public string CallerReference { get { return this._callerReference; } set { this._callerReference = value; } } // Check to see if CallerReference property is set internal bool IsSetCallerReference() { return this._callerReference != null; } /// <summary> /// Gets and sets the property Comment. /// <para> /// A comment to describe the distribution. The comment cannot be longer than 128 characters. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true)] public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property ContinuousDeploymentPolicyId. /// <para> /// The identifier of a continuous deployment policy. For more information, see <code>CreateContinuousDeploymentPolicy</code>. /// </para> /// </summary> public string ContinuousDeploymentPolicyId { get { return this._continuousDeploymentPolicyId; } set { this._continuousDeploymentPolicyId = value; } } // Check to see if ContinuousDeploymentPolicyId property is set internal bool IsSetContinuousDeploymentPolicyId() { return this._continuousDeploymentPolicyId != null; } /// <summary> /// Gets and sets the property CustomErrorResponses. /// <para> /// A complex type that controls the following: /// </para> /// <ul> <li> /// <para> /// Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom /// error messages before returning the response to the viewer. /// </para> /// </li> <li> /// <para> /// How long CloudFront caches HTTP status codes in the 4xx and 5xx range. /// </para> /// </li> </ul> /// <para> /// For more information about custom error pages, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html">Customizing /// Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// </summary> public CustomErrorResponses CustomErrorResponses { get { return this._customErrorResponses; } set { this._customErrorResponses = value; } } // Check to see if CustomErrorResponses property is set internal bool IsSetCustomErrorResponses() { return this._customErrorResponses != null; } /// <summary> /// Gets and sets the property DefaultCacheBehavior. /// <para> /// A complex type that describes the default cache behavior if you don't specify a <code>CacheBehavior</code> /// element or if files don't match any of the values of <code>PathPattern</code> in <code>CacheBehavior</code> /// elements. You must create exactly one default cache behavior. /// </para> /// </summary> [AWSProperty(Required=true)] public DefaultCacheBehavior DefaultCacheBehavior { get { return this._defaultCacheBehavior; } set { this._defaultCacheBehavior = value; } } // Check to see if DefaultCacheBehavior property is set internal bool IsSetDefaultCacheBehavior() { return this._defaultCacheBehavior != null; } /// <summary> /// Gets and sets the property DefaultRootObject. /// <para> /// The object that you want CloudFront to request from your origin (for example, <code>index.html</code>) /// when a viewer requests the root URL for your distribution (<code>https://www.example.com</code>) /// instead of an object in your distribution (<code>https://www.example.com/product-description.html</code>). /// Specifying a default root object avoids exposing the contents of your distribution. /// </para> /// /// <para> /// Specify only the object name, for example, <code>index.html</code>. Don't add a <code>/</code> /// before the object name. /// </para> /// /// <para> /// If you don't want to specify a default root object when you create a distribution, /// include an empty <code>DefaultRootObject</code> element. /// </para> /// /// <para> /// To delete the default root object from an existing distribution, update the distribution /// configuration and include an empty <code>DefaultRootObject</code> element. /// </para> /// /// <para> /// To replace the default root object, update the distribution configuration and specify /// the new object. /// </para> /// /// <para> /// For more information about the default root object, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html">Creating /// a Default Root Object</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// </summary> public string DefaultRootObject { get { return this._defaultRootObject; } set { this._defaultRootObject = value; } } // Check to see if DefaultRootObject property is set internal bool IsSetDefaultRootObject() { return this._defaultRootObject != null; } /// <summary> /// Gets and sets the property Enabled. /// <para> /// From this field, you can enable or disable the selected distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public bool Enabled { get { return this._enabled.GetValueOrDefault(); } set { this._enabled = value; } } // Check to see if Enabled property is set internal bool IsSetEnabled() { return this._enabled.HasValue; } /// <summary> /// Gets and sets the property HttpVersion. /// <para> /// (Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate /// with CloudFront. The default value for new web distributions is <code>http2</code>. /// Viewers that don't support HTTP/2 automatically use an earlier HTTP version. /// </para> /// /// <para> /// For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and /// must support Server Name Indication (SNI). /// </para> /// /// <para> /// For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server /// Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the /// viewer to switch networks without losing connection. For more information about connection /// migration, see <a href="https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration">Connection /// Migration</a> at RFC 9000. For more information about supported TLSv1.3 ciphers, see /// <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported /// protocols and ciphers between viewers and CloudFront</a>. /// </para> /// </summary> public HttpVersion HttpVersion { get { return this._httpVersion; } set { this._httpVersion = value; } } // Check to see if HttpVersion property is set internal bool IsSetHttpVersion() { return this._httpVersion != null; } /// <summary> /// Gets and sets the property IsIPV6Enabled. /// <para> /// If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your /// distribution, specify <code>true</code>. If you specify <code>false</code>, CloudFront /// responds to IPv6 DNS requests with the DNS response code <code>NOERROR</code> and /// with no IP addresses. This allows viewers to submit a second request, for an IPv4 /// address for your distribution. /// </para> /// /// <para> /// In general, you should enable IPv6 if you have users on IPv6 networks who want to /// access your content. However, if you're using signed URLs or signed cookies to restrict /// access to your content, and if you're using a custom policy that includes the <code>IpAddress</code> /// parameter to restrict the IP addresses that can access your content, don't enable /// IPv6. If you want to restrict access to some content by IP address and not restrict /// access to other content (or restrict access but not by IP address), you can create /// two distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html">Creating /// a Signed URL Using a Custom Policy</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// If you're using an Route 53 Amazon Web Services Integration alias resource record /// set to route traffic to your CloudFront distribution, you need to create a second /// alias resource record set when both of the following are true: /// </para> /// <ul> <li> /// <para> /// You enable IPv6 for the distribution /// </para> /// </li> <li> /// <para> /// You're using alternate domain names in the URLs for your objects /// </para> /// </li> </ul> /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html">Routing /// Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name</a> in /// the <i>Route 53 Amazon Web Services Integration Developer Guide</i>. /// </para> /// /// <para> /// If you created a CNAME resource record set, either with Route 53 Amazon Web Services /// Integration or with another DNS service, you don't need to make any changes. A CNAME /// record will route traffic to your distribution regardless of the IP address format /// of the viewer request. /// </para> /// </summary> public bool IsIPV6Enabled { get { return this._isIPV6Enabled.GetValueOrDefault(); } set { this._isIPV6Enabled = value; } } // Check to see if IsIPV6Enabled property is set internal bool IsSetIsIPV6Enabled() { return this._isIPV6Enabled.HasValue; } /// <summary> /// Gets and sets the property Logging. /// <para> /// A complex type that controls whether access logs are written for the distribution. /// </para> /// /// <para> /// For more information about logging, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html">Access /// Logs</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// </summary> public LoggingConfig 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 OriginGroups. /// <para> /// A complex type that contains information about origin groups for this distribution. /// </para> /// </summary> public OriginGroups OriginGroups { get { return this._originGroups; } set { this._originGroups = value; } } // Check to see if OriginGroups property is set internal bool IsSetOriginGroups() { return this._originGroups != null; } /// <summary> /// Gets and sets the property Origins. /// <para> /// A complex type that contains information about origins for this distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public Origins Origins { get { return this._origins; } set { this._origins = value; } } // Check to see if Origins property is set internal bool IsSetOrigins() { return this._origins != null; } /// <summary> /// Gets and sets the property PriceClass. /// <para> /// The price class that corresponds with the maximum price that you want to pay for CloudFront /// service. If you specify <code>PriceClass_All</code>, CloudFront responds to requests /// for your objects from all CloudFront edge locations. /// </para> /// /// <para> /// If you specify a price class other than <code>PriceClass_All</code>, CloudFront serves /// your objects from the CloudFront edge location that has the lowest latency among the /// edge locations in your price class. Viewers who are in or near regions that are excluded /// from your specified price class may encounter slower performance. /// </para> /// /// <para> /// For more information about price classes, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html">Choosing /// the Price Class for a CloudFront Distribution</a> in the <i>Amazon CloudFront Developer /// Guide</i>. For information about CloudFront pricing, including how price classes (such /// as Price Class 100) map to CloudFront regions, see <a href="http://aws.amazon.com/cloudfront/pricing/">Amazon /// CloudFront Pricing</a>. /// </para> /// </summary> public PriceClass PriceClass { get { return this._priceClass; } set { this._priceClass = value; } } // Check to see if PriceClass property is set internal bool IsSetPriceClass() { return this._priceClass != null; } /// <summary> /// Gets and sets the property Restrictions. /// <para> /// A complex type that identifies ways in which you want to restrict distribution of /// your content. /// </para> /// </summary> public Restrictions Restrictions { get { return this._restrictions; } set { this._restrictions = value; } } // Check to see if Restrictions property is set internal bool IsSetRestrictions() { return this._restrictions != null; } /// <summary> /// Gets and sets the property Staging. /// <para> /// A Boolean that indicates whether this is a staging distribution. When this value is /// <code>true</code>, this is a staging distribution. When this value is <code>false</code>, /// this is not a staging distribution. /// </para> /// </summary> public bool Staging { get { return this._staging.GetValueOrDefault(); } set { this._staging = value; } } // Check to see if Staging property is set internal bool IsSetStaging() { return this._staging.HasValue; } /// <summary> /// Gets and sets the property ViewerCertificate. /// <para> /// A complex type that determines the distribution's SSL/TLS configuration for communicating /// with viewers. /// </para> /// </summary> public ViewerCertificate ViewerCertificate { get { return this._viewerCertificate; } set { this._viewerCertificate = value; } } // Check to see if ViewerCertificate property is set internal bool IsSetViewerCertificate() { return this._viewerCertificate != null; } /// <summary> /// Gets and sets the property WebACLId. /// <para> /// A unique identifier that specifies the WAF web ACL, if any, to associate with this /// distribution. To specify a web ACL created using the latest version of WAF, use the /// ACL ARN, for example <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a</code>. /// To specify a web ACL created using WAF Classic, use the ACL ID, for example <code>473e64fd-f30b-4765-81a0-62ad96dd167a</code>. /// </para> /// /// <para> /// WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests /// that are forwarded to CloudFront, and lets you control access to your content. Based /// on conditions that you specify, such as the IP addresses that requests originate from /// or the values of query strings, CloudFront responds to requests either with the requested /// content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront /// to return a custom error page when a request is blocked. For more information about /// WAF, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html">WAF /// Developer Guide</a>. /// </para> /// </summary> public string WebACLId { get { return this._webACLId; } set { this._webACLId = value; } } // Check to see if WebACLId property is set internal bool IsSetWebACLId() { return this._webACLId != null; } } }
576
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A distribution Configuration and a list of tags to be associated with the distribution. /// </summary> public partial class DistributionConfigWithTags { private DistributionConfig _distributionConfig; private Tags _tags; /// <summary> /// Gets and sets the property DistributionConfig. /// <para> /// A distribution configuration. /// </para> /// </summary> [AWSProperty(Required=true)] public DistributionConfig DistributionConfig { get { return this._distributionConfig; } set { this._distributionConfig = value; } } // Check to see if DistributionConfig property is set internal bool IsSetDistributionConfig() { return this._distributionConfig != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// A complex type that contains zero or more <code>Tag</code> elements. /// </para> /// </summary> [AWSProperty(Required=true)] public Tags Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A list of distribution IDs. /// </summary> public partial class DistributionIdList { private bool? _isTruncated; private List<string> _items = new List<string>(); private string _marker; private int? _maxItems; private string _nextMarker; private int? _quantity; /// <summary> /// Gets and sets the property IsTruncated. /// <para> /// A flag that indicates whether more distribution IDs remain to be listed. If your results /// were truncated, you can make a subsequent request using the <code>Marker</code> request /// field to retrieve more distribution IDs in the list. /// </para> /// </summary> [AWSProperty(Required=true)] public bool IsTruncated { get { return this._isTruncated.GetValueOrDefault(); } set { this._isTruncated = value; } } // Check to see if IsTruncated property is set internal bool IsSetIsTruncated() { return this._isTruncated.HasValue; } /// <summary> /// Gets and sets the property Items. /// <para> /// Contains the distribution IDs in the list. /// </para> /// </summary> public List<string> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Marker. /// <para> /// The value provided in the <code>Marker</code> request field. /// </para> /// </summary> [AWSProperty(Required=true)] public string Marker { get { return this._marker; } set { this._marker = value; } } // Check to see if Marker property is set internal bool IsSetMarker() { return this._marker != null; } /// <summary> /// Gets and sets the property MaxItems. /// <para> /// The maximum number of distribution IDs requested. /// </para> /// </summary> [AWSProperty(Required=true)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } /// <summary> /// Gets and sets the property NextMarker. /// <para> /// Contains the value that you should use in the <code>Marker</code> field of a subsequent /// request to continue listing distribution IDs where you left off. /// </para> /// </summary> public string NextMarker { get { return this._nextMarker; } set { this._nextMarker = value; } } // Check to see if NextMarker property is set internal bool IsSetNextMarker() { return this._nextMarker != null; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The total number of distribution IDs returned in the response. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
159
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A distribution list. /// </summary> public partial class DistributionList { private bool? _isTruncated; private List<DistributionSummary> _items = new List<DistributionSummary>(); private string _marker; private int? _maxItems; private string _nextMarker; private int? _quantity; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public DistributionList() { } /// <summary> /// Gets and sets the property IsTruncated. /// <para> /// A flag that indicates whether more distributions remain to be listed. If your results /// were truncated, you can make a follow-up pagination request using the <code>Marker</code> /// request parameter to retrieve more distributions in the list. /// </para> /// </summary> [AWSProperty(Required=true)] public bool IsTruncated { get { return this._isTruncated.GetValueOrDefault(); } set { this._isTruncated = value; } } // Check to see if IsTruncated property is set internal bool IsSetIsTruncated() { return this._isTruncated.HasValue; } /// <summary> /// Gets and sets the property Items. /// <para> /// A complex type that contains one <code>DistributionSummary</code> element for each /// distribution that was created by the current Amazon Web Services account. /// </para> /// </summary> public List<DistributionSummary> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Marker. /// <para> /// The value you provided for the <code>Marker</code> request parameter. /// </para> /// </summary> [AWSProperty(Required=true)] public string Marker { get { return this._marker; } set { this._marker = value; } } // Check to see if Marker property is set internal bool IsSetMarker() { return this._marker != null; } /// <summary> /// Gets and sets the property MaxItems. /// <para> /// The value you provided for the <code>MaxItems</code> request parameter. /// </para> /// </summary> [AWSProperty(Required=true)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } /// <summary> /// Gets and sets the property NextMarker. /// <para> /// If <code>IsTruncated</code> is <code>true</code>, this element is present and contains /// the value you can use for the <code>Marker</code> request parameter to continue listing /// your distributions where they left off. /// </para> /// </summary> public string NextMarker { get { return this._nextMarker; } set { this._nextMarker = value; } } // Check to see if NextMarker property is set internal bool IsSetNextMarker() { return this._nextMarker != null; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of distributions that were created by the current Amazon Web Services account. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
166
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The specified CloudFront distribution is not disabled. You must disable the distribution /// before you can delete it. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class DistributionNotDisabledException : AmazonCloudFrontException { /// <summary> /// Constructs a new DistributionNotDisabledException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public DistributionNotDisabledException(string message) : base(message) {} /// <summary> /// Construct instance of DistributionNotDisabledException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public DistributionNotDisabledException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of DistributionNotDisabledException /// </summary> /// <param name="innerException"></param> public DistributionNotDisabledException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of DistributionNotDisabledException /// </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 DistributionNotDisabledException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of DistributionNotDisabledException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public DistributionNotDisabledException(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 DistributionNotDisabledException 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 DistributionNotDisabledException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A summary of the information about a CloudFront distribution. /// </summary> public partial class DistributionSummary { private Aliases _aliases; private List<AliasICPRecordal> _aliasICPRecordals = new List<AliasICPRecordal>(); private string _arn; private CacheBehaviors _cacheBehaviors; private string _comment; private CustomErrorResponses _customErrorResponses; private DefaultCacheBehavior _defaultCacheBehavior; private string _domainName; private bool? _enabled; private HttpVersion _httpVersion; private string _id; private bool? _isIPV6Enabled; private DateTime? _lastModifiedTime; private OriginGroups _originGroups; private Origins _origins; private PriceClass _priceClass; private Restrictions _restrictions; private bool? _staging; private string _status; private ViewerCertificate _viewerCertificate; private string _webACLId; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public DistributionSummary() { } /// <summary> /// Gets and sets the property Aliases. /// <para> /// A complex type that contains information about CNAMEs (alternate domain names), if /// any, for this distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public Aliases Aliases { get { return this._aliases; } set { this._aliases = value; } } // Check to see if Aliases property is set internal bool IsSetAliases() { return this._aliases != null; } /// <summary> /// Gets and sets the property AliasICPRecordals. /// <para> /// Amazon Web Services services in China customers must file for an Internet Content /// Provider (ICP) recordal if they want to serve content publicly on an alternate domain /// name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides /// the ICP recordal status for CNAMEs associated with distributions. /// </para> /// /// <para> /// For more information about ICP recordals, see <a href="https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html"> /// Signup, Accounts, and Credentials</a> in <i>Getting Started with Amazon Web Services /// services in China</i>. /// </para> /// </summary> public List<AliasICPRecordal> AliasICPRecordals { get { return this._aliasICPRecordals; } set { this._aliasICPRecordals = value; } } // Check to see if AliasICPRecordals property is set internal bool IsSetAliasICPRecordals() { return this._aliasICPRecordals != null && this._aliasICPRecordals.Count > 0; } /// <summary> /// Gets and sets the property ARN. /// <para> /// The ARN (Amazon Resource Name) for the distribution. For example: <code>arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5</code>, /// where <code>123456789012</code> is your Amazon Web Services account ID. /// </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 CacheBehaviors. /// <para> /// A complex type that contains zero or more <code>CacheBehavior</code> elements. /// </para> /// </summary> [AWSProperty(Required=true)] public CacheBehaviors CacheBehaviors { get { return this._cacheBehaviors; } set { this._cacheBehaviors = value; } } // Check to see if CacheBehaviors property is set internal bool IsSetCacheBehaviors() { return this._cacheBehaviors != null; } /// <summary> /// Gets and sets the property Comment. /// <para> /// The comment originally specified when this distribution was created. /// </para> /// </summary> [AWSProperty(Required=true)] public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property CustomErrorResponses. /// <para> /// A complex type that contains zero or more <code>CustomErrorResponses</code> elements. /// </para> /// </summary> [AWSProperty(Required=true)] public CustomErrorResponses CustomErrorResponses { get { return this._customErrorResponses; } set { this._customErrorResponses = value; } } // Check to see if CustomErrorResponses property is set internal bool IsSetCustomErrorResponses() { return this._customErrorResponses != null; } /// <summary> /// Gets and sets the property DefaultCacheBehavior. /// <para> /// A complex type that describes the default cache behavior if you don't specify a <code>CacheBehavior</code> /// element or if files don't match any of the values of <code>PathPattern</code> in <code>CacheBehavior</code> /// elements. You must create exactly one default cache behavior. /// </para> /// </summary> [AWSProperty(Required=true)] public DefaultCacheBehavior DefaultCacheBehavior { get { return this._defaultCacheBehavior; } set { this._defaultCacheBehavior = value; } } // Check to see if DefaultCacheBehavior property is set internal bool IsSetDefaultCacheBehavior() { return this._defaultCacheBehavior != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name that corresponds to the distribution, for example, <code>d111111abcdef8.cloudfront.net</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// <summary> /// Gets and sets the property Enabled. /// <para> /// Whether the distribution is enabled to accept user requests for content. /// </para> /// </summary> [AWSProperty(Required=true)] public bool Enabled { get { return this._enabled.GetValueOrDefault(); } set { this._enabled = value; } } // Check to see if Enabled property is set internal bool IsSetEnabled() { return this._enabled.HasValue; } /// <summary> /// Gets and sets the property HttpVersion. /// <para> /// Specify the maximum HTTP version that you want viewers to use to communicate with /// CloudFront. The default value for new web distributions is <code>http2</code>. Viewers /// that don't support <code>HTTP/2</code> will automatically use an earlier version. /// </para> /// </summary> [AWSProperty(Required=true)] public HttpVersion HttpVersion { get { return this._httpVersion; } set { this._httpVersion = value; } } // Check to see if HttpVersion property is set internal bool IsSetHttpVersion() { return this._httpVersion != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier for the distribution. For example: <code>EDFDVBD632BHDS5</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property IsIPV6Enabled. /// <para> /// Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public bool IsIPV6Enabled { get { return this._isIPV6Enabled.GetValueOrDefault(); } set { this._isIPV6Enabled = value; } } // Check to see if IsIPV6Enabled property is set internal bool IsSetIsIPV6Enabled() { return this._isIPV6Enabled.HasValue; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The date and time the distribution was last modified. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property OriginGroups. /// <para> /// A complex type that contains information about origin groups for this distribution. /// </para> /// </summary> public OriginGroups OriginGroups { get { return this._originGroups; } set { this._originGroups = value; } } // Check to see if OriginGroups property is set internal bool IsSetOriginGroups() { return this._originGroups != null; } /// <summary> /// Gets and sets the property Origins. /// <para> /// A complex type that contains information about origins for this distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public Origins Origins { get { return this._origins; } set { this._origins = value; } } // Check to see if Origins property is set internal bool IsSetOrigins() { return this._origins != null; } /// <summary> /// Gets and sets the property PriceClass. /// <para> /// A complex type that contains information about price class for this streaming distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public PriceClass PriceClass { get { return this._priceClass; } set { this._priceClass = value; } } // Check to see if PriceClass property is set internal bool IsSetPriceClass() { return this._priceClass != null; } /// <summary> /// Gets and sets the property Restrictions. /// <para> /// A complex type that identifies ways in which you want to restrict distribution of /// your content. /// </para> /// </summary> [AWSProperty(Required=true)] public Restrictions Restrictions { get { return this._restrictions; } set { this._restrictions = value; } } // Check to see if Restrictions property is set internal bool IsSetRestrictions() { return this._restrictions != null; } /// <summary> /// Gets and sets the property Staging. /// <para> /// Whether the primary distribution has a staging distribution enabled. /// </para> /// </summary> [AWSProperty(Required=true)] public bool Staging { get { return this._staging.GetValueOrDefault(); } set { this._staging = value; } } // Check to see if Staging property is set internal bool IsSetStaging() { return this._staging.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// The current status of the distribution. When the status is <code>Deployed</code>, /// the distribution's information is propagated to all CloudFront edge locations. /// </para> /// </summary> [AWSProperty(Required=true)] public string 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 ViewerCertificate. /// <para> /// A complex type that determines the distribution's SSL/TLS configuration for communicating /// with viewers. /// </para> /// </summary> [AWSProperty(Required=true)] public ViewerCertificate ViewerCertificate { get { return this._viewerCertificate; } set { this._viewerCertificate = value; } } // Check to see if ViewerCertificate property is set internal bool IsSetViewerCertificate() { return this._viewerCertificate != null; } /// <summary> /// Gets and sets the property WebACLId. /// <para> /// The Web ACL Id (if any) associated with the distribution. /// </para> /// </summary> [AWSProperty(Required=true)] public string WebACLId { get { return this._webACLId; } set { this._webACLId = value; } } // Check to see if WebACLId property is set internal bool IsSetWebACLId() { return this._webACLId != null; } } }
479
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Complex data type for field-level encryption profiles that includes all of the encryption /// entities. /// </summary> public partial class EncryptionEntities { private List<EncryptionEntity> _items = new List<EncryptionEntity>(); private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// An array of field patterns in a field-level encryption content type-profile mapping. /// /// </para> /// </summary> public List<EncryptionEntity> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// Number of field pattern items in a field-level encryption content type-profile mapping. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Complex data type for field-level encryption profiles that includes the encryption /// key and field pattern specifications. /// </summary> public partial class EncryptionEntity { private FieldPatterns _fieldPatterns; private string _providerId; private string _publicKeyId; /// <summary> /// Gets and sets the property FieldPatterns. /// <para> /// Field patterns in a field-level encryption content type profile specify the fields /// that you want to be encrypted. You can provide the full field name, or any beginning /// characters followed by a wildcard (*). You can't overlap field patterns. For example, /// you can't have both ABC* and AB*. Note that field patterns are case-sensitive. /// </para> /// </summary> [AWSProperty(Required=true)] public FieldPatterns FieldPatterns { get { return this._fieldPatterns; } set { this._fieldPatterns = value; } } // Check to see if FieldPatterns property is set internal bool IsSetFieldPatterns() { return this._fieldPatterns != null; } /// <summary> /// Gets and sets the property ProviderId. /// <para> /// The provider associated with the public key being used for encryption. This value /// must also be provided with the private key for applications to be able to decrypt /// data. /// </para> /// </summary> [AWSProperty(Required=true)] public string ProviderId { get { return this._providerId; } set { this._providerId = value; } } // Check to see if ProviderId property is set internal bool IsSetProviderId() { return this._providerId != null; } /// <summary> /// Gets and sets the property PublicKeyId. /// <para> /// The public key associated with a set of field-level encryption patterns, to be used /// when encrypting the fields that match the patterns. /// </para> /// </summary> [AWSProperty(Required=true)] public string PublicKeyId { get { return this._publicKeyId; } set { this._publicKeyId = value; } } // Check to see if PublicKeyId property is set internal bool IsSetPublicKeyId() { return this._publicKeyId != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Contains information about the Amazon Kinesis data stream where you are sending real-time /// log data in a real-time log configuration. /// </summary> public partial class EndPoint { private KinesisStreamConfig _kinesisStreamConfig; private string _streamType; /// <summary> /// Gets and sets the property KinesisStreamConfig. /// <para> /// Contains information about the Amazon Kinesis data stream where you are sending real-time /// log data. /// </para> /// </summary> public KinesisStreamConfig KinesisStreamConfig { get { return this._kinesisStreamConfig; } set { this._kinesisStreamConfig = value; } } // Check to see if KinesisStreamConfig property is set internal bool IsSetKinesisStreamConfig() { return this._kinesisStreamConfig != null; } /// <summary> /// Gets and sets the property StreamType. /// <para> /// The type of data stream where you are sending real-time log data. The only valid value /// is <code>Kinesis</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string StreamType { get { return this._streamType; } set { this._streamType = value; } } // Check to see if StreamType property is set internal bool IsSetStreamType() { return this._streamType != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A complex data type that includes the profile configurations and other options specified /// for field-level encryption. /// </summary> public partial class FieldLevelEncryption { private FieldLevelEncryptionConfig _fieldLevelEncryptionConfig; private string _id; private DateTime? _lastModifiedTime; /// <summary> /// Gets and sets the property FieldLevelEncryptionConfig. /// <para> /// A complex data type that includes the profile configurations specified for field-level /// encryption. /// </para> /// </summary> [AWSProperty(Required=true)] public FieldLevelEncryptionConfig FieldLevelEncryptionConfig { get { return this._fieldLevelEncryptionConfig; } set { this._fieldLevelEncryptionConfig = value; } } // Check to see if FieldLevelEncryptionConfig property is set internal bool IsSetFieldLevelEncryptionConfig() { return this._fieldLevelEncryptionConfig != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The configuration ID for a field-level encryption configuration which includes a set /// of profiles that specify certain selected data fields to be encrypted by specific /// public keys. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The last time the field-level encryption configuration was changed. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A complex data type that includes the profile configurations specified for field-level /// encryption. /// </summary> public partial class FieldLevelEncryptionConfig { private string _callerReference; private string _comment; private ContentTypeProfileConfig _contentTypeProfileConfig; private QueryArgProfileConfig _queryArgProfileConfig; /// <summary> /// Gets and sets the property CallerReference. /// <para> /// A unique number that ensures the request can't be replayed. /// </para> /// </summary> [AWSProperty(Required=true)] public string CallerReference { get { return this._callerReference; } set { this._callerReference = value; } } // Check to see if CallerReference property is set internal bool IsSetCallerReference() { return this._callerReference != null; } /// <summary> /// Gets and sets the property Comment. /// <para> /// An optional comment about the configuration. The comment cannot be longer than 128 /// characters. /// </para> /// </summary> public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property ContentTypeProfileConfig. /// <para> /// A complex data type that specifies when to forward content if a content type isn't /// recognized and profiles to use as by default in a request if a query argument doesn't /// specify a profile to use. /// </para> /// </summary> public ContentTypeProfileConfig ContentTypeProfileConfig { get { return this._contentTypeProfileConfig; } set { this._contentTypeProfileConfig = value; } } // Check to see if ContentTypeProfileConfig property is set internal bool IsSetContentTypeProfileConfig() { return this._contentTypeProfileConfig != null; } /// <summary> /// Gets and sets the property QueryArgProfileConfig. /// <para> /// A complex data type that specifies when to forward content if a profile isn't found /// and the profile that can be provided as a query argument in a request. /// </para> /// </summary> public QueryArgProfileConfig QueryArgProfileConfig { get { return this._queryArgProfileConfig; } set { this._queryArgProfileConfig = value; } } // Check to see if QueryArgProfileConfig property is set internal bool IsSetQueryArgProfileConfig() { return this._queryArgProfileConfig != null; } } }
120
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The specified configuration for field-level encryption already exists. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FieldLevelEncryptionConfigAlreadyExistsException : AmazonCloudFrontException { /// <summary> /// Constructs a new FieldLevelEncryptionConfigAlreadyExistsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FieldLevelEncryptionConfigAlreadyExistsException(string message) : base(message) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FieldLevelEncryptionConfigAlreadyExistsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigAlreadyExistsException /// </summary> /// <param name="innerException"></param> public FieldLevelEncryptionConfigAlreadyExistsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigAlreadyExistsException /// </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 FieldLevelEncryptionConfigAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FieldLevelEncryptionConfigAlreadyExistsException(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 FieldLevelEncryptionConfigAlreadyExistsException 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 FieldLevelEncryptionConfigAlreadyExistsException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The specified configuration for field-level encryption is in use. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FieldLevelEncryptionConfigInUseException : AmazonCloudFrontException { /// <summary> /// Constructs a new FieldLevelEncryptionConfigInUseException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FieldLevelEncryptionConfigInUseException(string message) : base(message) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigInUseException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FieldLevelEncryptionConfigInUseException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigInUseException /// </summary> /// <param name="innerException"></param> public FieldLevelEncryptionConfigInUseException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigInUseException /// </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 FieldLevelEncryptionConfigInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FieldLevelEncryptionConfigInUseException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FieldLevelEncryptionConfigInUseException(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 FieldLevelEncryptionConfigInUseException 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 FieldLevelEncryptionConfigInUseException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// List of field-level encrpytion configurations. /// </summary> public partial class FieldLevelEncryptionList { private List<FieldLevelEncryptionSummary> _items = new List<FieldLevelEncryptionSummary>(); private int? _maxItems; private string _nextMarker; private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// An array of field-level encryption items. /// </para> /// </summary> public List<FieldLevelEncryptionSummary> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property MaxItems. /// <para> /// The maximum number of elements you want in the response body. /// </para> /// </summary> [AWSProperty(Required=true)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } /// <summary> /// Gets and sets the property NextMarker. /// <para> /// If there are more elements to be listed, this element is present and contains the /// value that you can use for the <code>Marker</code> request parameter to continue listing /// your configurations where you left off. /// </para> /// </summary> public string NextMarker { get { return this._nextMarker; } set { this._nextMarker = value; } } // Check to see if NextMarker property is set internal bool IsSetNextMarker() { return this._nextMarker != null; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of field-level encryption items. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A complex data type for field-level encryption profiles. /// </summary> public partial class FieldLevelEncryptionProfile { private FieldLevelEncryptionProfileConfig _fieldLevelEncryptionProfileConfig; private string _id; private DateTime? _lastModifiedTime; /// <summary> /// Gets and sets the property FieldLevelEncryptionProfileConfig. /// <para> /// A complex data type that includes the profile name and the encryption entities for /// the field-level encryption profile. /// </para> /// </summary> [AWSProperty(Required=true)] public FieldLevelEncryptionProfileConfig FieldLevelEncryptionProfileConfig { get { return this._fieldLevelEncryptionProfileConfig; } set { this._fieldLevelEncryptionProfileConfig = value; } } // Check to see if FieldLevelEncryptionProfileConfig property is set internal bool IsSetFieldLevelEncryptionProfileConfig() { return this._fieldLevelEncryptionProfileConfig != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The ID for a field-level encryption profile configuration which includes a set of /// profiles that specify certain selected data fields to be encrypted by specific public /// keys. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The last time the field-level encryption profile was updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } } }
101
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The specified profile for field-level encryption already exists. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FieldLevelEncryptionProfileAlreadyExistsException : AmazonCloudFrontException { /// <summary> /// Constructs a new FieldLevelEncryptionProfileAlreadyExistsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FieldLevelEncryptionProfileAlreadyExistsException(string message) : base(message) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FieldLevelEncryptionProfileAlreadyExistsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileAlreadyExistsException /// </summary> /// <param name="innerException"></param> public FieldLevelEncryptionProfileAlreadyExistsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileAlreadyExistsException /// </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 FieldLevelEncryptionProfileAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FieldLevelEncryptionProfileAlreadyExistsException(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 FieldLevelEncryptionProfileAlreadyExistsException 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 FieldLevelEncryptionProfileAlreadyExistsException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A complex data type of profiles for the field-level encryption. /// </summary> public partial class FieldLevelEncryptionProfileConfig { private string _callerReference; private string _comment; private EncryptionEntities _encryptionEntities; private string _name; /// <summary> /// Gets and sets the property CallerReference. /// <para> /// A unique number that ensures that the request can't be replayed. /// </para> /// </summary> [AWSProperty(Required=true)] public string CallerReference { get { return this._callerReference; } set { this._callerReference = value; } } // Check to see if CallerReference property is set internal bool IsSetCallerReference() { return this._callerReference != null; } /// <summary> /// Gets and sets the property Comment. /// <para> /// An optional comment for the field-level encryption profile. The comment cannot be /// longer than 128 characters. /// </para> /// </summary> public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property EncryptionEntities. /// <para> /// A complex data type of encryption entities for the field-level encryption profile /// that include the public key ID, provider, and field patterns for specifying which /// fields to encrypt with this key. /// </para> /// </summary> [AWSProperty(Required=true)] public EncryptionEntities EncryptionEntities { get { return this._encryptionEntities; } set { this._encryptionEntities = value; } } // Check to see if EncryptionEntities property is set internal bool IsSetEncryptionEntities() { return this._encryptionEntities != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// Profile name for the field-level encryption profile. /// </para> /// </summary> [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
120
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The specified profile for field-level encryption is in use. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FieldLevelEncryptionProfileInUseException : AmazonCloudFrontException { /// <summary> /// Constructs a new FieldLevelEncryptionProfileInUseException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FieldLevelEncryptionProfileInUseException(string message) : base(message) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileInUseException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FieldLevelEncryptionProfileInUseException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileInUseException /// </summary> /// <param name="innerException"></param> public FieldLevelEncryptionProfileInUseException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileInUseException /// </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 FieldLevelEncryptionProfileInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileInUseException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FieldLevelEncryptionProfileInUseException(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 FieldLevelEncryptionProfileInUseException 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 FieldLevelEncryptionProfileInUseException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// List of field-level encryption profiles. /// </summary> public partial class FieldLevelEncryptionProfileList { private List<FieldLevelEncryptionProfileSummary> _items = new List<FieldLevelEncryptionProfileSummary>(); private int? _maxItems; private string _nextMarker; private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// The field-level encryption profile items. /// </para> /// </summary> public List<FieldLevelEncryptionProfileSummary> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property MaxItems. /// <para> /// The maximum number of field-level encryption profiles you want in the response body. /// /// </para> /// </summary> [AWSProperty(Required=true)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } /// <summary> /// Gets and sets the property NextMarker. /// <para> /// If there are more elements to be listed, this element is present and contains the /// value that you can use for the <code>Marker</code> request parameter to continue listing /// your profiles where you left off. /// </para> /// </summary> public string NextMarker { get { return this._nextMarker; } set { this._nextMarker = value; } } // Check to see if NextMarker property is set internal bool IsSetNextMarker() { return this._nextMarker != null; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of field-level encryption profiles. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The maximum size of a profile for field-level encryption was exceeded. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FieldLevelEncryptionProfileSizeExceededException : AmazonCloudFrontException { /// <summary> /// Constructs a new FieldLevelEncryptionProfileSizeExceededException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FieldLevelEncryptionProfileSizeExceededException(string message) : base(message) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileSizeExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FieldLevelEncryptionProfileSizeExceededException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileSizeExceededException /// </summary> /// <param name="innerException"></param> public FieldLevelEncryptionProfileSizeExceededException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileSizeExceededException /// </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 FieldLevelEncryptionProfileSizeExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FieldLevelEncryptionProfileSizeExceededException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FieldLevelEncryptionProfileSizeExceededException(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 FieldLevelEncryptionProfileSizeExceededException 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 FieldLevelEncryptionProfileSizeExceededException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The field-level encryption profile summary. /// </summary> public partial class FieldLevelEncryptionProfileSummary { private string _comment; private EncryptionEntities _encryptionEntities; private string _id; private DateTime? _lastModifiedTime; private string _name; /// <summary> /// Gets and sets the property Comment. /// <para> /// An optional comment for the field-level encryption profile summary. The comment cannot /// be longer than 128 characters. /// </para> /// </summary> public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property EncryptionEntities. /// <para> /// A complex data type of encryption entities for the field-level encryption profile /// that include the public key ID, provider, and field patterns for specifying which /// fields to encrypt with this key. /// </para> /// </summary> [AWSProperty(Required=true)] public EncryptionEntities EncryptionEntities { get { return this._encryptionEntities; } set { this._encryptionEntities = value; } } // Check to see if EncryptionEntities property is set internal bool IsSetEncryptionEntities() { return this._encryptionEntities != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// ID for the field-level encryption profile summary. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The time when the the field-level encryption profile summary was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// Name for the field-level encryption profile summary. /// </para> /// </summary> [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
140
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A summary of a field-level encryption item. /// </summary> public partial class FieldLevelEncryptionSummary { private string _comment; private ContentTypeProfileConfig _contentTypeProfileConfig; private string _id; private DateTime? _lastModifiedTime; private QueryArgProfileConfig _queryArgProfileConfig; /// <summary> /// Gets and sets the property Comment. /// <para> /// An optional comment about the field-level encryption item. The comment cannot be longer /// than 128 characters. /// </para> /// </summary> public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property ContentTypeProfileConfig. /// <para> /// A summary of a content type-profile mapping. /// </para> /// </summary> public ContentTypeProfileConfig ContentTypeProfileConfig { get { return this._contentTypeProfileConfig; } set { this._contentTypeProfileConfig = value; } } // Check to see if ContentTypeProfileConfig property is set internal bool IsSetContentTypeProfileConfig() { return this._contentTypeProfileConfig != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of a field-level encryption item. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The last time that the summary of field-level encryption items was modified. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property QueryArgProfileConfig. /// <para> /// A summary of a query argument-profile mapping. /// </para> /// </summary> public QueryArgProfileConfig QueryArgProfileConfig { get { return this._queryArgProfileConfig; } set { this._queryArgProfileConfig = value; } } // Check to see if QueryArgProfileConfig property is set internal bool IsSetQueryArgProfileConfig() { return this._queryArgProfileConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A complex data type that includes the field patterns to match for field-level encryption. /// </summary> public partial class FieldPatterns { private List<string> _items = new List<string>(); private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// An array of the field-level encryption field patterns. /// </para> /// </summary> public List<string> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of field-level encryption field patterns. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
77
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This field is deprecated. We recommend that you use a cache policy or an origin request /// policy instead of this field. /// /// /// <para> /// If you want to include values in the cache key, use a cache policy. For more information, /// see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating /// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// If you want to send values to the origin but not include them in the cache key, use /// an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating /// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// A complex type that specifies how CloudFront handles query strings, cookies, and HTTP /// headers. /// </para> /// </summary> public partial class ForwardedValues { private CookiePreference _cookies; private Headers _headers; private bool? _queryString; private QueryStringCacheKeys _queryStringCacheKeys; /// <summary> /// Gets and sets the property Cookies. /// <para> /// This field is deprecated. We recommend that you use a cache policy or an origin request /// policy instead of this field. /// </para> /// /// <para> /// If you want to include cookies in the cache key, use a cache policy. For more information, /// see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating /// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// If you want to send cookies to the origin but not include them in the cache key, use /// an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating /// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// A complex type that specifies whether you want CloudFront to forward cookies to the /// origin and, if so, which ones. For more information about forwarding cookies to the /// origin, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html">How /// CloudFront Forwards, Caches, and Logs Cookies</a> in the <i>Amazon CloudFront Developer /// Guide</i>. /// </para> /// </summary> [AWSProperty(Required=true)] public CookiePreference Cookies { get { return this._cookies; } set { this._cookies = value; } } // Check to see if Cookies property is set internal bool IsSetCookies() { return this._cookies != null; } /// <summary> /// Gets and sets the property Headers. /// <para> /// This field is deprecated. We recommend that you use a cache policy or an origin request /// policy instead of this field. /// </para> /// /// <para> /// If you want to include headers in the cache key, use a cache policy. For more information, /// see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating /// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// If you want to send headers to the origin but not include them in the cache key, use /// an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating /// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// A complex type that specifies the <code>Headers</code>, if any, that you want CloudFront /// to forward to the origin for this cache behavior (whitelisted headers). For the headers /// that you specify, CloudFront also caches separate versions of a specified object that /// is based on the header values in viewer requests. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html"> /// Caching Content Based on Request Headers</a> in the <i>Amazon CloudFront Developer /// Guide</i>. /// </para> /// </summary> public Headers Headers { get { return this._headers; } set { this._headers = value; } } // Check to see if Headers property is set internal bool IsSetHeaders() { return this._headers != null; } /// <summary> /// Gets and sets the property QueryString. /// <para> /// This field is deprecated. We recommend that you use a cache policy or an origin request /// policy instead of this field. /// </para> /// /// <para> /// If you want to include query strings in the cache key, use a cache policy. For more /// information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating /// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// If you want to send query strings to the origin but not include them in the cache /// key, use an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating /// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// Indicates whether you want CloudFront to forward query strings to the origin that /// is associated with this cache behavior and cache based on the query string parameters. /// CloudFront behavior depends on the value of <code>QueryString</code> and on the values /// that you specify for <code>QueryStringCacheKeys</code>, if any: /// </para> /// /// <para> /// If you specify true for <code>QueryString</code> and you don't specify any values /// for <code>QueryStringCacheKeys</code>, CloudFront forwards all query string parameters /// to the origin and caches based on all query string parameters. Depending on how many /// query string parameters and values you have, this can adversely affect performance /// because CloudFront must forward more requests to the origin. /// </para> /// /// <para> /// If you specify true for <code>QueryString</code> and you specify one or more values /// for <code>QueryStringCacheKeys</code>, CloudFront forwards all query string parameters /// to the origin, but it only caches based on the query string parameters that you specify. /// </para> /// /// <para> /// If you specify false for <code>QueryString</code>, CloudFront doesn't forward any /// query string parameters to the origin, and doesn't cache based on query string parameters. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html">Configuring /// CloudFront to Cache Based on Query String Parameters</a> in the <i>Amazon CloudFront /// Developer Guide</i>. /// </para> /// </summary> [AWSProperty(Required=true)] public bool QueryString { get { return this._queryString.GetValueOrDefault(); } set { this._queryString = value; } } // Check to see if QueryString property is set internal bool IsSetQueryString() { return this._queryString.HasValue; } /// <summary> /// Gets and sets the property QueryStringCacheKeys. /// <para> /// This field is deprecated. We recommend that you use a cache policy or an origin request /// policy instead of this field. /// </para> /// /// <para> /// If you want to include query strings in the cache key, use a cache policy. For more /// information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating /// cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// If you want to send query strings to the origin but not include them in the cache /// key, use an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating /// origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>. /// </para> /// /// <para> /// A complex type that contains information about the query string parameters that you /// want CloudFront to use for caching for this cache behavior. /// </para> /// </summary> public QueryStringCacheKeys QueryStringCacheKeys { get { return this._queryStringCacheKeys; } set { this._queryStringCacheKeys = value; } } // Check to see if QueryStringCacheKeys property is set internal bool IsSetQueryStringCacheKeys() { return this._queryStringCacheKeys != null; } } }
245
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A function with the same name already exists in this Amazon Web Services account. /// To create a function, you must provide a unique name. To update an existing function, /// use <code>UpdateFunction</code>. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FunctionAlreadyExistsException : AmazonCloudFrontException { /// <summary> /// Constructs a new FunctionAlreadyExistsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FunctionAlreadyExistsException(string message) : base(message) {} /// <summary> /// Construct instance of FunctionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FunctionAlreadyExistsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FunctionAlreadyExistsException /// </summary> /// <param name="innerException"></param> public FunctionAlreadyExistsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FunctionAlreadyExistsException /// </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 FunctionAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FunctionAlreadyExistsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FunctionAlreadyExistsException(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 FunctionAlreadyExistsException 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 FunctionAlreadyExistsException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A CloudFront function that is associated with a cache behavior in a CloudFront distribution. /// </summary> public partial class FunctionAssociation { private EventType _eventType; private string _functionARN; /// <summary> /// Gets and sets the property EventType. /// <para> /// The event type of the function, either <code>viewer-request</code> or <code>viewer-response</code>. /// You cannot use origin-facing event types (<code>origin-request</code> and <code>origin-response</code>) /// with a CloudFront function. /// </para> /// </summary> [AWSProperty(Required=true)] public EventType EventType { get { return this._eventType; } set { this._eventType = value; } } // Check to see if EventType property is set internal bool IsSetEventType() { return this._eventType != null; } /// <summary> /// Gets and sets the property FunctionARN. /// <para> /// The Amazon Resource Name (ARN) of the function. /// </para> /// </summary> [AWSProperty(Required=true, Max=108)] public string FunctionARN { get { return this._functionARN; } set { this._functionARN = value; } } // Check to see if FunctionARN property is set internal bool IsSetFunctionARN() { return this._functionARN != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A list of CloudFront functions that are associated with a cache behavior in a CloudFront /// distribution. CloudFront functions must be published to the <code>LIVE</code> stage /// to associate them with a cache behavior. /// </summary> public partial class FunctionAssociations { private List<FunctionAssociation> _items = new List<FunctionAssociation>(); private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// The CloudFront functions that are associated with a cache behavior in a CloudFront /// distribution. CloudFront functions must be published to the <code>LIVE</code> stage /// to associate them with a cache behavior. /// </para> /// </summary> public List<FunctionAssociation> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of CloudFront functions in the list. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
81
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Contains configuration information about a CloudFront function. /// </summary> public partial class FunctionConfig { private string _comment; private FunctionRuntime _runtime; /// <summary> /// Gets and sets the property Comment. /// <para> /// A comment to describe the function. /// </para> /// </summary> [AWSProperty(Required=true)] public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } /// <summary> /// Gets and sets the property Runtime. /// <para> /// The function's runtime environment. The only valid value is <code>cloudfront-js-1.0</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public FunctionRuntime Runtime { get { return this._runtime; } set { this._runtime = value; } } // Check to see if Runtime property is set internal bool IsSetRuntime() { return this._runtime != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Cannot delete the function because it's attached to one or more cache behaviors. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FunctionInUseException : AmazonCloudFrontException { /// <summary> /// Constructs a new FunctionInUseException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FunctionInUseException(string message) : base(message) {} /// <summary> /// Construct instance of FunctionInUseException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FunctionInUseException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FunctionInUseException /// </summary> /// <param name="innerException"></param> public FunctionInUseException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FunctionInUseException /// </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 FunctionInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FunctionInUseException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FunctionInUseException(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 FunctionInUseException 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 FunctionInUseException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A list of CloudFront functions. /// </summary> public partial class FunctionList { private List<FunctionSummary> _items = new List<FunctionSummary>(); private int? _maxItems; private string _nextMarker; private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// Contains the functions in the list. /// </para> /// </summary> public List<FunctionSummary> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property MaxItems. /// <para> /// The maximum number of functions requested. /// </para> /// </summary> [AWSProperty(Required=true)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } /// <summary> /// Gets and sets the property NextMarker. /// <para> /// If there are more items in the list than are in this response, this element is present. /// It contains the value that you should use in the <code>Marker</code> field of a subsequent /// request to continue listing functions where you left off. /// </para> /// </summary> public string NextMarker { get { return this._nextMarker; } set { this._nextMarker = value; } } // Check to see if NextMarker property is set internal bool IsSetNextMarker() { return this._nextMarker != null; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of functions returned in the response. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Contains metadata about a CloudFront function. /// </summary> public partial class FunctionMetadata { private DateTime? _createdTime; private string _functionARN; private DateTime? _lastModifiedTime; private FunctionStage _stage; /// <summary> /// Gets and sets the property CreatedTime. /// <para> /// The date and time when the function was created. /// </para> /// </summary> public DateTime CreatedTime { get { return this._createdTime.GetValueOrDefault(); } set { this._createdTime = value; } } // Check to see if CreatedTime property is set internal bool IsSetCreatedTime() { return this._createdTime.HasValue; } /// <summary> /// Gets and sets the property FunctionARN. /// <para> /// The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function. /// </para> /// </summary> [AWSProperty(Required=true)] public string FunctionARN { get { return this._functionARN; } set { this._functionARN = value; } } // Check to see if FunctionARN property is set internal bool IsSetFunctionARN() { return this._functionARN != null; } /// <summary> /// Gets and sets the property LastModifiedTime. /// <para> /// The date and time when the function was most recently updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// <summary> /// Gets and sets the property Stage. /// <para> /// The stage that the function is in, either <code>DEVELOPMENT</code> or <code>LIVE</code>. /// </para> /// /// <para> /// When a function is in the <code>DEVELOPMENT</code> stage, you can test the function /// with <code>TestFunction</code>, and update it with <code>UpdateFunction</code>. /// </para> /// /// <para> /// When a function is in the <code>LIVE</code> stage, you can attach the function to /// a distribution's cache behavior, using the function's ARN. /// </para> /// </summary> public FunctionStage Stage { get { return this._stage; } set { this._stage = value; } } // Check to see if Stage property is set internal bool IsSetStage() { return this._stage != null; } } }
126
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The function is too large. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> /// (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class FunctionSizeLimitExceededException : AmazonCloudFrontException { /// <summary> /// Constructs a new FunctionSizeLimitExceededException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public FunctionSizeLimitExceededException(string message) : base(message) {} /// <summary> /// Construct instance of FunctionSizeLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public FunctionSizeLimitExceededException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of FunctionSizeLimitExceededException /// </summary> /// <param name="innerException"></param> public FunctionSizeLimitExceededException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of FunctionSizeLimitExceededException /// </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 FunctionSizeLimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of FunctionSizeLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public FunctionSizeLimitExceededException(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 FunctionSizeLimitExceededException 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 FunctionSizeLimitExceededException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Contains configuration information and metadata about a CloudFront function. /// </summary> public partial class FunctionSummary { private FunctionConfig _functionConfig; private FunctionMetadata _functionMetadata; private string _name; private string _status; /// <summary> /// Gets and sets the property FunctionConfig. /// <para> /// Contains configuration information about a CloudFront function. /// </para> /// </summary> [AWSProperty(Required=true)] public FunctionConfig FunctionConfig { get { return this._functionConfig; } set { this._functionConfig = value; } } // Check to see if FunctionConfig property is set internal bool IsSetFunctionConfig() { return this._functionConfig != null; } /// <summary> /// Gets and sets the property FunctionMetadata. /// <para> /// Contains metadata about a CloudFront function. /// </para> /// </summary> [AWSProperty(Required=true)] public FunctionMetadata FunctionMetadata { get { return this._functionMetadata; } set { this._functionMetadata = value; } } // Check to see if FunctionMetadata property is set internal bool IsSetFunctionMetadata() { return this._functionMetadata != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the CloudFront function. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=64)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the CloudFront function. /// </para> /// </summary> public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
117
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// A complex type that controls the countries in which your content is distributed. CloudFront /// determines the location of your users using <code>MaxMind</code> GeoIP databases. /// </summary> public partial class GeoRestriction { private List<string> _items = new List<string>(); private int? _quantity; private GeoRestrictionType _restrictionType; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GeoRestriction() { } /// <summary> /// Instantiates GeoRestriction with the parameterized properties /// </summary> /// <param name="restrictionType">The method that you want to use to restrict distribution of your content by country: <ul> <li> <code>none</code>: No geo restriction is enabled, meaning access to content is not restricted by client geo location. </li> <li> <code>blacklist</code>: The <code>Location</code> elements specify the countries in which you don't want CloudFront to distribute your content. </li> <li> <code>whitelist</code>: The <code>Location</code> elements specify the countries in which you want CloudFront to distribute your content. </li> </ul></param> public GeoRestriction(GeoRestrictionType restrictionType) { _restrictionType = restrictionType; } /// <summary> /// Gets and sets the property Items. /// <para> /// A complex type that contains a <code>Location</code> element for each country in which /// you want CloudFront either to distribute your content (<code>whitelist</code>) or /// not distribute your content (<code>blacklist</code>). /// </para> /// /// <para> /// The <code>Location</code> element is a two-letter, uppercase country code for a country /// that you want to include in your <code>blacklist</code> or <code>whitelist</code>. /// Include one <code>Location</code> element for each country. /// </para> /// /// <para> /// CloudFront and <code>MaxMind</code> both use <code>ISO 3166</code> country codes. /// For the current list of countries and the corresponding codes, see <code>ISO 3166-1-alpha-2</code> /// code on the <i>International Organization for Standardization</i> website. You can /// also refer to the country list on the CloudFront console, which includes both country /// names and codes. /// </para> /// </summary> public List<string> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// When geo restriction is <code>enabled</code>, this is the number of countries in your /// <code>whitelist</code> or <code>blacklist</code>. Otherwise, when it is not enabled, /// <code>Quantity</code> is <code>0</code>, and you can omit <code>Items</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } /// <summary> /// Gets and sets the property RestrictionType. /// <para> /// The method that you want to use to restrict distribution of your content by country: /// </para> /// <ul> <li> /// <para> /// <code>none</code>: No geo restriction is enabled, meaning access to content is not /// restricted by client geo location. /// </para> /// </li> <li> /// <para> /// <code>blacklist</code>: The <code>Location</code> elements specify the countries /// in which you don't want CloudFront to distribute your content. /// </para> /// </li> <li> /// <para> /// <code>whitelist</code>: The <code>Location</code> elements specify the countries /// in which you want CloudFront to distribute your content. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public GeoRestrictionType RestrictionType { get { return this._restrictionType; } set { this._restrictionType = value; } } // Check to see if RestrictionType property is set internal bool IsSetRestrictionType() { return this._restrictionType != null; } } }
146
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetCachePolicyConfig operation. /// Gets a cache policy configuration. /// /// /// <para> /// To get a cache policy configuration, you must provide the policy's identifier. If /// the cache policy is attached to a distribution's cache behavior, you can get the policy's /// identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If /// the cache policy is not attached to a cache behavior, you can get the identifier using /// <code>ListCachePolicies</code>. /// </para> /// </summary> public partial class GetCachePolicyConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier for the cache policy. If the cache policy is attached to a distribution's /// cache behavior, you can get the policy's identifier using <code>ListDistributions</code> /// or <code>GetDistribution</code>. If the cache policy is not attached to a cache behavior, /// you can get the identifier using <code>ListCachePolicies</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
71
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetCachePolicyConfig operation. /// </summary> public partial class GetCachePolicyConfigResponse : AmazonWebServiceResponse { private CachePolicyConfig _cachePolicyConfig; private string _eTag; /// <summary> /// Gets and sets the property CachePolicyConfig. /// <para> /// The cache policy configuration. /// </para> /// </summary> public CachePolicyConfig CachePolicyConfig { get { return this._cachePolicyConfig; } set { this._cachePolicyConfig = value; } } // Check to see if CachePolicyConfig property is set internal bool IsSetCachePolicyConfig() { return this._cachePolicyConfig != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the cache policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetCachePolicy operation. /// Gets a cache policy, including the following metadata: /// /// <ul> <li> /// <para> /// The policy's identifier. /// </para> /// </li> <li> /// <para> /// The date and time when the policy was last modified. /// </para> /// </li> </ul> /// <para> /// To get a cache policy, you must provide the policy's identifier. If the cache policy /// is attached to a distribution's cache behavior, you can get the policy's identifier /// using <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache /// policy is not attached to a cache behavior, you can get the identifier using <code>ListCachePolicies</code>. /// </para> /// </summary> public partial class GetCachePolicyRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier for the cache policy. If the cache policy is attached to a distribution's /// cache behavior, you can get the policy's identifier using <code>ListDistributions</code> /// or <code>GetDistribution</code>. If the cache policy is not attached to a cache behavior, /// you can get the identifier using <code>ListCachePolicies</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetCachePolicy operation. /// </summary> public partial class GetCachePolicyResponse : AmazonWebServiceResponse { private CachePolicy _cachePolicy; private string _eTag; /// <summary> /// Gets and sets the property CachePolicy. /// <para> /// The cache policy. /// </para> /// </summary> public CachePolicy CachePolicy { get { return this._cachePolicy; } set { this._cachePolicy = value; } } // Check to see if CachePolicy property is set internal bool IsSetCachePolicy() { return this._cachePolicy != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the cache policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetCloudFrontOriginAccessIdentityConfig operation. /// Get the configuration information about an origin access identity. /// </summary> public partial class GetCloudFrontOriginAccessIdentityConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetCloudFrontOriginAccessIdentityConfigRequest() { } /// <summary> /// Instantiates GetCloudFrontOriginAccessIdentityConfigRequest with the parameterized properties /// </summary> /// <param name="id">The identity's ID.</param> public GetCloudFrontOriginAccessIdentityConfigRequest(string id) { _id = id; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identity's ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
73
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetCloudFrontOriginAccessIdentityConfigResponse : AmazonWebServiceResponse { private CloudFrontOriginAccessIdentityConfig _cloudFrontOriginAccessIdentityConfig; private string _eTag; /// <summary> /// Gets and sets the property CloudFrontOriginAccessIdentityConfig. /// <para> /// The origin access identity's configuration information. /// </para> /// </summary> public CloudFrontOriginAccessIdentityConfig CloudFrontOriginAccessIdentityConfig { get { return this._cloudFrontOriginAccessIdentityConfig; } set { this._cloudFrontOriginAccessIdentityConfig = value; } } // Check to see if CloudFrontOriginAccessIdentityConfig property is set internal bool IsSetCloudFrontOriginAccessIdentityConfig() { return this._cloudFrontOriginAccessIdentityConfig != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the configuration. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetCloudFrontOriginAccessIdentity operation. /// Get the information about an origin access identity. /// </summary> public partial class GetCloudFrontOriginAccessIdentityRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetCloudFrontOriginAccessIdentityRequest() { } /// <summary> /// Instantiates GetCloudFrontOriginAccessIdentityRequest with the parameterized properties /// </summary> /// <param name="id">The identity's ID.</param> public GetCloudFrontOriginAccessIdentityRequest(string id) { _id = id; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identity's ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
73
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetCloudFrontOriginAccessIdentityResponse : AmazonWebServiceResponse { private CloudFrontOriginAccessIdentity _cloudFrontOriginAccessIdentity; private string _eTag; /// <summary> /// Gets and sets the property CloudFrontOriginAccessIdentity. /// <para> /// The origin access identity's information. /// </para> /// </summary> public CloudFrontOriginAccessIdentity CloudFrontOriginAccessIdentity { get { return this._cloudFrontOriginAccessIdentity; } set { this._cloudFrontOriginAccessIdentity = value; } } // Check to see if CloudFrontOriginAccessIdentity property is set internal bool IsSetCloudFrontOriginAccessIdentity() { return this._cloudFrontOriginAccessIdentity != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the origin access identity's information. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetContinuousDeploymentPolicyConfig operation. /// Gets configuration information about a continuous deployment policy. /// </summary> public partial class GetContinuousDeploymentPolicyConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the continuous deployment policy whose configuration you are getting. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetContinuousDeploymentPolicyConfig operation. /// </summary> public partial class GetContinuousDeploymentPolicyConfigResponse : AmazonWebServiceResponse { private ContinuousDeploymentPolicyConfig _continuousDeploymentPolicyConfig; private string _eTag; /// <summary> /// Gets and sets the property ContinuousDeploymentPolicyConfig. /// </summary> public ContinuousDeploymentPolicyConfig ContinuousDeploymentPolicyConfig { get { return this._continuousDeploymentPolicyConfig; } set { this._continuousDeploymentPolicyConfig = value; } } // Check to see if ContinuousDeploymentPolicyConfig property is set internal bool IsSetContinuousDeploymentPolicyConfig() { return this._continuousDeploymentPolicyConfig != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the continuous deployment policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } } }
73
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetContinuousDeploymentPolicy operation. /// Gets a continuous deployment policy, including metadata (the policy's identifier and /// the date and time when the policy was last modified). /// </summary> public partial class GetContinuousDeploymentPolicyRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the continuous deployment policy that you are getting. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetContinuousDeploymentPolicy operation. /// </summary> public partial class GetContinuousDeploymentPolicyResponse : AmazonWebServiceResponse { private ContinuousDeploymentPolicy _continuousDeploymentPolicy; private string _eTag; /// <summary> /// Gets and sets the property ContinuousDeploymentPolicy. /// <para> /// A continuous deployment policy. /// </para> /// </summary> public ContinuousDeploymentPolicy ContinuousDeploymentPolicy { get { return this._continuousDeploymentPolicy; } set { this._continuousDeploymentPolicy = value; } } // Check to see if ContinuousDeploymentPolicy property is set internal bool IsSetContinuousDeploymentPolicy() { return this._continuousDeploymentPolicy != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the continuous deployment policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetDistributionConfig operation. /// Get the configuration information about a distribution. /// </summary> public partial class GetDistributionConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetDistributionConfigRequest() { } /// <summary> /// Instantiates GetDistributionConfigRequest with the parameterized properties /// </summary> /// <param name="id">The distribution's ID. If the ID is empty, an empty distribution configuration is returned.</param> public GetDistributionConfigRequest(string id) { _id = id; } /// <summary> /// Gets and sets the property Id. /// <para> /// The distribution's ID. If the ID is empty, an empty distribution configuration is /// returned. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
74
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetDistributionConfigResponse : AmazonWebServiceResponse { private DistributionConfig _distributionConfig; private string _eTag; /// <summary> /// Gets and sets the property DistributionConfig. /// <para> /// The distribution's configuration information. /// </para> /// </summary> public DistributionConfig DistributionConfig { get { return this._distributionConfig; } set { this._distributionConfig = value; } } // Check to see if DistributionConfig property is set internal bool IsSetDistributionConfig() { return this._distributionConfig != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the configuration. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetDistribution operation. /// Get the information about a distribution. /// </summary> public partial class GetDistributionRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetDistributionRequest() { } /// <summary> /// Instantiates GetDistributionRequest with the parameterized properties /// </summary> /// <param name="id">The distribution's ID. If the ID is empty, an empty distribution configuration is returned.</param> public GetDistributionRequest(string id) { _id = id; } /// <summary> /// Gets and sets the property Id. /// <para> /// The distribution's ID. If the ID is empty, an empty distribution configuration is /// returned. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
74
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetDistributionResponse : AmazonWebServiceResponse { private Distribution _distribution; private string _eTag; /// <summary> /// Gets and sets the property Distribution. /// <para> /// The distribution's information. /// </para> /// </summary> public Distribution Distribution { get { return this._distribution; } set { this._distribution = value; } } // Check to see if Distribution property is set internal bool IsSetDistribution() { return this._distribution != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the distribution's information. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetFieldLevelEncryptionConfig operation. /// Get the field-level encryption configuration information. /// </summary> public partial class GetFieldLevelEncryptionConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// Request the ID for the field-level encryption configuration information. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetFieldLevelEncryptionConfig operation. /// </summary> public partial class GetFieldLevelEncryptionConfigResponse : AmazonWebServiceResponse { private string _eTag; private FieldLevelEncryptionConfig _fieldLevelEncryptionConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the field level encryption configuration. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property FieldLevelEncryptionConfig. /// <para> /// Return the field-level encryption configuration information. /// </para> /// </summary> public FieldLevelEncryptionConfig FieldLevelEncryptionConfig { get { return this._fieldLevelEncryptionConfig; } set { this._fieldLevelEncryptionConfig = value; } } // Check to see if FieldLevelEncryptionConfig property is set internal bool IsSetFieldLevelEncryptionConfig() { return this._fieldLevelEncryptionConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetFieldLevelEncryptionProfileConfig operation. /// Get the field-level encryption profile configuration information. /// </summary> public partial class GetFieldLevelEncryptionProfileConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// Get the ID for the field-level encryption profile configuration information. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetFieldLevelEncryptionProfileConfig operation. /// </summary> public partial class GetFieldLevelEncryptionProfileConfigResponse : AmazonWebServiceResponse { private string _eTag; private FieldLevelEncryptionProfileConfig _fieldLevelEncryptionProfileConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the field-level encryption profile configuration result. For /// example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property FieldLevelEncryptionProfileConfig. /// <para> /// Return the field-level encryption profile configuration information. /// </para> /// </summary> public FieldLevelEncryptionProfileConfig FieldLevelEncryptionProfileConfig { get { return this._fieldLevelEncryptionProfileConfig; } set { this._fieldLevelEncryptionProfileConfig = value; } } // Check to see if FieldLevelEncryptionProfileConfig property is set internal bool IsSetFieldLevelEncryptionProfileConfig() { return this._fieldLevelEncryptionProfileConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetFieldLevelEncryptionProfile operation. /// Get the field-level encryption profile information. /// </summary> public partial class GetFieldLevelEncryptionProfileRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// Get the ID for the field-level encryption profile information. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetFieldLevelEncryptionProfile operation. /// </summary> public partial class GetFieldLevelEncryptionProfileResponse : AmazonWebServiceResponse { private string _eTag; private FieldLevelEncryptionProfile _fieldLevelEncryptionProfile; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the field level encryption profile. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property FieldLevelEncryptionProfile. /// <para> /// Return the field-level encryption profile information. /// </para> /// </summary> public FieldLevelEncryptionProfile FieldLevelEncryptionProfile { get { return this._fieldLevelEncryptionProfile; } set { this._fieldLevelEncryptionProfile = value; } } // Check to see if FieldLevelEncryptionProfile property is set internal bool IsSetFieldLevelEncryptionProfile() { return this._fieldLevelEncryptionProfile != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetFieldLevelEncryption operation. /// Get the field-level encryption configuration information. /// </summary> public partial class GetFieldLevelEncryptionRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// Request the ID for the field-level encryption configuration information. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetFieldLevelEncryption operation. /// </summary> public partial class GetFieldLevelEncryptionResponse : AmazonWebServiceResponse { private string _eTag; private FieldLevelEncryption _fieldLevelEncryption; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the field level encryption configuration. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property FieldLevelEncryption. /// <para> /// Return the field-level encryption configuration information. /// </para> /// </summary> public FieldLevelEncryption FieldLevelEncryption { get { return this._fieldLevelEncryption; } set { this._fieldLevelEncryption = value; } } // Check to see if FieldLevelEncryption property is set internal bool IsSetFieldLevelEncryption() { return this._fieldLevelEncryption != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetFunction operation. /// Gets the code of a CloudFront function. To get configuration information and metadata /// about a function, use <code>DescribeFunction</code>. /// /// /// <para> /// To get a function's code, you must provide the function's name and stage. To get these /// values, you can use <code>ListFunctions</code>. /// </para> /// </summary> public partial class GetFunctionRequest : AmazonCloudFrontRequest { private string _name; private FunctionStage _stage; /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the function whose code you are getting. /// </para> /// </summary> [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Stage. /// <para> /// The function's stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>. /// </para> /// </summary> public FunctionStage Stage { get { return this._stage; } set { this._stage = value; } } // Check to see if Stage property is set internal bool IsSetStage() { return this._stage != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetFunction operation. /// </summary> public partial class GetFunctionResponse : AmazonWebServiceResponse { private string _contentType; private string _eTag; private MemoryStream _functionCode; /// <summary> /// Gets and sets the property ContentType. /// <para> /// The content type (media type) of the response. /// </para> /// </summary> public string ContentType { get { return this._contentType; } set { this._contentType = value; } } // Check to see if ContentType property is set internal bool IsSetContentType() { return this._contentType != null; } /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the CloudFront function. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property FunctionCode. /// <para> /// The function code of a CloudFront function. /// </para> /// </summary> [AWSProperty(Sensitive=true, Min=1, Max=40960)] public MemoryStream FunctionCode { get { return this._functionCode; } set { this._functionCode = value; } } // Check to see if FunctionCode property is set internal bool IsSetFunctionCode() { return this._functionCode != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetInvalidation operation. /// Get the information about an invalidation. /// </summary> public partial class GetInvalidationRequest : AmazonCloudFrontRequest { private string _distributionId; private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetInvalidationRequest() { } /// <summary> /// Instantiates GetInvalidationRequest with the parameterized properties /// </summary> /// <param name="distributionId">The distribution's ID.</param> /// <param name="id">The identifier for the invalidation request, for example, <code>IDFDVBD632BHDS5</code>.</param> public GetInvalidationRequest(string distributionId, string id) { _distributionId = distributionId; _id = id; } /// <summary> /// Gets and sets the property DistributionId. /// <para> /// The distribution's ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string DistributionId { get { return this._distributionId; } set { this._distributionId = value; } } // Check to see if DistributionId property is set internal bool IsSetDistributionId() { return this._distributionId != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier for the invalidation request, for example, <code>IDFDVBD632BHDS5</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
95
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetInvalidationResponse : AmazonWebServiceResponse { private Invalidation _invalidation; /// <summary> /// Gets and sets the property Invalidation. /// <para> /// The invalidation's information. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/InvalidationDatatype.html">Invalidation /// Complex Type</a>. /// </para> /// </summary> public Invalidation Invalidation { get { return this._invalidation; } set { this._invalidation = value; } } // Check to see if Invalidation property is set internal bool IsSetInvalidation() { return this._invalidation != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetKeyGroupConfig operation. /// Gets a key group configuration. /// /// /// <para> /// To get a key group configuration, you must provide the key group's identifier. If /// the key group is referenced in a distribution's cache behavior, you can get the key /// group's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the key group is not referenced in a cache behavior, you can get the identifier /// using <code>ListKeyGroups</code>. /// </para> /// </summary> public partial class GetKeyGroupConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the key group whose configuration you are getting. To get the identifier, /// use <code>ListKeyGroups</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
69
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetKeyGroupConfig operation. /// </summary> public partial class GetKeyGroupConfigResponse : AmazonWebServiceResponse { private string _eTag; private KeyGroupConfig _keyGroupConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The identifier for this version of the key group. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property KeyGroupConfig. /// <para> /// The key group configuration. /// </para> /// </summary> public KeyGroupConfig KeyGroupConfig { get { return this._keyGroupConfig; } set { this._keyGroupConfig = value; } } // Check to see if KeyGroupConfig property is set internal bool IsSetKeyGroupConfig() { return this._keyGroupConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetKeyGroup operation. /// Gets a key group, including the date and time when the key group was last modified. /// /// /// <para> /// To get a key group, you must provide the key group's identifier. If the key group /// is referenced in a distribution's cache behavior, you can get the key group's identifier /// using <code>ListDistributions</code> or <code>GetDistribution</code>. If the key group /// is not referenced in a cache behavior, you can get the identifier using <code>ListKeyGroups</code>. /// </para> /// </summary> public partial class GetKeyGroupRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the key group that you are getting. To get the identifier, use <code>ListKeyGroups</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetKeyGroup operation. /// </summary> public partial class GetKeyGroupResponse : AmazonWebServiceResponse { private string _eTag; private KeyGroup _keyGroup; /// <summary> /// Gets and sets the property ETag. /// <para> /// The identifier for this version of the key group. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property KeyGroup. /// <para> /// The key group. /// </para> /// </summary> public KeyGroup KeyGroup { get { return this._keyGroup; } set { this._keyGroup = value; } } // Check to see if KeyGroup property is set internal bool IsSetKeyGroup() { return this._keyGroup != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetMonitoringSubscription operation. /// Gets information about whether additional CloudWatch metrics are enabled for the specified /// CloudFront distribution. /// </summary> public partial class GetMonitoringSubscriptionRequest : AmazonCloudFrontRequest { private string _distributionId; /// <summary> /// Gets and sets the property DistributionId. /// <para> /// The ID of the distribution that you are getting metrics information for. /// </para> /// </summary> [AWSProperty(Required=true)] public string DistributionId { get { return this._distributionId; } set { this._distributionId = value; } } // Check to see if DistributionId property is set internal bool IsSetDistributionId() { return this._distributionId != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetMonitoringSubscription operation. /// </summary> public partial class GetMonitoringSubscriptionResponse : AmazonWebServiceResponse { private MonitoringSubscription _monitoringSubscription; /// <summary> /// Gets and sets the property MonitoringSubscription. /// <para> /// A monitoring subscription. This structure contains information about whether additional /// CloudWatch metrics are enabled for a given CloudFront distribution. /// </para> /// </summary> public MonitoringSubscription MonitoringSubscription { get { return this._monitoringSubscription; } set { this._monitoringSubscription = value; } } // Check to see if MonitoringSubscription property is set internal bool IsSetMonitoringSubscription() { return this._monitoringSubscription != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetOriginAccessControlConfig operation. /// Gets a CloudFront origin access control configuration. /// </summary> public partial class GetOriginAccessControlConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier of the origin access control. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetOriginAccessControlConfig operation. /// </summary> public partial class GetOriginAccessControlConfigResponse : AmazonWebServiceResponse { private string _eTag; private OriginAccessControlConfig _originAccessControlConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the origin access control. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property OriginAccessControlConfig. /// <para> /// Contains an origin access control configuration. /// </para> /// </summary> public OriginAccessControlConfig OriginAccessControlConfig { get { return this._originAccessControlConfig; } set { this._originAccessControlConfig = value; } } // Check to see if OriginAccessControlConfig property is set internal bool IsSetOriginAccessControlConfig() { return this._originAccessControlConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetOriginAccessControl operation. /// Gets a CloudFront origin access control, including its unique identifier. /// </summary> public partial class GetOriginAccessControlRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier of the origin access control. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetOriginAccessControl operation. /// </summary> public partial class GetOriginAccessControlResponse : AmazonWebServiceResponse { private string _eTag; private OriginAccessControl _originAccessControl; /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the origin access control. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property OriginAccessControl. /// <para> /// Contains an origin access control, including its unique identifier. /// </para> /// </summary> public OriginAccessControl OriginAccessControl { get { return this._originAccessControl; } set { this._originAccessControl = value; } } // Check to see if OriginAccessControl property is set internal bool IsSetOriginAccessControl() { return this._originAccessControl != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetOriginRequestPolicyConfig operation. /// Gets an origin request policy configuration. /// /// /// <para> /// To get an origin request policy configuration, you must provide the policy's identifier. /// If the origin request policy is attached to a distribution's cache behavior, you can /// get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the origin request policy is not attached to a cache behavior, you can get the /// identifier using <code>ListOriginRequestPolicies</code>. /// </para> /// </summary> public partial class GetOriginRequestPolicyConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier for the origin request policy. If the origin request policy /// is attached to a distribution's cache behavior, you can get the policy's identifier /// using <code>ListDistributions</code> or <code>GetDistribution</code>. If the origin /// request policy is not attached to a cache behavior, you can get the identifier using /// <code>ListOriginRequestPolicies</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
72
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetOriginRequestPolicyConfig operation. /// </summary> public partial class GetOriginRequestPolicyConfigResponse : AmazonWebServiceResponse { private string _eTag; private OriginRequestPolicyConfig _originRequestPolicyConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the origin request policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property OriginRequestPolicyConfig. /// <para> /// The origin request policy configuration. /// </para> /// </summary> public OriginRequestPolicyConfig OriginRequestPolicyConfig { get { return this._originRequestPolicyConfig; } set { this._originRequestPolicyConfig = value; } } // Check to see if OriginRequestPolicyConfig property is set internal bool IsSetOriginRequestPolicyConfig() { return this._originRequestPolicyConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetOriginRequestPolicy operation. /// Gets an origin request policy, including the following metadata: /// /// <ul> <li> /// <para> /// The policy's identifier. /// </para> /// </li> <li> /// <para> /// The date and time when the policy was last modified. /// </para> /// </li> </ul> /// <para> /// To get an origin request policy, you must provide the policy's identifier. If the /// origin request policy is attached to a distribution's cache behavior, you can get /// the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the origin request policy is not attached to a cache behavior, you can get the /// identifier using <code>ListOriginRequestPolicies</code>. /// </para> /// </summary> public partial class GetOriginRequestPolicyRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier for the origin request policy. If the origin request policy /// is attached to a distribution's cache behavior, you can get the policy's identifier /// using <code>ListDistributions</code> or <code>GetDistribution</code>. If the origin /// request policy is not attached to a cache behavior, you can get the identifier using /// <code>ListOriginRequestPolicies</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetOriginRequestPolicy operation. /// </summary> public partial class GetOriginRequestPolicyResponse : AmazonWebServiceResponse { private string _eTag; private OriginRequestPolicy _originRequestPolicy; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the origin request policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property OriginRequestPolicy. /// <para> /// The origin request policy. /// </para> /// </summary> public OriginRequestPolicy OriginRequestPolicy { get { return this._originRequestPolicy; } set { this._originRequestPolicy = value; } } // Check to see if OriginRequestPolicy property is set internal bool IsSetOriginRequestPolicy() { return this._originRequestPolicy != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetPublicKeyConfig operation. /// Gets a public key configuration. /// </summary> public partial class GetPublicKeyConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the public key whose configuration you are getting. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetPublicKeyConfig operation. /// </summary> public partial class GetPublicKeyConfigResponse : AmazonWebServiceResponse { private string _eTag; private PublicKeyConfig _publicKeyConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The identifier for this version of the public key configuration. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property PublicKeyConfig. /// <para> /// A public key configuration. /// </para> /// </summary> public PublicKeyConfig PublicKeyConfig { get { return this._publicKeyConfig; } set { this._publicKeyConfig = value; } } // Check to see if PublicKeyConfig property is set internal bool IsSetPublicKeyConfig() { return this._publicKeyConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetPublicKey operation. /// Gets a public key. /// </summary> public partial class GetPublicKeyRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the public key you are getting. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetPublicKey operation. /// </summary> public partial class GetPublicKeyResponse : AmazonWebServiceResponse { private string _eTag; private PublicKey _publicKey; /// <summary> /// Gets and sets the property ETag. /// <para> /// The identifier for this version of the public key. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property PublicKey. /// <para> /// The public key. /// </para> /// </summary> public PublicKey PublicKey { get { return this._publicKey; } set { this._publicKey = value; } } // Check to see if PublicKey property is set internal bool IsSetPublicKey() { return this._publicKey != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetRealtimeLogConfig operation. /// Gets a real-time log configuration. /// /// /// <para> /// To get a real-time log configuration, you can provide the configuration's name or /// its Amazon Resource Name (ARN). You must provide at least one. If you provide both, /// CloudFront uses the name to identify the real-time log configuration to get. /// </para> /// </summary> public partial class GetRealtimeLogConfigRequest : AmazonCloudFrontRequest { private string _arn; private string _name; /// <summary> /// Gets and sets the property ARN. /// <para> /// The Amazon Resource Name (ARN) of the real-time log configuration to get. /// </para> /// </summary> 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 Name. /// <para> /// The name of the real-time log configuration to get. /// </para> /// </summary> public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetRealtimeLogConfig operation. /// </summary> public partial class GetRealtimeLogConfigResponse : AmazonWebServiceResponse { private RealtimeLogConfig _realtimeLogConfig; /// <summary> /// Gets and sets the property RealtimeLogConfig. /// <para> /// A real-time log configuration. /// </para> /// </summary> public RealtimeLogConfig RealtimeLogConfig { get { return this._realtimeLogConfig; } set { this._realtimeLogConfig = value; } } // Check to see if RealtimeLogConfig property is set internal bool IsSetRealtimeLogConfig() { return this._realtimeLogConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetResponseHeadersPolicyConfig operation. /// Gets a response headers policy configuration. /// /// /// <para> /// To get a response headers policy configuration, you must provide the policy's identifier. /// If the response headers policy is attached to a distribution's cache behavior, you /// can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the response headers policy is not attached to a cache behavior, you can get the /// identifier using <code>ListResponseHeadersPolicies</code>. /// </para> /// </summary> public partial class GetResponseHeadersPolicyConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier for the response headers policy. /// </para> /// /// <para> /// If the response headers policy is attached to a distribution's cache behavior, you /// can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the response headers policy is not attached to a cache behavior, you can get the /// identifier using <code>ListResponseHeadersPolicies</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
75
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetResponseHeadersPolicyConfig operation. /// </summary> public partial class GetResponseHeadersPolicyConfigResponse : AmazonWebServiceResponse { private string _eTag; private ResponseHeadersPolicyConfig _responseHeadersPolicyConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the response headers policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property ResponseHeadersPolicyConfig. /// <para> /// Contains a response headers policy. /// </para> /// </summary> public ResponseHeadersPolicyConfig ResponseHeadersPolicyConfig { get { return this._responseHeadersPolicyConfig; } set { this._responseHeadersPolicyConfig = value; } } // Check to see if ResponseHeadersPolicyConfig property is set internal bool IsSetResponseHeadersPolicyConfig() { return this._responseHeadersPolicyConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetResponseHeadersPolicy operation. /// Gets a response headers policy, including metadata (the policy's identifier and the /// date and time when the policy was last modified). /// /// /// <para> /// To get a response headers policy, you must provide the policy's identifier. If the /// response headers policy is attached to a distribution's cache behavior, you can get /// the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the response headers policy is not attached to a cache behavior, you can get the /// identifier using <code>ListResponseHeadersPolicies</code>. /// </para> /// </summary> public partial class GetResponseHeadersPolicyRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier for the response headers policy. /// </para> /// /// <para> /// If the response headers policy is attached to a distribution's cache behavior, you /// can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. /// If the response headers policy is not attached to a cache behavior, you can get the /// identifier using <code>ListResponseHeadersPolicies</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// This is the response object from the GetResponseHeadersPolicy operation. /// </summary> public partial class GetResponseHeadersPolicyResponse : AmazonWebServiceResponse { private string _eTag; private ResponseHeadersPolicy _responseHeadersPolicy; /// <summary> /// Gets and sets the property ETag. /// <para> /// The version identifier for the current version of the response headers policy. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property ResponseHeadersPolicy. /// <para> /// Contains a response headers policy. /// </para> /// </summary> public ResponseHeadersPolicy ResponseHeadersPolicy { get { return this._responseHeadersPolicy; } set { this._responseHeadersPolicy = value; } } // Check to see if ResponseHeadersPolicy property is set internal bool IsSetResponseHeadersPolicy() { return this._responseHeadersPolicy != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetStreamingDistributionConfig operation. /// Get the configuration information about a streaming distribution. /// </summary> public partial class GetStreamingDistributionConfigRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetStreamingDistributionConfigRequest() { } /// <summary> /// Instantiates GetStreamingDistributionConfigRequest with the parameterized properties /// </summary> /// <param name="id">The streaming distribution's ID.</param> public GetStreamingDistributionConfigRequest(string id) { _id = id; } /// <summary> /// Gets and sets the property Id. /// <para> /// The streaming distribution's ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
73
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetStreamingDistributionConfigResponse : AmazonWebServiceResponse { private string _eTag; private StreamingDistributionConfig _streamingDistributionConfig; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the configuration. For example: <code>E2QWRUHAPOMQZL</code>. /// /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property StreamingDistributionConfig. /// <para> /// The streaming distribution's configuration information. /// </para> /// </summary> public StreamingDistributionConfig StreamingDistributionConfig { get { return this._streamingDistributionConfig; } set { this._streamingDistributionConfig = value; } } // Check to see if StreamingDistributionConfig property is set internal bool IsSetStreamingDistributionConfig() { return this._streamingDistributionConfig != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Container for the parameters to the GetStreamingDistribution operation. /// Gets information about a specified RTMP distribution, including the distribution configuration. /// </summary> public partial class GetStreamingDistributionRequest : AmazonCloudFrontRequest { private string _id; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public GetStreamingDistributionRequest() { } /// <summary> /// Instantiates GetStreamingDistributionRequest with the parameterized properties /// </summary> /// <param name="id">The streaming distribution's ID.</param> public GetStreamingDistributionRequest(string id) { _id = id; } /// <summary> /// Gets and sets the property Id. /// <para> /// The streaming distribution's ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
73
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The returned result of the corresponding request. /// </summary> public partial class GetStreamingDistributionResponse : AmazonWebServiceResponse { private string _eTag; private StreamingDistribution _streamingDistribution; /// <summary> /// Gets and sets the property ETag. /// <para> /// The current version of the streaming distribution's information. For example: <code>E2QWRUHAPOMQZL</code>. /// </para> /// </summary> public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// <summary> /// Gets and sets the property StreamingDistribution. /// <para> /// The streaming distribution's information. /// </para> /// </summary> public StreamingDistribution StreamingDistribution { get { return this._streamingDistribution; } set { this._streamingDistribution = value; } } // Check to see if StreamingDistribution property is set internal bool IsSetStreamingDistribution() { return this._streamingDistribution != 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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// Contains a list of HTTP header names. /// </summary> public partial class Headers { private List<string> _items = new List<string>(); private int? _quantity; /// <summary> /// Gets and sets the property Items. /// <para> /// A list of HTTP header names. /// </para> /// </summary> public List<string> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Quantity. /// <para> /// The number of header names in the <code>Items</code> list. /// </para> /// </summary> [AWSProperty(Required=true)] public int Quantity { get { return this._quantity.GetValueOrDefault(); } set { this._quantity = value; } } // Check to see if Quantity property is set internal bool IsSetQuantity() { return this._quantity.HasValue; } } }
77
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// You cannot delete a managed policy. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class IllegalDeleteException : AmazonCloudFrontException { /// <summary> /// Constructs a new IllegalDeleteException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public IllegalDeleteException(string message) : base(message) {} /// <summary> /// Construct instance of IllegalDeleteException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public IllegalDeleteException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of IllegalDeleteException /// </summary> /// <param name="innerException"></param> public IllegalDeleteException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of IllegalDeleteException /// </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 IllegalDeleteException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of IllegalDeleteException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public IllegalDeleteException(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 IllegalDeleteException 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 IllegalDeleteException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The specified configuration for field-level encryption can't be associated with the /// specified cache behavior. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException : AmazonCloudFrontException { /// <summary> /// Constructs a new IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException(string message) : base(message) {} /// <summary> /// Construct instance of IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException /// </summary> /// <param name="innerException"></param> public IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException /// </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 IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException(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 IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException 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 IllegalFieldLevelEncryptionConfigAssociationWithCacheBehaviorException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// An origin cannot contain both an origin access control (OAC) and an origin access /// identity (OAI). /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class IllegalOriginAccessConfigurationException : AmazonCloudFrontException { /// <summary> /// Constructs a new IllegalOriginAccessConfigurationException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public IllegalOriginAccessConfigurationException(string message) : base(message) {} /// <summary> /// Construct instance of IllegalOriginAccessConfigurationException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public IllegalOriginAccessConfigurationException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of IllegalOriginAccessConfigurationException /// </summary> /// <param name="innerException"></param> public IllegalOriginAccessConfigurationException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of IllegalOriginAccessConfigurationException /// </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 IllegalOriginAccessConfigurationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of IllegalOriginAccessConfigurationException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public IllegalOriginAccessConfigurationException(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 IllegalOriginAccessConfigurationException 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 IllegalOriginAccessConfigurationException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The update contains modifications that are not allowed. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class IllegalUpdateException : AmazonCloudFrontException { /// <summary> /// Constructs a new IllegalUpdateException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public IllegalUpdateException(string message) : base(message) {} /// <summary> /// Construct instance of IllegalUpdateException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public IllegalUpdateException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of IllegalUpdateException /// </summary> /// <param name="innerException"></param> public IllegalUpdateException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of IllegalUpdateException /// </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 IllegalUpdateException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of IllegalUpdateException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public IllegalUpdateException(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 IllegalUpdateException 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 IllegalUpdateException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// The value of <code>Quantity</code> and the size of <code>Items</code> don't match. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InconsistentQuantitiesException : AmazonCloudFrontException { /// <summary> /// Constructs a new InconsistentQuantitiesException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InconsistentQuantitiesException(string message) : base(message) {} /// <summary> /// Construct instance of InconsistentQuantitiesException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InconsistentQuantitiesException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InconsistentQuantitiesException /// </summary> /// <param name="innerException"></param> public InconsistentQuantitiesException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InconsistentQuantitiesException /// </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 InconsistentQuantitiesException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InconsistentQuantitiesException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InconsistentQuantitiesException(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 InconsistentQuantitiesException 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 InconsistentQuantitiesException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// An argument is invalid. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidArgumentException : AmazonCloudFrontException { /// <summary> /// Constructs a new InvalidArgumentException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidArgumentException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidArgumentException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidArgumentException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidArgumentException /// </summary> /// <param name="innerException"></param> public InvalidArgumentException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidArgumentException /// </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 InvalidArgumentException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidArgumentException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidArgumentException(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 InvalidArgumentException 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 InvalidArgumentException(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 cloudfront-2020-05-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CloudFront.Model { /// <summary> /// An invalidation. /// </summary> public partial class Invalidation { private DateTime? _createTime; private string _id; private InvalidationBatch _invalidationBatch; private string _status; /// <summary> /// Empty constructor used to set properties independently even when a simple constructor is available /// </summary> public Invalidation() { } /// <summary> /// Gets and sets the property CreateTime. /// <para> /// The date and time the invalidation request was first made. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreateTime { get { return this._createTime.GetValueOrDefault(); } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime.HasValue; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier for the invalidation request. For example: <code>IDFDVBD632BHDS5</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property InvalidationBatch. /// <para> /// The current invalidation information for the batch request. /// </para> /// </summary> [AWSProperty(Required=true)] public InvalidationBatch InvalidationBatch { get { return this._invalidationBatch; } set { this._invalidationBatch = value; } } // Check to see if InvalidationBatch property is set internal bool IsSetInvalidationBatch() { return this._invalidationBatch != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the invalidation request. When the invalidation batch is finished, the /// status is <code>Completed</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
124