/*
* 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 ec2-2016-11-15.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.EC2.Model
{
///
/// Container for the parameters to the ModifyVpcEndpointServiceConfiguration operation.
/// Modifies the attributes of your VPC endpoint service configuration. You can change
/// the Network Load Balancers or Gateway Load Balancers for your service, and you can
/// specify whether acceptance is required for requests to connect to your endpoint service
/// through an interface VPC endpoint.
///
///
///
/// If you set or modify the private DNS name, you must prove that you own the private
/// DNS domain name.
///
///
public partial class ModifyVpcEndpointServiceConfigurationRequest : AmazonEC2Request
{
private bool? _acceptanceRequired;
private List _addGatewayLoadBalancerArns = new List();
private List _addNetworkLoadBalancerArns = new List();
private List _addSupportedIpAddressTypes = new List();
private string _privateDnsName;
private List _removeGatewayLoadBalancerArns = new List();
private List _removeNetworkLoadBalancerArns = new List();
private bool? _removePrivateDnsName;
private List _removeSupportedIpAddressTypes = new List();
private string _serviceId;
///
/// Gets and sets the property AcceptanceRequired.
///
/// Indicates whether requests to create an endpoint to your service must be accepted.
///
///
public bool AcceptanceRequired
{
get { return this._acceptanceRequired.GetValueOrDefault(); }
set { this._acceptanceRequired = value; }
}
// Check to see if AcceptanceRequired property is set
internal bool IsSetAcceptanceRequired()
{
return this._acceptanceRequired.HasValue;
}
///
/// Gets and sets the property AddGatewayLoadBalancerArns.
///
/// The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service
/// configuration.
///
///
public List AddGatewayLoadBalancerArns
{
get { return this._addGatewayLoadBalancerArns; }
set { this._addGatewayLoadBalancerArns = value; }
}
// Check to see if AddGatewayLoadBalancerArns property is set
internal bool IsSetAddGatewayLoadBalancerArns()
{
return this._addGatewayLoadBalancerArns != null && this._addGatewayLoadBalancerArns.Count > 0;
}
///
/// Gets and sets the property AddNetworkLoadBalancerArns.
///
/// The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service
/// configuration.
///
///
public List AddNetworkLoadBalancerArns
{
get { return this._addNetworkLoadBalancerArns; }
set { this._addNetworkLoadBalancerArns = value; }
}
// Check to see if AddNetworkLoadBalancerArns property is set
internal bool IsSetAddNetworkLoadBalancerArns()
{
return this._addNetworkLoadBalancerArns != null && this._addNetworkLoadBalancerArns.Count > 0;
}
///
/// Gets and sets the property AddSupportedIpAddressTypes.
///
/// The IP address types to add to your service configuration.
///
///
public List AddSupportedIpAddressTypes
{
get { return this._addSupportedIpAddressTypes; }
set { this._addSupportedIpAddressTypes = value; }
}
// Check to see if AddSupportedIpAddressTypes property is set
internal bool IsSetAddSupportedIpAddressTypes()
{
return this._addSupportedIpAddressTypes != null && this._addSupportedIpAddressTypes.Count > 0;
}
///
/// Gets and sets the property PrivateDnsName.
///
/// (Interface endpoint configuration) The private DNS name to assign to the endpoint
/// service.
///
///
public string PrivateDnsName
{
get { return this._privateDnsName; }
set { this._privateDnsName = value; }
}
// Check to see if PrivateDnsName property is set
internal bool IsSetPrivateDnsName()
{
return this._privateDnsName != null;
}
///
/// Gets and sets the property RemoveGatewayLoadBalancerArns.
///
/// The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service
/// configuration.
///
///
public List RemoveGatewayLoadBalancerArns
{
get { return this._removeGatewayLoadBalancerArns; }
set { this._removeGatewayLoadBalancerArns = value; }
}
// Check to see if RemoveGatewayLoadBalancerArns property is set
internal bool IsSetRemoveGatewayLoadBalancerArns()
{
return this._removeGatewayLoadBalancerArns != null && this._removeGatewayLoadBalancerArns.Count > 0;
}
///
/// Gets and sets the property RemoveNetworkLoadBalancerArns.
///
/// The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service
/// configuration.
///
///
public List RemoveNetworkLoadBalancerArns
{
get { return this._removeNetworkLoadBalancerArns; }
set { this._removeNetworkLoadBalancerArns = value; }
}
// Check to see if RemoveNetworkLoadBalancerArns property is set
internal bool IsSetRemoveNetworkLoadBalancerArns()
{
return this._removeNetworkLoadBalancerArns != null && this._removeNetworkLoadBalancerArns.Count > 0;
}
///
/// Gets and sets the property RemovePrivateDnsName.
///
/// (Interface endpoint configuration) Removes the private DNS name of the endpoint service.
///
///
public bool RemovePrivateDnsName
{
get { return this._removePrivateDnsName.GetValueOrDefault(); }
set { this._removePrivateDnsName = value; }
}
// Check to see if RemovePrivateDnsName property is set
internal bool IsSetRemovePrivateDnsName()
{
return this._removePrivateDnsName.HasValue;
}
///
/// Gets and sets the property RemoveSupportedIpAddressTypes.
///
/// The IP address types to remove from your service configuration.
///
///
public List RemoveSupportedIpAddressTypes
{
get { return this._removeSupportedIpAddressTypes; }
set { this._removeSupportedIpAddressTypes = value; }
}
// Check to see if RemoveSupportedIpAddressTypes property is set
internal bool IsSetRemoveSupportedIpAddressTypes()
{
return this._removeSupportedIpAddressTypes != null && this._removeSupportedIpAddressTypes.Count > 0;
}
///
/// Gets and sets the property ServiceId.
///
/// The ID of the service.
///
///
[AWSProperty(Required=true)]
public string ServiceId
{
get { return this._serviceId; }
set { this._serviceId = value; }
}
// Check to see if ServiceId property is set
internal bool IsSetServiceId()
{
return this._serviceId != null;
}
}
}