AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Attachment.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace NetworkManager
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_NETWORKMANAGER_API Attachment();
43 AWS_NETWORKMANAGER_API Attachment(Aws::Utils::Json::JsonView jsonValue);
44 AWS_NETWORKMANAGER_API Attachment& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetCoreNetworkId() const{ return m_coreNetworkId; }
53 inline bool CoreNetworkIdHasBeenSet() const { return m_coreNetworkIdHasBeenSet; }
54 inline void SetCoreNetworkId(const Aws::String& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = value; }
55 inline void SetCoreNetworkId(Aws::String&& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = std::move(value); }
56 inline void SetCoreNetworkId(const char* value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId.assign(value); }
57 inline Attachment& WithCoreNetworkId(const Aws::String& value) { SetCoreNetworkId(value); return *this;}
58 inline Attachment& WithCoreNetworkId(Aws::String&& value) { SetCoreNetworkId(std::move(value)); return *this;}
59 inline Attachment& WithCoreNetworkId(const char* value) { SetCoreNetworkId(value); return *this;}
61
63
66 inline const Aws::String& GetCoreNetworkArn() const{ return m_coreNetworkArn; }
67 inline bool CoreNetworkArnHasBeenSet() const { return m_coreNetworkArnHasBeenSet; }
68 inline void SetCoreNetworkArn(const Aws::String& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = value; }
69 inline void SetCoreNetworkArn(Aws::String&& value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn = std::move(value); }
70 inline void SetCoreNetworkArn(const char* value) { m_coreNetworkArnHasBeenSet = true; m_coreNetworkArn.assign(value); }
71 inline Attachment& WithCoreNetworkArn(const Aws::String& value) { SetCoreNetworkArn(value); return *this;}
72 inline Attachment& WithCoreNetworkArn(Aws::String&& value) { SetCoreNetworkArn(std::move(value)); return *this;}
73 inline Attachment& WithCoreNetworkArn(const char* value) { SetCoreNetworkArn(value); return *this;}
75
77
80 inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; }
81 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
82 inline void SetAttachmentId(const Aws::String& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = value; }
83 inline void SetAttachmentId(Aws::String&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::move(value); }
84 inline void SetAttachmentId(const char* value) { m_attachmentIdHasBeenSet = true; m_attachmentId.assign(value); }
85 inline Attachment& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;}
86 inline Attachment& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;}
87 inline Attachment& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;}
89
91
94 inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
95 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
96 inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; }
97 inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); }
98 inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); }
99 inline Attachment& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
100 inline Attachment& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
101 inline Attachment& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
103
105
108 inline const AttachmentType& GetAttachmentType() const{ return m_attachmentType; }
109 inline bool AttachmentTypeHasBeenSet() const { return m_attachmentTypeHasBeenSet; }
110 inline void SetAttachmentType(const AttachmentType& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = value; }
111 inline void SetAttachmentType(AttachmentType&& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = std::move(value); }
112 inline Attachment& WithAttachmentType(const AttachmentType& value) { SetAttachmentType(value); return *this;}
113 inline Attachment& WithAttachmentType(AttachmentType&& value) { SetAttachmentType(std::move(value)); return *this;}
115
117
120 inline const AttachmentState& GetState() const{ return m_state; }
121 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
122 inline void SetState(const AttachmentState& value) { m_stateHasBeenSet = true; m_state = value; }
123 inline void SetState(AttachmentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
124 inline Attachment& WithState(const AttachmentState& value) { SetState(value); return *this;}
125 inline Attachment& WithState(AttachmentState&& value) { SetState(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetEdgeLocation() const{ return m_edgeLocation; }
133 inline bool EdgeLocationHasBeenSet() const { return m_edgeLocationHasBeenSet; }
134 inline void SetEdgeLocation(const Aws::String& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = value; }
135 inline void SetEdgeLocation(Aws::String&& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = std::move(value); }
136 inline void SetEdgeLocation(const char* value) { m_edgeLocationHasBeenSet = true; m_edgeLocation.assign(value); }
137 inline Attachment& WithEdgeLocation(const Aws::String& value) { SetEdgeLocation(value); return *this;}
138 inline Attachment& WithEdgeLocation(Aws::String&& value) { SetEdgeLocation(std::move(value)); return *this;}
139 inline Attachment& WithEdgeLocation(const char* value) { SetEdgeLocation(value); return *this;}
141
143
146 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
147 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
148 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
149 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
150 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
151 inline Attachment& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
152 inline Attachment& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
153 inline Attachment& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
155
157
160 inline int GetAttachmentPolicyRuleNumber() const{ return m_attachmentPolicyRuleNumber; }
161 inline bool AttachmentPolicyRuleNumberHasBeenSet() const { return m_attachmentPolicyRuleNumberHasBeenSet; }
162 inline void SetAttachmentPolicyRuleNumber(int value) { m_attachmentPolicyRuleNumberHasBeenSet = true; m_attachmentPolicyRuleNumber = value; }
165
167
170 inline const Aws::String& GetSegmentName() const{ return m_segmentName; }
171 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
172 inline void SetSegmentName(const Aws::String& value) { m_segmentNameHasBeenSet = true; m_segmentName = value; }
173 inline void SetSegmentName(Aws::String&& value) { m_segmentNameHasBeenSet = true; m_segmentName = std::move(value); }
174 inline void SetSegmentName(const char* value) { m_segmentNameHasBeenSet = true; m_segmentName.assign(value); }
175 inline Attachment& WithSegmentName(const Aws::String& value) { SetSegmentName(value); return *this;}
176 inline Attachment& WithSegmentName(Aws::String&& value) { SetSegmentName(std::move(value)); return *this;}
177 inline Attachment& WithSegmentName(const char* value) { SetSegmentName(value); return *this;}
179
181
184 inline const Aws::String& GetNetworkFunctionGroupName() const{ return m_networkFunctionGroupName; }
185 inline bool NetworkFunctionGroupNameHasBeenSet() const { return m_networkFunctionGroupNameHasBeenSet; }
186 inline void SetNetworkFunctionGroupName(const Aws::String& value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName = value; }
187 inline void SetNetworkFunctionGroupName(Aws::String&& value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName = std::move(value); }
188 inline void SetNetworkFunctionGroupName(const char* value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName.assign(value); }
190 inline Attachment& WithNetworkFunctionGroupName(Aws::String&& value) { SetNetworkFunctionGroupName(std::move(value)); return *this;}
191 inline Attachment& WithNetworkFunctionGroupName(const char* value) { SetNetworkFunctionGroupName(value); return *this;}
193
195
198 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
199 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
200 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
201 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
202 inline Attachment& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
203 inline Attachment& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
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; }
207
209
212 inline const ProposedSegmentChange& GetProposedSegmentChange() const{ return m_proposedSegmentChange; }
213 inline bool ProposedSegmentChangeHasBeenSet() const { return m_proposedSegmentChangeHasBeenSet; }
214 inline void SetProposedSegmentChange(const ProposedSegmentChange& value) { m_proposedSegmentChangeHasBeenSet = true; m_proposedSegmentChange = value; }
215 inline void SetProposedSegmentChange(ProposedSegmentChange&& value) { m_proposedSegmentChangeHasBeenSet = true; m_proposedSegmentChange = std::move(value); }
217 inline Attachment& WithProposedSegmentChange(ProposedSegmentChange&& value) { SetProposedSegmentChange(std::move(value)); return *this;}
219
221
225 inline const ProposedNetworkFunctionGroupChange& GetProposedNetworkFunctionGroupChange() const{ return m_proposedNetworkFunctionGroupChange; }
226 inline bool ProposedNetworkFunctionGroupChangeHasBeenSet() const { return m_proposedNetworkFunctionGroupChangeHasBeenSet; }
227 inline void SetProposedNetworkFunctionGroupChange(const ProposedNetworkFunctionGroupChange& value) { m_proposedNetworkFunctionGroupChangeHasBeenSet = true; m_proposedNetworkFunctionGroupChange = value; }
228 inline void SetProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange&& value) { m_proposedNetworkFunctionGroupChangeHasBeenSet = true; m_proposedNetworkFunctionGroupChange = std::move(value); }
232
234
237 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
238 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
239 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
240 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
241 inline Attachment& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
242 inline Attachment& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
244
246
249 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
250 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
251 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
252 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
253 inline Attachment& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
254 inline Attachment& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
256
258
261 inline const Aws::Vector<AttachmentError>& GetLastModificationErrors() const{ return m_lastModificationErrors; }
262 inline bool LastModificationErrorsHasBeenSet() const { return m_lastModificationErrorsHasBeenSet; }
263 inline void SetLastModificationErrors(const Aws::Vector<AttachmentError>& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = value; }
264 inline void SetLastModificationErrors(Aws::Vector<AttachmentError>&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = std::move(value); }
267 inline Attachment& AddLastModificationErrors(const AttachmentError& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(value); return *this; }
268 inline Attachment& AddLastModificationErrors(AttachmentError&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(std::move(value)); return *this; }
270 private:
271
272 Aws::String m_coreNetworkId;
273 bool m_coreNetworkIdHasBeenSet = false;
274
275 Aws::String m_coreNetworkArn;
276 bool m_coreNetworkArnHasBeenSet = false;
277
278 Aws::String m_attachmentId;
279 bool m_attachmentIdHasBeenSet = false;
280
281 Aws::String m_ownerAccountId;
282 bool m_ownerAccountIdHasBeenSet = false;
283
284 AttachmentType m_attachmentType;
285 bool m_attachmentTypeHasBeenSet = false;
286
287 AttachmentState m_state;
288 bool m_stateHasBeenSet = false;
289
290 Aws::String m_edgeLocation;
291 bool m_edgeLocationHasBeenSet = false;
292
293 Aws::String m_resourceArn;
294 bool m_resourceArnHasBeenSet = false;
295
296 int m_attachmentPolicyRuleNumber;
297 bool m_attachmentPolicyRuleNumberHasBeenSet = false;
298
299 Aws::String m_segmentName;
300 bool m_segmentNameHasBeenSet = false;
301
302 Aws::String m_networkFunctionGroupName;
303 bool m_networkFunctionGroupNameHasBeenSet = false;
304
305 Aws::Vector<Tag> m_tags;
306 bool m_tagsHasBeenSet = false;
307
308 ProposedSegmentChange m_proposedSegmentChange;
309 bool m_proposedSegmentChangeHasBeenSet = false;
310
311 ProposedNetworkFunctionGroupChange m_proposedNetworkFunctionGroupChange;
312 bool m_proposedNetworkFunctionGroupChangeHasBeenSet = false;
313
314 Aws::Utils::DateTime m_createdAt;
315 bool m_createdAtHasBeenSet = false;
316
317 Aws::Utils::DateTime m_updatedAt;
318 bool m_updatedAtHasBeenSet = false;
319
320 Aws::Vector<AttachmentError> m_lastModificationErrors;
321 bool m_lastModificationErrorsHasBeenSet = false;
322 };
323
324} // namespace Model
325} // namespace NetworkManager
326} // namespace Aws
Attachment & WithSegmentName(const Aws::String &value)
Definition Attachment.h:175
void SetAttachmentId(Aws::String &&value)
Definition Attachment.h:83
Attachment & WithLastModificationErrors(const Aws::Vector< AttachmentError > &value)
Definition Attachment.h:265
void SetOwnerAccountId(const char *value)
Definition Attachment.h:98
Attachment & WithCoreNetworkArn(Aws::String &&value)
Definition Attachment.h:72
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Attachment.h:239
Attachment & WithSegmentName(Aws::String &&value)
Definition Attachment.h:176
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Attachment & WithEdgeLocation(Aws::String &&value)
Definition Attachment.h:138
void SetOwnerAccountId(const Aws::String &value)
Definition Attachment.h:96
Attachment & WithCoreNetworkId(Aws::String &&value)
Definition Attachment.h:58
void SetNetworkFunctionGroupName(const Aws::String &value)
Definition Attachment.h:186
Attachment & WithCoreNetworkArn(const Aws::String &value)
Definition Attachment.h:71
Attachment & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Attachment.h:253
const Aws::String & GetAttachmentId() const
Definition Attachment.h:80
const ProposedSegmentChange & GetProposedSegmentChange() const
Definition Attachment.h:212
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Attachment.h:249
Attachment & WithNetworkFunctionGroupName(const char *value)
Definition Attachment.h:191
Attachment & WithProposedNetworkFunctionGroupChange(const ProposedNetworkFunctionGroupChange &value)
Definition Attachment.h:229
void SetNetworkFunctionGroupName(const char *value)
Definition Attachment.h:188
void SetCoreNetworkArn(const char *value)
Definition Attachment.h:70
void SetCoreNetworkArn(Aws::String &&value)
Definition Attachment.h:69
Attachment & WithAttachmentId(const char *value)
Definition Attachment.h:87
void SetSegmentName(const Aws::String &value)
Definition Attachment.h:172
void SetCoreNetworkId(const char *value)
Definition Attachment.h:56
Attachment & WithAttachmentType(const AttachmentType &value)
Definition Attachment.h:112
Attachment & WithCoreNetworkArn(const char *value)
Definition Attachment.h:73
void SetCoreNetworkArn(const Aws::String &value)
Definition Attachment.h:68
Attachment & WithTags(Aws::Vector< Tag > &&value)
Definition Attachment.h:203
void SetProposedSegmentChange(const ProposedSegmentChange &value)
Definition Attachment.h:214
Attachment & WithEdgeLocation(const char *value)
Definition Attachment.h:139
void SetAttachmentType(AttachmentType &&value)
Definition Attachment.h:111
void SetAttachmentId(const Aws::String &value)
Definition Attachment.h:82
void SetResourceArn(Aws::String &&value)
Definition Attachment.h:149
void SetTags(Aws::Vector< Tag > &&value)
Definition Attachment.h:201
void SetProposedNetworkFunctionGroupChange(const ProposedNetworkFunctionGroupChange &value)
Definition Attachment.h:227
Attachment & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Attachment.h:241
Attachment & WithCoreNetworkId(const char *value)
Definition Attachment.h:59
Attachment & WithEdgeLocation(const Aws::String &value)
Definition Attachment.h:137
void SetCoreNetworkId(const Aws::String &value)
Definition Attachment.h:54
const Aws::String & GetCoreNetworkId() const
Definition Attachment.h:52
const Aws::String & GetEdgeLocation() const
Definition Attachment.h:132
Attachment & AddLastModificationErrors(const AttachmentError &value)
Definition Attachment.h:267
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Attachment.h:237
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Attachment.h:251
void SetResourceArn(const char *value)
Definition Attachment.h:150
Attachment & WithOwnerAccountId(const Aws::String &value)
Definition Attachment.h:99
Attachment & WithState(const AttachmentState &value)
Definition Attachment.h:124
Attachment & WithResourceArn(Aws::String &&value)
Definition Attachment.h:152
void SetSegmentName(const char *value)
Definition Attachment.h:174
Attachment & WithProposedSegmentChange(const ProposedSegmentChange &value)
Definition Attachment.h:216
void SetProposedSegmentChange(ProposedSegmentChange &&value)
Definition Attachment.h:215
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Attachment.h:240
Attachment & WithAttachmentId(Aws::String &&value)
Definition Attachment.h:86
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Attachment.h:252
const ProposedNetworkFunctionGroupChange & GetProposedNetworkFunctionGroupChange() const
Definition Attachment.h:225
Attachment & WithResourceArn(const char *value)
Definition Attachment.h:153
Attachment & WithNetworkFunctionGroupName(const Aws::String &value)
Definition Attachment.h:189
Attachment & WithOwnerAccountId(const char *value)
Definition Attachment.h:101
const Aws::Vector< AttachmentError > & GetLastModificationErrors() const
Definition Attachment.h:261
void SetState(const AttachmentState &value)
Definition Attachment.h:122
void SetCoreNetworkId(Aws::String &&value)
Definition Attachment.h:55
Attachment & WithProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange &&value)
Definition Attachment.h:230
void SetNetworkFunctionGroupName(Aws::String &&value)
Definition Attachment.h:187
bool ProposedNetworkFunctionGroupChangeHasBeenSet() const
Definition Attachment.h:226
Attachment & WithNetworkFunctionGroupName(Aws::String &&value)
Definition Attachment.h:190
void SetLastModificationErrors(Aws::Vector< AttachmentError > &&value)
Definition Attachment.h:264
Attachment & WithTags(const Aws::Vector< Tag > &value)
Definition Attachment.h:202
Attachment & WithAttachmentType(AttachmentType &&value)
Definition Attachment.h:113
void SetTags(const Aws::Vector< Tag > &value)
Definition Attachment.h:200
const Aws::String & GetResourceArn() const
Definition Attachment.h:146
Attachment & AddTags(Tag &&value)
Definition Attachment.h:205
Attachment & AddTags(const Tag &value)
Definition Attachment.h:204
void SetOwnerAccountId(Aws::String &&value)
Definition Attachment.h:97
void SetAttachmentId(const char *value)
Definition Attachment.h:84
const Aws::String & GetOwnerAccountId() const
Definition Attachment.h:94
Attachment & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Attachment.h:242
Attachment & WithResourceArn(const Aws::String &value)
Definition Attachment.h:151
void SetAttachmentType(const AttachmentType &value)
Definition Attachment.h:110
void SetEdgeLocation(Aws::String &&value)
Definition Attachment.h:135
const Aws::String & GetNetworkFunctionGroupName() const
Definition Attachment.h:184
const AttachmentState & GetState() const
Definition Attachment.h:120
Attachment & WithOwnerAccountId(Aws::String &&value)
Definition Attachment.h:100
Attachment & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Attachment.h:254
void SetLastModificationErrors(const Aws::Vector< AttachmentError > &value)
Definition Attachment.h:263
Attachment & WithState(AttachmentState &&value)
Definition Attachment.h:125
AWS_NETWORKMANAGER_API Attachment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API Attachment()
AWS_NETWORKMANAGER_API Attachment(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
Definition Attachment.h:198
void SetEdgeLocation(const char *value)
Definition Attachment.h:136
Attachment & WithAttachmentId(const Aws::String &value)
Definition Attachment.h:85
const Aws::String & GetSegmentName() const
Definition Attachment.h:170
void SetProposedNetworkFunctionGroupChange(ProposedNetworkFunctionGroupChange &&value)
Definition Attachment.h:228
Attachment & AddLastModificationErrors(AttachmentError &&value)
Definition Attachment.h:268
Attachment & WithProposedSegmentChange(ProposedSegmentChange &&value)
Definition Attachment.h:217
Attachment & WithLastModificationErrors(Aws::Vector< AttachmentError > &&value)
Definition Attachment.h:266
Attachment & WithCoreNetworkId(const Aws::String &value)
Definition Attachment.h:57
const Aws::String & GetCoreNetworkArn() const
Definition Attachment.h:66
void SetState(AttachmentState &&value)
Definition Attachment.h:123
void SetEdgeLocation(const Aws::String &value)
Definition Attachment.h:134
const AttachmentType & GetAttachmentType() const
Definition Attachment.h:108
Attachment & WithAttachmentPolicyRuleNumber(int value)
Definition Attachment.h:163
void SetSegmentName(Aws::String &&value)
Definition Attachment.h:173
Attachment & WithSegmentName(const char *value)
Definition Attachment.h:177
void SetResourceArn(const Aws::String &value)
Definition Attachment.h:148
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue