Get Attributes Result
Inheritance: Amazon.Runtime.AmazonWebServiceResponse
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

        public String ToXML()
        {
            StringBuilder xml = new StringBuilder();

            xml.Append("<GetAttributesResponse xmlns=\"http://sdb.amazonaws.com/doc/2009-04-15/\">");
            if (IsSetGetAttributesResult())
            {
                GetAttributesResult getAttributesResult = this.GetAttributesResult;
                xml.Append("<GetAttributesResult>");
                xml.Append(getAttributesResult.ToXMLFragment());
                xml.Append("</GetAttributesResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetAttributesResponse>");
            return(xml.ToString());
        }
 /// <summary>
 /// Sets the GetAttributesResult property
 /// </summary>
 /// <param name="getAttributesResult">Returns all of the attributes associated with the item. Optionally, the attributes returned can
 /// be limited to one or more specified attribute name parameters. If the item does not exist on the
 /// replica that was accessed for this operation, an empty set is returned. The system does not return
 /// an error as it cannot guarantee the item does not exist on other replicas.</param>
 /// <returns>this instance</returns>
 public GetAttributesResponse WithGetAttributesResult(GetAttributesResult getAttributesResult)
 {
     this.getAttributesResultField = getAttributesResult;
     return this;
 }
Beispiel #3
0
 /// <summary>
 /// Sets the GetAttributesResult property
 /// </summary>
 /// <param name="getAttributesResult">Returns all of the attributes associated with the item. Optionally, the attributes returned can
 /// be limited to one or more specified attribute name parameters. If the item does not exist on the
 /// replica that was accessed for this operation, an empty set is returned. The system does not return
 /// an error as it cannot guarantee the item does not exist on other replicas.</param>
 /// <returns>this instance</returns>
 public GetAttributesResponse WithGetAttributesResult(GetAttributesResult getAttributesResult)
 {
     this.getAttributesResultField = getAttributesResult;
     return(this);
 }