/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the route53-2013-04-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Route53.Model { /// /// Information specific to the resource record. /// /// /// /// If you're creating an alias resource record set, omit ResourceRecord. /// /// /// public partial class ResourceRecord { private string _value; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public ResourceRecord() { } /// /// Instantiates ResourceRecord with the parameterized properties /// /// The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action, if the current value does not match the actual value, an error is returned. For descriptions about how to format Value for different record types, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide. You can specify more than one value for all record types except CNAME and SOA. If you're creating an alias resource record set, omit Value. public ResourceRecord(string value) { _value = value; } /// /// Gets and sets the property Value. /// /// The current or new DNS record value, not to exceed 4,000 characters. In the case of /// a DELETE action, if the current value does not match the actual value, /// an error is returned. For descriptions about how to format Value for /// different record types, see Supported /// DNS Resource Record Types in the Amazon Route 53 Developer Guide. /// /// /// /// You can specify more than one value for all record types except CNAME /// and SOA. /// /// /// /// If you're creating an alias resource record set, omit Value. /// /// /// [AWSProperty(Required=true, Max=4000)] public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }