-
Notifications
You must be signed in to change notification settings - Fork 865
/
Copy pathAcceptAddressTransferRequest.cs
104 lines (94 loc) · 3.76 KB
/
AcceptAddressTransferRequest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
* 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;
#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.EC2.Model
{
/// <summary>
/// Container for the parameters to the AcceptAddressTransfer operation.
/// Accepts an Elastic IP address transfer. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#using-instance-addressing-eips-transfer-accept">Accept
/// a transferred Elastic IP address</a> in the <i>Amazon VPC User Guide</i>.
/// </summary>
public partial class AcceptAddressTransferRequest : AmazonEC2Request
{
private string _address;
private bool? _dryRun;
private List<TagSpecification> _tagSpecifications = AWSConfigs.InitializeCollections ? new List<TagSpecification>() : null;
/// <summary>
/// Gets and sets the property Address.
/// <para>
/// The Elastic IP address you are accepting for transfer.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Address
{
get { return this._address; }
set { this._address = value; }
}
// Check to see if Address property is set
internal bool IsSetAddress()
{
return this._address != null;
}
/// <summary>
/// Gets and sets the property DryRun.
/// <para>
/// Checks whether you have the required permissions for the action, without actually
/// making the request, and provides an error response. If you have the required permissions,
/// the error response is <c>DryRunOperation</c>. Otherwise, it is <c>UnauthorizedOperation</c>.
/// </para>
/// </summary>
public bool? DryRun
{
get { return this._dryRun; }
set { this._dryRun = value; }
}
// Check to see if DryRun property is set
internal bool IsSetDryRun()
{
return this._dryRun.HasValue;
}
/// <summary>
/// Gets and sets the property TagSpecifications.
/// <para>
/// <c>tag</c>:<key> - The key/value combination of a tag assigned to the resource.
/// Use the tag key in the filter name and the tag value as the filter value. For example,
/// to find all resources that have a tag with the key <c>Owner</c> and the value <c>TeamA</c>,
/// specify <c>tag:Owner</c> for the filter name and <c>TeamA</c> for the filter value.
/// </para>
/// </summary>
public List<TagSpecification> TagSpecifications
{
get { return this._tagSpecifications; }
set { this._tagSpecifications = value; }
}
// Check to see if TagSpecifications property is set
internal bool IsSetTagSpecifications()
{
return this._tagSpecifications != null && (this._tagSpecifications.Count > 0 || !AWSConfigs.InitializeCollections);
}
}
}