AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2TransitGatewayDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SECURITYHUB_API AwsEc2TransitGatewayDetails();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AwsEc2TransitGatewayDetails& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AwsEc2TransitGatewayDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AwsEc2TransitGatewayDetails& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline AwsEc2TransitGatewayDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline AwsEc2TransitGatewayDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline AwsEc2TransitGatewayDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
76 inline const Aws::String& GetDefaultRouteTablePropagation() const{ return m_defaultRouteTablePropagation; }
77 inline bool DefaultRouteTablePropagationHasBeenSet() const { return m_defaultRouteTablePropagationHasBeenSet; }
78 inline void SetDefaultRouteTablePropagation(const Aws::String& value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation = value; }
79 inline void SetDefaultRouteTablePropagation(Aws::String&& value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation = std::move(value); }
80 inline void SetDefaultRouteTablePropagation(const char* value) { m_defaultRouteTablePropagationHasBeenSet = true; m_defaultRouteTablePropagation.assign(value); }
85
87
90 inline const Aws::String& GetAutoAcceptSharedAttachments() const{ return m_autoAcceptSharedAttachments; }
91 inline bool AutoAcceptSharedAttachmentsHasBeenSet() const { return m_autoAcceptSharedAttachmentsHasBeenSet; }
92 inline void SetAutoAcceptSharedAttachments(const Aws::String& value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments = value; }
93 inline void SetAutoAcceptSharedAttachments(Aws::String&& value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments = std::move(value); }
94 inline void SetAutoAcceptSharedAttachments(const char* value) { m_autoAcceptSharedAttachmentsHasBeenSet = true; m_autoAcceptSharedAttachments.assign(value); }
99
101
105 inline const Aws::String& GetDefaultRouteTableAssociation() const{ return m_defaultRouteTableAssociation; }
106 inline bool DefaultRouteTableAssociationHasBeenSet() const { return m_defaultRouteTableAssociationHasBeenSet; }
107 inline void SetDefaultRouteTableAssociation(const Aws::String& value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation = value; }
108 inline void SetDefaultRouteTableAssociation(Aws::String&& value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation = std::move(value); }
109 inline void SetDefaultRouteTableAssociation(const char* value) { m_defaultRouteTableAssociationHasBeenSet = true; m_defaultRouteTableAssociation.assign(value); }
114
116
119 inline const Aws::Vector<Aws::String>& GetTransitGatewayCidrBlocks() const{ return m_transitGatewayCidrBlocks; }
120 inline bool TransitGatewayCidrBlocksHasBeenSet() const { return m_transitGatewayCidrBlocksHasBeenSet; }
121 inline void SetTransitGatewayCidrBlocks(const Aws::Vector<Aws::String>& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks = value; }
122 inline void SetTransitGatewayCidrBlocks(Aws::Vector<Aws::String>&& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks = std::move(value); }
125 inline AwsEc2TransitGatewayDetails& AddTransitGatewayCidrBlocks(const Aws::String& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks.push_back(value); return *this; }
126 inline AwsEc2TransitGatewayDetails& AddTransitGatewayCidrBlocks(Aws::String&& value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks.push_back(std::move(value)); return *this; }
127 inline AwsEc2TransitGatewayDetails& AddTransitGatewayCidrBlocks(const char* value) { m_transitGatewayCidrBlocksHasBeenSet = true; m_transitGatewayCidrBlocks.push_back(value); return *this; }
129
131
134 inline const Aws::String& GetAssociationDefaultRouteTableId() const{ return m_associationDefaultRouteTableId; }
135 inline bool AssociationDefaultRouteTableIdHasBeenSet() const { return m_associationDefaultRouteTableIdHasBeenSet; }
136 inline void SetAssociationDefaultRouteTableId(const Aws::String& value) { m_associationDefaultRouteTableIdHasBeenSet = true; m_associationDefaultRouteTableId = value; }
137 inline void SetAssociationDefaultRouteTableId(Aws::String&& value) { m_associationDefaultRouteTableIdHasBeenSet = true; m_associationDefaultRouteTableId = std::move(value); }
138 inline void SetAssociationDefaultRouteTableId(const char* value) { m_associationDefaultRouteTableIdHasBeenSet = true; m_associationDefaultRouteTableId.assign(value); }
143
145
148 inline const Aws::String& GetPropagationDefaultRouteTableId() const{ return m_propagationDefaultRouteTableId; }
149 inline bool PropagationDefaultRouteTableIdHasBeenSet() const { return m_propagationDefaultRouteTableIdHasBeenSet; }
150 inline void SetPropagationDefaultRouteTableId(const Aws::String& value) { m_propagationDefaultRouteTableIdHasBeenSet = true; m_propagationDefaultRouteTableId = value; }
151 inline void SetPropagationDefaultRouteTableId(Aws::String&& value) { m_propagationDefaultRouteTableIdHasBeenSet = true; m_propagationDefaultRouteTableId = std::move(value); }
152 inline void SetPropagationDefaultRouteTableId(const char* value) { m_propagationDefaultRouteTableIdHasBeenSet = true; m_propagationDefaultRouteTableId.assign(value); }
157
159
162 inline const Aws::String& GetVpnEcmpSupport() const{ return m_vpnEcmpSupport; }
163 inline bool VpnEcmpSupportHasBeenSet() const { return m_vpnEcmpSupportHasBeenSet; }
164 inline void SetVpnEcmpSupport(const Aws::String& value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport = value; }
165 inline void SetVpnEcmpSupport(Aws::String&& value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport = std::move(value); }
166 inline void SetVpnEcmpSupport(const char* value) { m_vpnEcmpSupportHasBeenSet = true; m_vpnEcmpSupport.assign(value); }
168 inline AwsEc2TransitGatewayDetails& WithVpnEcmpSupport(Aws::String&& value) { SetVpnEcmpSupport(std::move(value)); return *this;}
169 inline AwsEc2TransitGatewayDetails& WithVpnEcmpSupport(const char* value) { SetVpnEcmpSupport(value); return *this;}
171
173
176 inline const Aws::String& GetDnsSupport() const{ return m_dnsSupport; }
177 inline bool DnsSupportHasBeenSet() const { return m_dnsSupportHasBeenSet; }
178 inline void SetDnsSupport(const Aws::String& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = value; }
179 inline void SetDnsSupport(Aws::String&& value) { m_dnsSupportHasBeenSet = true; m_dnsSupport = std::move(value); }
180 inline void SetDnsSupport(const char* value) { m_dnsSupportHasBeenSet = true; m_dnsSupport.assign(value); }
181 inline AwsEc2TransitGatewayDetails& WithDnsSupport(const Aws::String& value) { SetDnsSupport(value); return *this;}
182 inline AwsEc2TransitGatewayDetails& WithDnsSupport(Aws::String&& value) { SetDnsSupport(std::move(value)); return *this;}
183 inline AwsEc2TransitGatewayDetails& WithDnsSupport(const char* value) { SetDnsSupport(value); return *this;}
185
187
190 inline const Aws::String& GetMulticastSupport() const{ return m_multicastSupport; }
191 inline bool MulticastSupportHasBeenSet() const { return m_multicastSupportHasBeenSet; }
192 inline void SetMulticastSupport(const Aws::String& value) { m_multicastSupportHasBeenSet = true; m_multicastSupport = value; }
193 inline void SetMulticastSupport(Aws::String&& value) { m_multicastSupportHasBeenSet = true; m_multicastSupport = std::move(value); }
194 inline void SetMulticastSupport(const char* value) { m_multicastSupportHasBeenSet = true; m_multicastSupport.assign(value); }
196 inline AwsEc2TransitGatewayDetails& WithMulticastSupport(Aws::String&& value) { SetMulticastSupport(std::move(value)); return *this;}
197 inline AwsEc2TransitGatewayDetails& WithMulticastSupport(const char* value) { SetMulticastSupport(value); return *this;}
199
201
205 inline int GetAmazonSideAsn() const{ return m_amazonSideAsn; }
206 inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; }
207 inline void SetAmazonSideAsn(int value) { m_amazonSideAsnHasBeenSet = true; m_amazonSideAsn = value; }
208 inline AwsEc2TransitGatewayDetails& WithAmazonSideAsn(int value) { SetAmazonSideAsn(value); return *this;}
210 private:
211
212 Aws::String m_id;
213 bool m_idHasBeenSet = false;
214
215 Aws::String m_description;
216 bool m_descriptionHasBeenSet = false;
217
218 Aws::String m_defaultRouteTablePropagation;
219 bool m_defaultRouteTablePropagationHasBeenSet = false;
220
221 Aws::String m_autoAcceptSharedAttachments;
222 bool m_autoAcceptSharedAttachmentsHasBeenSet = false;
223
224 Aws::String m_defaultRouteTableAssociation;
225 bool m_defaultRouteTableAssociationHasBeenSet = false;
226
227 Aws::Vector<Aws::String> m_transitGatewayCidrBlocks;
228 bool m_transitGatewayCidrBlocksHasBeenSet = false;
229
230 Aws::String m_associationDefaultRouteTableId;
231 bool m_associationDefaultRouteTableIdHasBeenSet = false;
232
233 Aws::String m_propagationDefaultRouteTableId;
234 bool m_propagationDefaultRouteTableIdHasBeenSet = false;
235
236 Aws::String m_vpnEcmpSupport;
237 bool m_vpnEcmpSupportHasBeenSet = false;
238
239 Aws::String m_dnsSupport;
240 bool m_dnsSupportHasBeenSet = false;
241
242 Aws::String m_multicastSupport;
243 bool m_multicastSupportHasBeenSet = false;
244
245 int m_amazonSideAsn;
246 bool m_amazonSideAsnHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace SecurityHub
251} // namespace Aws
AwsEc2TransitGatewayDetails & WithId(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithDescription(const char *value)
AwsEc2TransitGatewayDetails & WithAutoAcceptSharedAttachments(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithVpnEcmpSupport(const char *value)
AwsEc2TransitGatewayDetails & WithVpnEcmpSupport(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithPropagationDefaultRouteTableId(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithAssociationDefaultRouteTableId(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
AwsEc2TransitGatewayDetails & WithDnsSupport(const char *value)
AwsEc2TransitGatewayDetails & WithPropagationDefaultRouteTableId(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithPropagationDefaultRouteTableId(const char *value)
AwsEc2TransitGatewayDetails & WithMulticastSupport(const char *value)
AwsEc2TransitGatewayDetails & WithMulticastSupport(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTablePropagation(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2TransitGatewayDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2TransitGatewayDetails & WithDnsSupport(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithDnsSupport(const Aws::String &value)
AwsEc2TransitGatewayDetails & AddTransitGatewayCidrBlocks(const char *value)
AwsEc2TransitGatewayDetails & WithId(Aws::String &&value)
AwsEc2TransitGatewayDetails & AddTransitGatewayCidrBlocks(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithAutoAcceptSharedAttachments(const char *value)
AwsEc2TransitGatewayDetails & WithAutoAcceptSharedAttachments(Aws::String &&value)
void SetTransitGatewayCidrBlocks(const Aws::Vector< Aws::String > &value)
AwsEc2TransitGatewayDetails & AddTransitGatewayCidrBlocks(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTableAssociation(const char *value)
AwsEc2TransitGatewayDetails & WithVpnEcmpSupport(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTableAssociation(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2TransitGatewayDetails & WithDescription(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2TransitGatewayDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2TransitGatewayDetails & WithAssociationDefaultRouteTableId(const char *value)
AwsEc2TransitGatewayDetails & WithDescription(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithId(const char *value)
AwsEc2TransitGatewayDetails & WithTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
AwsEc2TransitGatewayDetails & WithAssociationDefaultRouteTableId(Aws::String &&value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTablePropagation(const char *value)
void SetTransitGatewayCidrBlocks(Aws::Vector< Aws::String > &&value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTableAssociation(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTransitGatewayCidrBlocks() const
AwsEc2TransitGatewayDetails & WithMulticastSupport(const Aws::String &value)
AwsEc2TransitGatewayDetails & WithDefaultRouteTablePropagation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue