/*
* 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 sesv2-2019-09-27.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.SimpleEmailV2.Model
{
///
/// Contains information about a dedicated IP address that is associated with your Amazon
/// SES account.
///
///
///
/// To learn more about requesting dedicated IP addresses, see Requesting
/// and Relinquishing Dedicated IP Addresses in the Amazon SES Developer Guide.
///
///
public partial class DedicatedIp
{
private string _ip;
private string _poolName;
private int? _warmupPercentage;
private WarmupStatus _warmupStatus;
///
/// Gets and sets the property Ip.
///
/// An IPv4 address.
///
///
[AWSProperty(Required=true)]
public string Ip
{
get { return this._ip; }
set { this._ip = value; }
}
// Check to see if Ip property is set
internal bool IsSetIp()
{
return this._ip != null;
}
///
/// Gets and sets the property PoolName.
///
/// The name of the dedicated IP pool that the IP address is associated with.
///
///
public string PoolName
{
get { return this._poolName; }
set { this._poolName = value; }
}
// Check to see if PoolName property is set
internal bool IsSetPoolName()
{
return this._poolName != null;
}
///
/// Gets and sets the property WarmupPercentage.
///
/// Indicates how complete the dedicated IP warm-up process is. When this value equals
/// 1, the address has completed the warm-up process and is ready for use.
///
///
[AWSProperty(Required=true)]
public int WarmupPercentage
{
get { return this._warmupPercentage.GetValueOrDefault(); }
set { this._warmupPercentage = value; }
}
// Check to see if WarmupPercentage property is set
internal bool IsSetWarmupPercentage()
{
return this._warmupPercentage.HasValue;
}
///
/// Gets and sets the property WarmupStatus.
///
/// The warm-up status of a dedicated IP address. The status can have one of the following
/// values:
///
/// -
///
///
IN_PROGRESS
– The IP address isn't ready to use because the dedicated
/// IP warm-up process is ongoing.
///
/// -
///
///
DONE
– The dedicated IP warm-up process is complete, and the IP address
/// is ready to use.
///
///
///
[AWSProperty(Required=true)]
public WarmupStatus WarmupStatus
{
get { return this._warmupStatus; }
set { this._warmupStatus = value; }
}
// Check to see if WarmupStatus property is set
internal bool IsSetWarmupStatus()
{
return this._warmupStatus != null;
}
}
}