7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/AttachmentType.h>
10#include <aws/networkmanager/model/AttachmentState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/networkmanager/model/ProposedSegmentChange.h>
13#include <aws/networkmanager/model/ProposedNetworkFunctionGroupChange.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/networkmanager/model/Tag.h>
16#include <aws/networkmanager/model/AttachmentError.h>
29namespace NetworkManager
56 inline void SetCoreNetworkId(
const char* value) { m_coreNetworkIdHasBeenSet =
true; m_coreNetworkId.assign(value); }
70 inline void SetCoreNetworkArn(
const char* value) { m_coreNetworkArnHasBeenSet =
true; m_coreNetworkArn.assign(value); }
84 inline void SetAttachmentId(
const char* value) { m_attachmentIdHasBeenSet =
true; m_attachmentId.assign(value); }
98 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
136 inline void SetEdgeLocation(
const char* value) { m_edgeLocationHasBeenSet =
true; m_edgeLocation.assign(value); }
150 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
174 inline void SetSegmentName(
const char* value) { m_segmentNameHasBeenSet =
true; m_segmentName.assign(value); }
188 inline void SetNetworkFunctionGroupName(
const char* value) { m_networkFunctionGroupNameHasBeenSet =
true; m_networkFunctionGroupName.assign(value); }
204 inline Attachment&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
205 inline Attachment&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
273 bool m_coreNetworkIdHasBeenSet =
false;
276 bool m_coreNetworkArnHasBeenSet =
false;
279 bool m_attachmentIdHasBeenSet =
false;
282 bool m_ownerAccountIdHasBeenSet =
false;
285 bool m_attachmentTypeHasBeenSet =
false;
288 bool m_stateHasBeenSet =
false;
291 bool m_edgeLocationHasBeenSet =
false;
294 bool m_resourceArnHasBeenSet =
false;
296 int m_attachmentPolicyRuleNumber;
297 bool m_attachmentPolicyRuleNumberHasBeenSet =
false;
300 bool m_segmentNameHasBeenSet =
false;
303 bool m_networkFunctionGroupNameHasBeenSet =
false;
306 bool m_tagsHasBeenSet =
false;
309 bool m_proposedSegmentChangeHasBeenSet =
false;
312 bool m_proposedNetworkFunctionGroupChangeHasBeenSet =
false;
315 bool m_createdAtHasBeenSet =
false;
318 bool m_updatedAtHasBeenSet =
false;
321 bool m_lastModificationErrorsHasBeenSet =
false;
Attachment & WithSegmentName(const Aws::String &value)
void SetAttachmentId(Aws::String &&value)
Attachment & WithLastModificationErrors(const Aws::Vector< AttachmentError > &value)
void SetOwnerAccountId(const char *value)
Attachment & WithCoreNetworkArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Attachment & WithSegmentName(Aws::String &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Attachment & WithEdgeLocation(Aws::String &&value)
bool NetworkFunctionGroupNameHasBeenSet() const
void SetOwnerAccountId(const Aws::String &value)
Attachment & WithCoreNetworkId(Aws::String &&value)
void SetNetworkFunctionGroupName(const Aws::String &value)
Attachment & WithCoreNetworkArn(const Aws::String &value)
Attachment & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetAttachmentId() const
bool CoreNetworkIdHasBeenSet() const
const ProposedSegmentChange & GetProposedSegmentChange() const
const Aws::Utils::DateTime & GetUpdatedAt() const
Attachment & WithNetworkFunctionGroupName(const char *value)
Attachment & WithProposedNetworkFunctionGroupChange(const ProposedNetworkFunctionGroupChange &value)
void SetNetworkFunctionGroupName(const char *value)
void SetCoreNetworkArn(const char *value)
void SetCoreNetworkArn(Aws::String &&value)
Attachment & WithAttachmentId(const char *value)
void SetSegmentName(const Aws::String &value)
void SetAttachmentPolicyRuleNumber(int value)
void SetCoreNetworkId(const char *value)
Attachment & WithAttachmentType(const AttachmentType &value)
Attachment & WithCoreNetworkArn(const char *value)
void SetCoreNetworkArn(const Aws::String &value)
bool EdgeLocationHasBeenSet() const
Attachment & WithTags(Aws::Vector< Tag > &&value)
void SetProposedSegmentChange(const ProposedSegmentChange &value)
Attachment & WithEdgeLocation(const char *value)
bool CoreNetworkArnHasBeenSet() const
void SetAttachmentType(AttachmentType &&value)
void SetAttachmentId(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetProposedNetworkFunctionGroupChange(const ProposedNetworkFunctionGroupChange &value)
Attachment & WithCreatedAt(const Aws::Utils::DateTime &value)
Attachment & WithCoreNetworkId(const char *value)
Attachment & WithEdgeLocation(const Aws::String &value)
void SetCoreNetworkId(const Aws::String &value)
bool SegmentNameHasBeenSet() const
bool LastModificationErrorsHasBeenSet() const
const Aws::String & GetCoreNetworkId() const
const Aws::String & GetEdgeLocation() const
bool StateHasBeenSet() const
Attachment & AddLastModificationErrors(const AttachmentError &value)
bool AttachmentPolicyRuleNumberHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetResourceArn(const char *value)
Attachment & WithOwnerAccountId(const Aws::String &value)
Attachment & WithState(const AttachmentState &value)
Attachment & WithResourceArn(Aws::String &&value)
void SetSegmentName(const char *value)
Attachment & WithProposedSegmentChange(const ProposedSegmentChange &value)
void SetProposedSegmentChange(ProposedSegmentChange &&value)
bool UpdatedAtHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Attachment & WithAttachmentId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const ProposedNetworkFunctionGroupChange & GetProposedNetworkFunctionGroupChange() const
Attachment & WithResourceArn(const char *value)
Attachment & WithNetworkFunctionGroupName(const Aws::String &value)
Attachment & WithOwnerAccountId(const char *value)
const Aws::Vector< AttachmentError > & GetLastModificationErrors() const
void SetState(const AttachmentState &value)
void SetCoreNetworkId(Aws::String &&value)
Attachment & WithProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange &&value)
bool TagsHasBeenSet() const
void SetNetworkFunctionGroupName(Aws::String &&value)
bool ProposedNetworkFunctionGroupChangeHasBeenSet() const
Attachment & WithNetworkFunctionGroupName(Aws::String &&value)
void SetLastModificationErrors(Aws::Vector< AttachmentError > &&value)
Attachment & WithTags(const Aws::Vector< Tag > &value)
Attachment & WithAttachmentType(AttachmentType &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetResourceArn() const
Attachment & AddTags(Tag &&value)
Attachment & AddTags(const Tag &value)
void SetOwnerAccountId(Aws::String &&value)
void SetAttachmentId(const char *value)
const Aws::String & GetOwnerAccountId() const
Attachment & WithCreatedAt(Aws::Utils::DateTime &&value)
Attachment & WithResourceArn(const Aws::String &value)
void SetAttachmentType(const AttachmentType &value)
void SetEdgeLocation(Aws::String &&value)
const Aws::String & GetNetworkFunctionGroupName() const
const AttachmentState & GetState() const
Attachment & WithOwnerAccountId(Aws::String &&value)
Attachment & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetLastModificationErrors(const Aws::Vector< AttachmentError > &value)
bool AttachmentIdHasBeenSet() const
Attachment & WithState(AttachmentState &&value)
bool ProposedSegmentChangeHasBeenSet() const
AWS_NETWORKMANAGER_API Attachment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttachmentTypeHasBeenSet() const
AWS_NETWORKMANAGER_API Attachment()
AWS_NETWORKMANAGER_API Attachment(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
int GetAttachmentPolicyRuleNumber() const
void SetEdgeLocation(const char *value)
Attachment & WithAttachmentId(const Aws::String &value)
const Aws::String & GetSegmentName() const
void SetProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange &&value)
Attachment & AddLastModificationErrors(AttachmentError &&value)
Attachment & WithProposedSegmentChange(ProposedSegmentChange &&value)
Attachment & WithLastModificationErrors(Aws::Vector< AttachmentError > &&value)
Attachment & WithCoreNetworkId(const Aws::String &value)
const Aws::String & GetCoreNetworkArn() const
void SetState(AttachmentState &&value)
void SetEdgeLocation(const Aws::String &value)
const AttachmentType & GetAttachmentType() const
Attachment & WithAttachmentPolicyRuleNumber(int value)
bool OwnerAccountIdHasBeenSet() const
void SetSegmentName(Aws::String &&value)
Attachment & WithSegmentName(const char *value)
void SetResourceArn(const Aws::String &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