/*
* 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 CreateBasePathMapping operation.
/// Creates a new BasePathMapping resource.
///
public partial class CreateBasePathMappingRequest : AmazonAPIGatewayRequest
{
private string _basePath;
private string _domainName;
private string _restApiId;
private string _stage;
///
/// Gets and sets the property BasePath.
///
/// The base path name that callers of the API must provide as part of the URL after the
/// domain name. This value must be unique for all of the mappings across a single API.
/// Specify '(none)' if you do not want callers to specify a base path name after the
/// domain name.
///
///
public string BasePath
{
get { return this._basePath; }
set { this._basePath = value; }
}
// Check to see if BasePath property is set
internal bool IsSetBasePath()
{
return this._basePath != null;
}
///
/// Gets and sets the property DomainName.
///
/// The domain name of the BasePathMapping resource to create.
///
///
[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;
}
///
/// 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 Stage.
///
/// The name of the API's stage that you want to use for this mapping. Specify '(none)'
/// if you want callers to explicitly specify the stage name after any base path name.
///
///
public string Stage
{
get { return this._stage; }
set { this._stage = value; }
}
// Check to see if Stage property is set
internal bool IsSetStage()
{
return this._stage != null;
}
}
}