7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/NetworkManager_EXPORTS.h>
11#include <aws/networkmanager/model/AttachmentError.h>
12#include <aws/networkmanager/model/AttachmentState.h>
13#include <aws/networkmanager/model/AttachmentType.h>
14#include <aws/networkmanager/model/NatGatewaySupportState.h>
15#include <aws/networkmanager/model/ProposedNetworkFunctionGroupChange.h>
16#include <aws/networkmanager/model/ProposedSegmentChange.h>
17#include <aws/networkmanager/model/Tag.h>
28namespace NetworkManager {
49 template <
typename CoreNetworkIdT = Aws::String>
51 m_coreNetworkIdHasBeenSet =
true;
52 m_coreNetworkId = std::forward<CoreNetworkIdT>(value);
54 template <
typename CoreNetworkIdT = Aws::String>
67 template <
typename CoreNetworkArnT = Aws::String>
69 m_coreNetworkArnHasBeenSet =
true;
70 m_coreNetworkArn = std::forward<CoreNetworkArnT>(value);
72 template <
typename CoreNetworkArnT = Aws::String>
85 template <
typename AttachmentIdT = Aws::String>
87 m_attachmentIdHasBeenSet =
true;
88 m_attachmentId = std::forward<AttachmentIdT>(value);
90 template <
typename AttachmentIdT = Aws::String>
103 template <
typename OwnerAccountIdT = Aws::String>
105 m_ownerAccountIdHasBeenSet =
true;
106 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
108 template <
typename OwnerAccountIdT = Aws::String>
122 m_attachmentTypeHasBeenSet =
true;
123 m_attachmentType = value;
138 m_stateHasBeenSet =
true;
155 template <
typename EdgeLocationT = Aws::String>
157 m_edgeLocationHasBeenSet =
true;
158 m_edgeLocation = std::forward<EdgeLocationT>(value);
160 template <
typename EdgeLocationT = Aws::String>
175 template <
typename EdgeLocationsT = Aws::Vector<Aws::String>>
177 m_edgeLocationsHasBeenSet =
true;
178 m_edgeLocations = std::forward<EdgeLocationsT>(value);
180 template <
typename EdgeLocationsT = Aws::Vector<Aws::String>>
185 template <
typename EdgeLocationsT = Aws::String>
187 m_edgeLocationsHasBeenSet =
true;
188 m_edgeLocations.emplace_back(std::forward<EdgeLocationsT>(value));
199 template <
typename ResourceArnT = Aws::String>
201 m_resourceArnHasBeenSet =
true;
202 m_resourceArn = std::forward<ResourceArnT>(value);
204 template <
typename ResourceArnT = Aws::String>
218 m_attachmentPolicyRuleNumberHasBeenSet =
true;
219 m_attachmentPolicyRuleNumber = value;
233 template <
typename SegmentNameT = Aws::String>
235 m_segmentNameHasBeenSet =
true;
236 m_segmentName = std::forward<SegmentNameT>(value);
238 template <
typename SegmentNameT = Aws::String>
251 template <
typename NetworkFunctionGroupNameT = Aws::String>
253 m_networkFunctionGroupNameHasBeenSet =
true;
254 m_networkFunctionGroupName = std::forward<NetworkFunctionGroupNameT>(value);
256 template <
typename NetworkFunctionGroupNameT = Aws::String>
271 m_natGatewaySupportHasBeenSet =
true;
272 m_natGatewaySupport = value;
289 m_natSystemRouteSupportHasBeenSet =
true;
290 m_natSystemRouteSupport = value;
304 template <
typename TagsT = Aws::Vector<Tag>>
306 m_tagsHasBeenSet =
true;
307 m_tags = std::forward<TagsT>(value);
309 template <
typename TagsT = Aws::Vector<Tag>>
311 SetTags(std::forward<TagsT>(value));
314 template <
typename TagsT = Tag>
316 m_tagsHasBeenSet =
true;
317 m_tags.emplace_back(std::forward<TagsT>(value));
328 template <
typename ProposedSegmentChangeT = ProposedSegmentChange>
330 m_proposedSegmentChangeHasBeenSet =
true;
331 m_proposedSegmentChange = std::forward<ProposedSegmentChangeT>(value);
333 template <
typename ProposedSegmentChangeT = ProposedSegmentChange>
346 return m_proposedNetworkFunctionGroupChange;
349 template <
typename ProposedNetworkFunctionGroupChangeT = ProposedNetworkFunctionGroupChange>
351 m_proposedNetworkFunctionGroupChangeHasBeenSet =
true;
352 m_proposedNetworkFunctionGroupChange = std::forward<ProposedNetworkFunctionGroupChangeT>(value);
354 template <
typename ProposedNetworkFunctionGroupChangeT = ProposedNetworkFunctionGroupChange>
367 template <
typename CreatedAtT = Aws::Utils::DateTime>
369 m_createdAtHasBeenSet =
true;
370 m_createdAt = std::forward<CreatedAtT>(value);
372 template <
typename CreatedAtT = Aws::Utils::DateTime>
385 template <
typename UpdatedAtT = Aws::Utils::DateTime>
387 m_updatedAtHasBeenSet =
true;
388 m_updatedAt = std::forward<UpdatedAtT>(value);
390 template <
typename UpdatedAtT = Aws::Utils::DateTime>
403 template <
typename LastModificationErrorsT = Aws::Vector<AttachmentError>>
405 m_lastModificationErrorsHasBeenSet =
true;
406 m_lastModificationErrors = std::forward<LastModificationErrorsT>(value);
408 template <
typename LastModificationErrorsT = Aws::Vector<AttachmentError>>
413 template <
typename LastModificationErrorsT = AttachmentError>
415 m_lastModificationErrorsHasBeenSet =
true;
416 m_lastModificationErrors.emplace_back(std::forward<LastModificationErrorsT>(value));
439 int m_attachmentPolicyRuleNumber{0};
447 bool m_natSystemRouteSupport{
false};
451 ProposedSegmentChange m_proposedSegmentChange;
453 ProposedNetworkFunctionGroupChange m_proposedNetworkFunctionGroupChange;
460 bool m_coreNetworkIdHasBeenSet =
false;
461 bool m_coreNetworkArnHasBeenSet =
false;
462 bool m_attachmentIdHasBeenSet =
false;
463 bool m_ownerAccountIdHasBeenSet =
false;
464 bool m_attachmentTypeHasBeenSet =
false;
465 bool m_stateHasBeenSet =
false;
466 bool m_edgeLocationHasBeenSet =
false;
467 bool m_edgeLocationsHasBeenSet =
false;
468 bool m_resourceArnHasBeenSet =
false;
469 bool m_attachmentPolicyRuleNumberHasBeenSet =
false;
470 bool m_segmentNameHasBeenSet =
false;
471 bool m_networkFunctionGroupNameHasBeenSet =
false;
472 bool m_natGatewaySupportHasBeenSet =
false;
473 bool m_natSystemRouteSupportHasBeenSet =
false;
474 bool m_tagsHasBeenSet =
false;
475 bool m_proposedSegmentChangeHasBeenSet =
false;
476 bool m_proposedNetworkFunctionGroupChangeHasBeenSet =
false;
477 bool m_createdAtHasBeenSet =
false;
478 bool m_updatedAtHasBeenSet =
false;
479 bool m_lastModificationErrorsHasBeenSet =
false;
Attachment & AddEdgeLocations(EdgeLocationsT &&value)
Attachment & WithNatGatewaySupport(NatGatewaySupportState value)
void SetNatGatewaySupport(NatGatewaySupportState value)
NatGatewaySupportState GetNatGatewaySupport() const
Attachment & WithResourceArn(ResourceArnT &&value)
Attachment & AddLastModificationErrors(LastModificationErrorsT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Attachment & WithNetworkFunctionGroupName(NetworkFunctionGroupNameT &&value)
bool NetworkFunctionGroupNameHasBeenSet() const
Attachment & WithLastModificationErrors(LastModificationErrorsT &&value)
Attachment & WithProposedSegmentChange(ProposedSegmentChangeT &&value)
void SetAttachmentId(AttachmentIdT &&value)
void SetAttachmentType(AttachmentType value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetAttachmentId() const
Attachment & WithTags(TagsT &&value)
bool CoreNetworkIdHasBeenSet() const
bool NatGatewaySupportHasBeenSet() const
const ProposedSegmentChange & GetProposedSegmentChange() const
const Aws::Utils::DateTime & GetUpdatedAt() const
Attachment & WithUpdatedAt(UpdatedAtT &&value)
void SetAttachmentPolicyRuleNumber(int value)
Attachment & WithState(AttachmentState value)
void SetResourceArn(ResourceArnT &&value)
AttachmentState GetState() const
bool EdgeLocationHasBeenSet() const
void SetCoreNetworkId(CoreNetworkIdT &&value)
bool CoreNetworkArnHasBeenSet() const
Attachment & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetNetworkFunctionGroupName(NetworkFunctionGroupNameT &&value)
Attachment & WithAttachmentId(AttachmentIdT &&value)
bool NatSystemRouteSupportHasBeenSet() const
AWS_NETWORKMANAGER_API Attachment()=default
const Aws::Vector< Aws::String > & GetEdgeLocations() const
bool SegmentNameHasBeenSet() const
bool LastModificationErrorsHasBeenSet() const
Attachment & AddTags(TagsT &&value)
const Aws::String & GetCoreNetworkId() const
Attachment & WithCoreNetworkArn(CoreNetworkArnT &&value)
const Aws::String & GetEdgeLocation() const
bool StateHasBeenSet() const
bool AttachmentPolicyRuleNumberHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool UpdatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool GetNatSystemRouteSupport() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetSegmentName(SegmentNameT &&value)
void SetLastModificationErrors(LastModificationErrorsT &&value)
const ProposedNetworkFunctionGroupChange & GetProposedNetworkFunctionGroupChange() const
void SetEdgeLocations(EdgeLocationsT &&value)
const Aws::Vector< AttachmentError > & GetLastModificationErrors() const
void SetProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChangeT &&value)
Attachment & WithSegmentName(SegmentNameT &&value)
AttachmentType GetAttachmentType() const
bool TagsHasBeenSet() const
bool ProposedNetworkFunctionGroupChangeHasBeenSet() const
void SetEdgeLocation(EdgeLocationT &&value)
Attachment & WithEdgeLocations(EdgeLocationsT &&value)
void SetState(AttachmentState value)
const Aws::String & GetResourceArn() const
const Aws::String & GetOwnerAccountId() const
Attachment & WithProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChangeT &&value)
const Aws::String & GetNetworkFunctionGroupName() const
void SetCoreNetworkArn(CoreNetworkArnT &&value)
void SetProposedSegmentChange(ProposedSegmentChangeT &&value)
Attachment & WithEdgeLocation(EdgeLocationT &&value)
Attachment & WithNatSystemRouteSupport(bool value)
bool AttachmentIdHasBeenSet() const
bool ProposedSegmentChangeHasBeenSet() const
AWS_NETWORKMANAGER_API Attachment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttachmentTypeHasBeenSet() const
AWS_NETWORKMANAGER_API Attachment(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
int GetAttachmentPolicyRuleNumber() const
void SetTags(TagsT &&value)
bool EdgeLocationsHasBeenSet() const
const Aws::String & GetSegmentName() const
Attachment & WithCreatedAt(CreatedAtT &&value)
Attachment & WithAttachmentType(AttachmentType value)
Attachment & WithCoreNetworkId(CoreNetworkIdT &&value)
const Aws::String & GetCoreNetworkArn() const
Attachment & WithAttachmentPolicyRuleNumber(int value)
bool OwnerAccountIdHasBeenSet() const
void SetNatSystemRouteSupport(bool value)
bool ResourceArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue