/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 * 
 *  http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */
/*
 * Do not modify this file. This file is generated from the apigateway-2015-07-09.normal.json service model.
 */
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.APIGateway.Model
{
    /// 
    /// Container for the parameters to the UpdateMethodResponse operation.
    /// Updates an existing MethodResponse resource.
    /// 
    public partial class UpdateMethodResponseRequest : AmazonAPIGatewayRequest
    {
        private string _httpMethod;
        private List _patchOperations = new List();
        private string _resourceId;
        private string _restApiId;
        private string _statusCode;
        /// 
        /// Gets and sets the property HttpMethod. 
        /// 
        /// The HTTP verb of the Method resource.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public string HttpMethod
        {
            get { return this._httpMethod; }
            set { this._httpMethod = value; }
        }
        // Check to see if HttpMethod property is set
        internal bool IsSetHttpMethod()
        {
            return this._httpMethod != null;
        }
        /// 
        /// Gets and sets the property PatchOperations. 
        /// 
        /// For more information about supported patch operations, see Patch
        /// Operations.
        /// 
        /// 
        public List PatchOperations
        {
            get { return this._patchOperations; }
            set { this._patchOperations = value; }
        }
        // Check to see if PatchOperations property is set
        internal bool IsSetPatchOperations()
        {
            return this._patchOperations != null && this._patchOperations.Count > 0; 
        }
        /// 
        /// Gets and sets the property ResourceId. 
        /// 
        /// The Resource identifier for the MethodResponse resource.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public string ResourceId
        {
            get { return this._resourceId; }
            set { this._resourceId = value; }
        }
        // Check to see if ResourceId property is set
        internal bool IsSetResourceId()
        {
            return this._resourceId != null;
        }
        /// 
        /// Gets and sets the property RestApiId. 
        /// 
        /// The string identifier of the associated RestApi.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public string RestApiId
        {
            get { return this._restApiId; }
            set { this._restApiId = value; }
        }
        // Check to see if RestApiId property is set
        internal bool IsSetRestApiId()
        {
            return this._restApiId != null;
        }
        /// 
        /// Gets and sets the property StatusCode. 
        /// 
        /// The status code for the MethodResponse resource.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public string StatusCode
        {
            get { return this._statusCode; }
            set { this._statusCode = value; }
        }
        // Check to see if StatusCode property is set
        internal bool IsSetStatusCode()
        {
            return this._statusCode != null;
        }
    }
}