AWS SDK for C++  1.8.154
AWS SDK for C++
JobOperation.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlNode;
25 } // namespace Xml
26 } // namespace Utils
27 namespace S3Control
28 {
29 namespace Model
30 {
31 
42  {
43  public:
47 
48  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
49 
50 
55  inline const LambdaInvokeOperation& GetLambdaInvoke() const{ return m_lambdaInvoke; }
56 
61  inline bool LambdaInvokeHasBeenSet() const { return m_lambdaInvokeHasBeenSet; }
62 
67  inline void SetLambdaInvoke(const LambdaInvokeOperation& value) { m_lambdaInvokeHasBeenSet = true; m_lambdaInvoke = value; }
68 
73  inline void SetLambdaInvoke(LambdaInvokeOperation&& value) { m_lambdaInvokeHasBeenSet = true; m_lambdaInvoke = std::move(value); }
74 
79  inline JobOperation& WithLambdaInvoke(const LambdaInvokeOperation& value) { SetLambdaInvoke(value); return *this;}
80 
85  inline JobOperation& WithLambdaInvoke(LambdaInvokeOperation&& value) { SetLambdaInvoke(std::move(value)); return *this;}
86 
87 
92  inline const S3CopyObjectOperation& GetS3PutObjectCopy() const{ return m_s3PutObjectCopy; }
93 
98  inline bool S3PutObjectCopyHasBeenSet() const { return m_s3PutObjectCopyHasBeenSet; }
99 
104  inline void SetS3PutObjectCopy(const S3CopyObjectOperation& value) { m_s3PutObjectCopyHasBeenSet = true; m_s3PutObjectCopy = value; }
105 
110  inline void SetS3PutObjectCopy(S3CopyObjectOperation&& value) { m_s3PutObjectCopyHasBeenSet = true; m_s3PutObjectCopy = std::move(value); }
111 
116  inline JobOperation& WithS3PutObjectCopy(const S3CopyObjectOperation& value) { SetS3PutObjectCopy(value); return *this;}
117 
122  inline JobOperation& WithS3PutObjectCopy(S3CopyObjectOperation&& value) { SetS3PutObjectCopy(std::move(value)); return *this;}
123 
124 
129  inline const S3SetObjectAclOperation& GetS3PutObjectAcl() const{ return m_s3PutObjectAcl; }
130 
135  inline bool S3PutObjectAclHasBeenSet() const { return m_s3PutObjectAclHasBeenSet; }
136 
141  inline void SetS3PutObjectAcl(const S3SetObjectAclOperation& value) { m_s3PutObjectAclHasBeenSet = true; m_s3PutObjectAcl = value; }
142 
147  inline void SetS3PutObjectAcl(S3SetObjectAclOperation&& value) { m_s3PutObjectAclHasBeenSet = true; m_s3PutObjectAcl = std::move(value); }
148 
153  inline JobOperation& WithS3PutObjectAcl(const S3SetObjectAclOperation& value) { SetS3PutObjectAcl(value); return *this;}
154 
159  inline JobOperation& WithS3PutObjectAcl(S3SetObjectAclOperation&& value) { SetS3PutObjectAcl(std::move(value)); return *this;}
160 
161 
166  inline const S3SetObjectTaggingOperation& GetS3PutObjectTagging() const{ return m_s3PutObjectTagging; }
167 
172  inline bool S3PutObjectTaggingHasBeenSet() const { return m_s3PutObjectTaggingHasBeenSet; }
173 
178  inline void SetS3PutObjectTagging(const S3SetObjectTaggingOperation& value) { m_s3PutObjectTaggingHasBeenSet = true; m_s3PutObjectTagging = value; }
179 
184  inline void SetS3PutObjectTagging(S3SetObjectTaggingOperation&& value) { m_s3PutObjectTaggingHasBeenSet = true; m_s3PutObjectTagging = std::move(value); }
185 
190  inline JobOperation& WithS3PutObjectTagging(const S3SetObjectTaggingOperation& value) { SetS3PutObjectTagging(value); return *this;}
191 
196  inline JobOperation& WithS3PutObjectTagging(S3SetObjectTaggingOperation&& value) { SetS3PutObjectTagging(std::move(value)); return *this;}
197 
198 
203  inline const S3DeleteObjectTaggingOperation& GetS3DeleteObjectTagging() const{ return m_s3DeleteObjectTagging; }
204 
209  inline bool S3DeleteObjectTaggingHasBeenSet() const { return m_s3DeleteObjectTaggingHasBeenSet; }
210 
215  inline void SetS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation& value) { m_s3DeleteObjectTaggingHasBeenSet = true; m_s3DeleteObjectTagging = value; }
216 
221  inline void SetS3DeleteObjectTagging(S3DeleteObjectTaggingOperation&& value) { m_s3DeleteObjectTaggingHasBeenSet = true; m_s3DeleteObjectTagging = std::move(value); }
222 
227  inline JobOperation& WithS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation& value) { SetS3DeleteObjectTagging(value); return *this;}
228 
233  inline JobOperation& WithS3DeleteObjectTagging(S3DeleteObjectTaggingOperation&& value) { SetS3DeleteObjectTagging(std::move(value)); return *this;}
234 
235 
240  inline const S3InitiateRestoreObjectOperation& GetS3InitiateRestoreObject() const{ return m_s3InitiateRestoreObject; }
241 
246  inline bool S3InitiateRestoreObjectHasBeenSet() const { return m_s3InitiateRestoreObjectHasBeenSet; }
247 
252  inline void SetS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation& value) { m_s3InitiateRestoreObjectHasBeenSet = true; m_s3InitiateRestoreObject = value; }
253 
258  inline void SetS3InitiateRestoreObject(S3InitiateRestoreObjectOperation&& value) { m_s3InitiateRestoreObjectHasBeenSet = true; m_s3InitiateRestoreObject = std::move(value); }
259 
264  inline JobOperation& WithS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation& value) { SetS3InitiateRestoreObject(value); return *this;}
265 
270  inline JobOperation& WithS3InitiateRestoreObject(S3InitiateRestoreObjectOperation&& value) { SetS3InitiateRestoreObject(std::move(value)); return *this;}
271 
272 
273 
274  inline const S3SetObjectLegalHoldOperation& GetS3PutObjectLegalHold() const{ return m_s3PutObjectLegalHold; }
275 
276 
277  inline bool S3PutObjectLegalHoldHasBeenSet() const { return m_s3PutObjectLegalHoldHasBeenSet; }
278 
279 
280  inline void SetS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation& value) { m_s3PutObjectLegalHoldHasBeenSet = true; m_s3PutObjectLegalHold = value; }
281 
282 
283  inline void SetS3PutObjectLegalHold(S3SetObjectLegalHoldOperation&& value) { m_s3PutObjectLegalHoldHasBeenSet = true; m_s3PutObjectLegalHold = std::move(value); }
284 
285 
286  inline JobOperation& WithS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation& value) { SetS3PutObjectLegalHold(value); return *this;}
287 
288 
289  inline JobOperation& WithS3PutObjectLegalHold(S3SetObjectLegalHoldOperation&& value) { SetS3PutObjectLegalHold(std::move(value)); return *this;}
290 
291 
292 
293  inline const S3SetObjectRetentionOperation& GetS3PutObjectRetention() const{ return m_s3PutObjectRetention; }
294 
295 
296  inline bool S3PutObjectRetentionHasBeenSet() const { return m_s3PutObjectRetentionHasBeenSet; }
297 
298 
299  inline void SetS3PutObjectRetention(const S3SetObjectRetentionOperation& value) { m_s3PutObjectRetentionHasBeenSet = true; m_s3PutObjectRetention = value; }
300 
301 
302  inline void SetS3PutObjectRetention(S3SetObjectRetentionOperation&& value) { m_s3PutObjectRetentionHasBeenSet = true; m_s3PutObjectRetention = std::move(value); }
303 
304 
305  inline JobOperation& WithS3PutObjectRetention(const S3SetObjectRetentionOperation& value) { SetS3PutObjectRetention(value); return *this;}
306 
307 
308  inline JobOperation& WithS3PutObjectRetention(S3SetObjectRetentionOperation&& value) { SetS3PutObjectRetention(std::move(value)); return *this;}
309 
310  private:
311 
312  LambdaInvokeOperation m_lambdaInvoke;
313  bool m_lambdaInvokeHasBeenSet;
314 
315  S3CopyObjectOperation m_s3PutObjectCopy;
316  bool m_s3PutObjectCopyHasBeenSet;
317 
318  S3SetObjectAclOperation m_s3PutObjectAcl;
319  bool m_s3PutObjectAclHasBeenSet;
320 
321  S3SetObjectTaggingOperation m_s3PutObjectTagging;
322  bool m_s3PutObjectTaggingHasBeenSet;
323 
324  S3DeleteObjectTaggingOperation m_s3DeleteObjectTagging;
325  bool m_s3DeleteObjectTaggingHasBeenSet;
326 
327  S3InitiateRestoreObjectOperation m_s3InitiateRestoreObject;
328  bool m_s3InitiateRestoreObjectHasBeenSet;
329 
330  S3SetObjectLegalHoldOperation m_s3PutObjectLegalHold;
331  bool m_s3PutObjectLegalHoldHasBeenSet;
332 
333  S3SetObjectRetentionOperation m_s3PutObjectRetention;
334  bool m_s3PutObjectRetentionHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace S3Control
339 } // namespace Aws
Aws::S3Control::Model::JobOperation::GetS3PutObjectCopy
const S3CopyObjectOperation & GetS3PutObjectCopy() const
Definition: JobOperation.h:92
Aws::S3Control::Model::JobOperation::SetS3PutObjectCopy
void SetS3PutObjectCopy(const S3CopyObjectOperation &value)
Definition: JobOperation.h:104
Aws::S3Control::Model::JobOperation::WithS3InitiateRestoreObject
JobOperation & WithS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation &value)
Definition: JobOperation.h:264
Aws::S3Control::Model::JobOperation::WithS3PutObjectTagging
JobOperation & WithS3PutObjectTagging(S3SetObjectTaggingOperation &&value)
Definition: JobOperation.h:196
Aws::S3Control::Model::JobOperation::WithS3PutObjectRetention
JobOperation & WithS3PutObjectRetention(const S3SetObjectRetentionOperation &value)
Definition: JobOperation.h:305
Aws::S3Control::Model::JobOperation::SetS3DeleteObjectTagging
void SetS3DeleteObjectTagging(S3DeleteObjectTaggingOperation &&value)
Definition: JobOperation.h:221
Aws::S3Control::Model::JobOperation::GetS3InitiateRestoreObject
const S3InitiateRestoreObjectOperation & GetS3InitiateRestoreObject() const
Definition: JobOperation.h:240
Aws::S3Control::Model::S3InitiateRestoreObjectOperation
Definition: S3InitiateRestoreObjectOperation.h:35
Aws::S3Control::Model::JobOperation::JobOperation
JobOperation()
Aws::S3Control::Model::JobOperation::WithS3PutObjectAcl
JobOperation & WithS3PutObjectAcl(const S3SetObjectAclOperation &value)
Definition: JobOperation.h:153
Aws::S3Control::Model::JobOperation::SetS3PutObjectCopy
void SetS3PutObjectCopy(S3CopyObjectOperation &&value)
Definition: JobOperation.h:110
S3SetObjectTaggingOperation.h
Aws::S3Control::Model::JobOperation::SetS3PutObjectTagging
void SetS3PutObjectTagging(const S3SetObjectTaggingOperation &value)
Definition: JobOperation.h:178
Aws::S3Control::Model::JobOperation::WithS3PutObjectLegalHold
JobOperation & WithS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation &value)
Definition: JobOperation.h:286
Aws::S3Control::Model::JobOperation::WithS3DeleteObjectTagging
JobOperation & WithS3DeleteObjectTagging(S3DeleteObjectTaggingOperation &&value)
Definition: JobOperation.h:233
LambdaInvokeOperation.h
Aws::S3Control::Model::JobOperation::WithS3PutObjectCopy
JobOperation & WithS3PutObjectCopy(S3CopyObjectOperation &&value)
Definition: JobOperation.h:122
Aws::S3Control::Model::JobOperation::SetS3InitiateRestoreObject
void SetS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation &value)
Definition: JobOperation.h:252
Aws::S3Control::Model::JobOperation::WithS3DeleteObjectTagging
JobOperation & WithS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation &value)
Definition: JobOperation.h:227
Aws::S3Control::Model::JobOperation::WithS3PutObjectRetention
JobOperation & WithS3PutObjectRetention(S3SetObjectRetentionOperation &&value)
Definition: JobOperation.h:308
Aws::S3Control::Model::JobOperation::WithLambdaInvoke
JobOperation & WithLambdaInvoke(const LambdaInvokeOperation &value)
Definition: JobOperation.h:79
Aws::S3Control::Model::JobOperation::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::JobOperation
Definition: JobOperation.h:42
S3Control_EXPORTS.h
Aws::S3Control::Model::JobOperation::GetLambdaInvoke
const LambdaInvokeOperation & GetLambdaInvoke() const
Definition: JobOperation.h:55
Aws::S3Control::Model::JobOperation::GetS3DeleteObjectTagging
const S3DeleteObjectTaggingOperation & GetS3DeleteObjectTagging() const
Definition: JobOperation.h:203
Aws::S3Control::Model::S3DeleteObjectTaggingOperation
Definition: S3DeleteObjectTaggingOperation.h:31
Aws::S3Control::Model::JobOperation::GetS3PutObjectRetention
const S3SetObjectRetentionOperation & GetS3PutObjectRetention() const
Definition: JobOperation.h:293
Aws::S3Control::Model::JobOperation::SetS3DeleteObjectTagging
void SetS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation &value)
Definition: JobOperation.h:215
Aws::S3Control::Model::JobOperation::WithLambdaInvoke
JobOperation & WithLambdaInvoke(LambdaInvokeOperation &&value)
Definition: JobOperation.h:85
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::JobOperation::LambdaInvokeHasBeenSet
bool LambdaInvokeHasBeenSet() const
Definition: JobOperation.h:61
Aws::S3Control::Model::JobOperation::JobOperation
JobOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::JobOperation::S3InitiateRestoreObjectHasBeenSet
bool S3InitiateRestoreObjectHasBeenSet() const
Definition: JobOperation.h:246
Aws::S3Control::Model::JobOperation::WithS3PutObjectLegalHold
JobOperation & WithS3PutObjectLegalHold(S3SetObjectLegalHoldOperation &&value)
Definition: JobOperation.h:289
Aws::S3Control::Model::JobOperation::S3DeleteObjectTaggingHasBeenSet
bool S3DeleteObjectTaggingHasBeenSet() const
Definition: JobOperation.h:209
Aws::S3Control::Model::JobOperation::WithS3InitiateRestoreObject
JobOperation & WithS3InitiateRestoreObject(S3InitiateRestoreObjectOperation &&value)
Definition: JobOperation.h:270
Aws::S3Control::Model::JobOperation::SetS3PutObjectLegalHold
void SetS3PutObjectLegalHold(S3SetObjectLegalHoldOperation &&value)
Definition: JobOperation.h:283
Aws::S3Control::Model::JobOperation::GetS3PutObjectTagging
const S3SetObjectTaggingOperation & GetS3PutObjectTagging() const
Definition: JobOperation.h:166
S3SetObjectRetentionOperation.h
S3DeleteObjectTaggingOperation.h
Aws::S3Control::Model::JobOperation::GetS3PutObjectLegalHold
const S3SetObjectLegalHoldOperation & GetS3PutObjectLegalHold() const
Definition: JobOperation.h:274
Aws::S3Control::Model::JobOperation::SetS3PutObjectAcl
void SetS3PutObjectAcl(const S3SetObjectAclOperation &value)
Definition: JobOperation.h:141
Aws::S3Control::Model::JobOperation::S3PutObjectTaggingHasBeenSet
bool S3PutObjectTaggingHasBeenSet() const
Definition: JobOperation.h:172
Aws::S3Control::Model::JobOperation::WithS3PutObjectAcl
JobOperation & WithS3PutObjectAcl(S3SetObjectAclOperation &&value)
Definition: JobOperation.h:159
Aws::S3Control::Model::JobOperation::SetS3PutObjectTagging
void SetS3PutObjectTagging(S3SetObjectTaggingOperation &&value)
Definition: JobOperation.h:184
Aws::S3Control::Model::S3SetObjectRetentionOperation
Definition: S3SetObjectRetentionOperation.h:36
Aws::S3Control::Model::JobOperation::SetS3InitiateRestoreObject
void SetS3InitiateRestoreObject(S3InitiateRestoreObjectOperation &&value)
Definition: JobOperation.h:258
Aws::S3Control::Model::JobOperation::S3PutObjectCopyHasBeenSet
bool S3PutObjectCopyHasBeenSet() const
Definition: JobOperation.h:98
Aws::S3Control::Model::JobOperation::S3PutObjectAclHasBeenSet
bool S3PutObjectAclHasBeenSet() const
Definition: JobOperation.h:135
Aws::S3Control::Model::JobOperation::SetLambdaInvoke
void SetLambdaInvoke(const LambdaInvokeOperation &value)
Definition: JobOperation.h:67
Aws::S3Control::Model::JobOperation::SetS3PutObjectRetention
void SetS3PutObjectRetention(S3SetObjectRetentionOperation &&value)
Definition: JobOperation.h:302
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::JobOperation::S3PutObjectRetentionHasBeenSet
bool S3PutObjectRetentionHasBeenSet() const
Definition: JobOperation.h:296
Aws::S3Control::Model::JobOperation::S3PutObjectLegalHoldHasBeenSet
bool S3PutObjectLegalHoldHasBeenSet() const
Definition: JobOperation.h:277
Aws::S3Control::Model::JobOperation::WithS3PutObjectCopy
JobOperation & WithS3PutObjectCopy(const S3CopyObjectOperation &value)
Definition: JobOperation.h:116
Aws::S3Control::Model::S3CopyObjectOperation
Definition: S3CopyObjectOperation.h:45
Aws::S3Control::Model::JobOperation::WithS3PutObjectTagging
JobOperation & WithS3PutObjectTagging(const S3SetObjectTaggingOperation &value)
Definition: JobOperation.h:190
S3SetObjectAclOperation.h
Aws::S3Control::Model::JobOperation::SetS3PutObjectRetention
void SetS3PutObjectRetention(const S3SetObjectRetentionOperation &value)
Definition: JobOperation.h:299
Aws::S3Control::Model::JobOperation::SetS3PutObjectAcl
void SetS3PutObjectAcl(S3SetObjectAclOperation &&value)
Definition: JobOperation.h:147
Aws::S3Control::Model::JobOperation::SetS3PutObjectLegalHold
void SetS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation &value)
Definition: JobOperation.h:280
S3CopyObjectOperation.h
Aws::S3Control::Model::JobOperation::SetLambdaInvoke
void SetLambdaInvoke(LambdaInvokeOperation &&value)
Definition: JobOperation.h:73
Aws::S3Control::Model::JobOperation::operator=
JobOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::S3SetObjectTaggingOperation
Definition: S3SetObjectTaggingOperation.h:36
S3InitiateRestoreObjectOperation.h
Aws::S3Control::Model::LambdaInvokeOperation
Definition: LambdaInvokeOperation.h:32
Aws::S3Control::Model::JobOperation::GetS3PutObjectAcl
const S3SetObjectAclOperation & GetS3PutObjectAcl() const
Definition: JobOperation.h:129
Aws::S3Control::Model::S3SetObjectAclOperation
Definition: S3SetObjectAclOperation.h:35