7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/Tag.h>
21namespace NetworkManager {
43 template <
typename TagsT = Aws::Vector<Tag>>
45 m_tagsHasBeenSet =
true;
46 m_tags = std::forward<TagsT>(value);
48 template <
typename TagsT = Aws::Vector<Tag>>
50 SetTags(std::forward<TagsT>(value));
53 template <
typename TagsT = Tag>
55 m_tagsHasBeenSet =
true;
56 m_tags.emplace_back(std::forward<TagsT>(value));
68 m_attachmentPolicyRuleNumberHasBeenSet =
true;
69 m_attachmentPolicyRuleNumber = value;
83 template <
typename SegmentNameT = Aws::String>
85 m_segmentNameHasBeenSet =
true;
86 m_segmentName = std::forward<SegmentNameT>(value);
88 template <
typename SegmentNameT = Aws::String>
97 int m_attachmentPolicyRuleNumber{0};
100 bool m_tagsHasBeenSet =
false;
101 bool m_attachmentPolicyRuleNumberHasBeenSet =
false;
102 bool m_segmentNameHasBeenSet =
false;
bool SegmentNameHasBeenSet() const
void SetTags(TagsT &&value)
AWS_NETWORKMANAGER_API ProposedSegmentChange(Aws::Utils::Json::JsonView jsonValue)
void SetAttachmentPolicyRuleNumber(int value)
AWS_NETWORKMANAGER_API ProposedSegmentChange & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttachmentPolicyRuleNumberHasBeenSet() const
int GetAttachmentPolicyRuleNumber() const
const Aws::Vector< Tag > & GetTags() const
ProposedSegmentChange & WithSegmentName(SegmentNameT &&value)
ProposedSegmentChange & AddTags(TagsT &&value)
void SetSegmentName(SegmentNameT &&value)
bool TagsHasBeenSet() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSegmentName() const
AWS_NETWORKMANAGER_API ProposedSegmentChange()=default
ProposedSegmentChange & WithAttachmentPolicyRuleNumber(int value)
ProposedSegmentChange & WithTags(TagsT &&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