AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobOperation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/LambdaInvokeOperation.h>
9#include <aws/s3control/model/S3CopyObjectOperation.h>
10#include <aws/s3control/model/S3SetObjectAclOperation.h>
11#include <aws/s3control/model/S3SetObjectTaggingOperation.h>
12#include <aws/s3control/model/S3DeleteObjectTaggingOperation.h>
13#include <aws/s3control/model/S3InitiateRestoreObjectOperation.h>
14#include <aws/s3control/model/S3SetObjectLegalHoldOperation.h>
15#include <aws/s3control/model/S3SetObjectRetentionOperation.h>
16#include <aws/s3control/model/S3ReplicateObjectOperation.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Xml
24{
25 class XmlNode;
26} // namespace Xml
27} // namespace Utils
28namespace S3Control
29{
30namespace Model
31{
32
42 {
43 public:
44 AWS_S3CONTROL_API JobOperation();
45 AWS_S3CONTROL_API JobOperation(const Aws::Utils::Xml::XmlNode& xmlNode);
46 AWS_S3CONTROL_API JobOperation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
49
50
52
56 inline const LambdaInvokeOperation& GetLambdaInvoke() const{ return m_lambdaInvoke; }
57 inline bool LambdaInvokeHasBeenSet() const { return m_lambdaInvokeHasBeenSet; }
58 inline void SetLambdaInvoke(const LambdaInvokeOperation& value) { m_lambdaInvokeHasBeenSet = true; m_lambdaInvoke = value; }
59 inline void SetLambdaInvoke(LambdaInvokeOperation&& value) { m_lambdaInvokeHasBeenSet = true; m_lambdaInvoke = std::move(value); }
60 inline JobOperation& WithLambdaInvoke(const LambdaInvokeOperation& value) { SetLambdaInvoke(value); return *this;}
61 inline JobOperation& WithLambdaInvoke(LambdaInvokeOperation&& value) { SetLambdaInvoke(std::move(value)); return *this;}
63
65
69 inline const S3CopyObjectOperation& GetS3PutObjectCopy() const{ return m_s3PutObjectCopy; }
70 inline bool S3PutObjectCopyHasBeenSet() const { return m_s3PutObjectCopyHasBeenSet; }
71 inline void SetS3PutObjectCopy(const S3CopyObjectOperation& value) { m_s3PutObjectCopyHasBeenSet = true; m_s3PutObjectCopy = value; }
72 inline void SetS3PutObjectCopy(S3CopyObjectOperation&& value) { m_s3PutObjectCopyHasBeenSet = true; m_s3PutObjectCopy = std::move(value); }
73 inline JobOperation& WithS3PutObjectCopy(const S3CopyObjectOperation& value) { SetS3PutObjectCopy(value); return *this;}
74 inline JobOperation& WithS3PutObjectCopy(S3CopyObjectOperation&& value) { SetS3PutObjectCopy(std::move(value)); return *this;}
76
78
83 inline const S3SetObjectAclOperation& GetS3PutObjectAcl() const{ return m_s3PutObjectAcl; }
84 inline bool S3PutObjectAclHasBeenSet() const { return m_s3PutObjectAclHasBeenSet; }
85 inline void SetS3PutObjectAcl(const S3SetObjectAclOperation& value) { m_s3PutObjectAclHasBeenSet = true; m_s3PutObjectAcl = value; }
86 inline void SetS3PutObjectAcl(S3SetObjectAclOperation&& value) { m_s3PutObjectAclHasBeenSet = true; m_s3PutObjectAcl = std::move(value); }
87 inline JobOperation& WithS3PutObjectAcl(const S3SetObjectAclOperation& value) { SetS3PutObjectAcl(value); return *this;}
88 inline JobOperation& WithS3PutObjectAcl(S3SetObjectAclOperation&& value) { SetS3PutObjectAcl(std::move(value)); return *this;}
90
92
97 inline const S3SetObjectTaggingOperation& GetS3PutObjectTagging() const{ return m_s3PutObjectTagging; }
98 inline bool S3PutObjectTaggingHasBeenSet() const { return m_s3PutObjectTaggingHasBeenSet; }
99 inline void SetS3PutObjectTagging(const S3SetObjectTaggingOperation& value) { m_s3PutObjectTaggingHasBeenSet = true; m_s3PutObjectTagging = value; }
100 inline void SetS3PutObjectTagging(S3SetObjectTaggingOperation&& value) { m_s3PutObjectTaggingHasBeenSet = true; m_s3PutObjectTagging = std::move(value); }
104
106
111 inline const S3DeleteObjectTaggingOperation& GetS3DeleteObjectTagging() const{ return m_s3DeleteObjectTagging; }
112 inline bool S3DeleteObjectTaggingHasBeenSet() const { return m_s3DeleteObjectTaggingHasBeenSet; }
113 inline void SetS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation& value) { m_s3DeleteObjectTaggingHasBeenSet = true; m_s3DeleteObjectTagging = value; }
114 inline void SetS3DeleteObjectTagging(S3DeleteObjectTaggingOperation&& value) { m_s3DeleteObjectTaggingHasBeenSet = true; m_s3DeleteObjectTagging = std::move(value); }
118
120
125 inline const S3InitiateRestoreObjectOperation& GetS3InitiateRestoreObject() const{ return m_s3InitiateRestoreObject; }
126 inline bool S3InitiateRestoreObjectHasBeenSet() const { return m_s3InitiateRestoreObjectHasBeenSet; }
127 inline void SetS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation& value) { m_s3InitiateRestoreObjectHasBeenSet = true; m_s3InitiateRestoreObject = value; }
128 inline void SetS3InitiateRestoreObject(S3InitiateRestoreObjectOperation&& value) { m_s3InitiateRestoreObjectHasBeenSet = true; m_s3InitiateRestoreObject = std::move(value); }
132
134
135 inline const S3SetObjectLegalHoldOperation& GetS3PutObjectLegalHold() const{ return m_s3PutObjectLegalHold; }
136 inline bool S3PutObjectLegalHoldHasBeenSet() const { return m_s3PutObjectLegalHoldHasBeenSet; }
137 inline void SetS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation& value) { m_s3PutObjectLegalHoldHasBeenSet = true; m_s3PutObjectLegalHold = value; }
138 inline void SetS3PutObjectLegalHold(S3SetObjectLegalHoldOperation&& value) { m_s3PutObjectLegalHoldHasBeenSet = true; m_s3PutObjectLegalHold = std::move(value); }
142
144
145 inline const S3SetObjectRetentionOperation& GetS3PutObjectRetention() const{ return m_s3PutObjectRetention; }
146 inline bool S3PutObjectRetentionHasBeenSet() const { return m_s3PutObjectRetentionHasBeenSet; }
147 inline void SetS3PutObjectRetention(const S3SetObjectRetentionOperation& value) { m_s3PutObjectRetentionHasBeenSet = true; m_s3PutObjectRetention = value; }
148 inline void SetS3PutObjectRetention(S3SetObjectRetentionOperation&& value) { m_s3PutObjectRetentionHasBeenSet = true; m_s3PutObjectRetention = std::move(value); }
152
154
159 inline const S3ReplicateObjectOperation& GetS3ReplicateObject() const{ return m_s3ReplicateObject; }
160 inline bool S3ReplicateObjectHasBeenSet() const { return m_s3ReplicateObjectHasBeenSet; }
161 inline void SetS3ReplicateObject(const S3ReplicateObjectOperation& value) { m_s3ReplicateObjectHasBeenSet = true; m_s3ReplicateObject = value; }
162 inline void SetS3ReplicateObject(S3ReplicateObjectOperation&& value) { m_s3ReplicateObjectHasBeenSet = true; m_s3ReplicateObject = std::move(value); }
164 inline JobOperation& WithS3ReplicateObject(S3ReplicateObjectOperation&& value) { SetS3ReplicateObject(std::move(value)); return *this;}
166 private:
167
168 LambdaInvokeOperation m_lambdaInvoke;
169 bool m_lambdaInvokeHasBeenSet = false;
170
171 S3CopyObjectOperation m_s3PutObjectCopy;
172 bool m_s3PutObjectCopyHasBeenSet = false;
173
174 S3SetObjectAclOperation m_s3PutObjectAcl;
175 bool m_s3PutObjectAclHasBeenSet = false;
176
177 S3SetObjectTaggingOperation m_s3PutObjectTagging;
178 bool m_s3PutObjectTaggingHasBeenSet = false;
179
180 S3DeleteObjectTaggingOperation m_s3DeleteObjectTagging;
181 bool m_s3DeleteObjectTaggingHasBeenSet = false;
182
183 S3InitiateRestoreObjectOperation m_s3InitiateRestoreObject;
184 bool m_s3InitiateRestoreObjectHasBeenSet = false;
185
186 S3SetObjectLegalHoldOperation m_s3PutObjectLegalHold;
187 bool m_s3PutObjectLegalHoldHasBeenSet = false;
188
189 S3SetObjectRetentionOperation m_s3PutObjectRetention;
190 bool m_s3PutObjectRetentionHasBeenSet = false;
191
192 S3ReplicateObjectOperation m_s3ReplicateObject;
193 bool m_s3ReplicateObjectHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace S3Control
198} // namespace Aws
JobOperation & WithS3PutObjectAcl(S3SetObjectAclOperation &&value)
void SetLambdaInvoke(LambdaInvokeOperation &&value)
JobOperation & WithS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation &value)
void SetS3PutObjectCopy(S3CopyObjectOperation &&value)
JobOperation & WithS3PutObjectRetention(const S3SetObjectRetentionOperation &value)
void SetS3PutObjectAcl(S3SetObjectAclOperation &&value)
const LambdaInvokeOperation & GetLambdaInvoke() const
JobOperation & WithLambdaInvoke(const LambdaInvokeOperation &value)
JobOperation & WithS3PutObjectRetention(S3SetObjectRetentionOperation &&value)
JobOperation & WithS3PutObjectCopy(const S3CopyObjectOperation &value)
const S3DeleteObjectTaggingOperation & GetS3DeleteObjectTagging() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetS3DeleteObjectTagging(S3DeleteObjectTaggingOperation &&value)
void SetLambdaInvoke(const LambdaInvokeOperation &value)
const S3CopyObjectOperation & GetS3PutObjectCopy() const
JobOperation & WithS3InitiateRestoreObject(S3InitiateRestoreObjectOperation &&value)
void SetS3PutObjectTagging(const S3SetObjectTaggingOperation &value)
const S3SetObjectLegalHoldOperation & GetS3PutObjectLegalHold() const
JobOperation & WithS3PutObjectTagging(const S3SetObjectTaggingOperation &value)
JobOperation & WithS3DeleteObjectTagging(S3DeleteObjectTaggingOperation &&value)
JobOperation & WithS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation &value)
const S3SetObjectRetentionOperation & GetS3PutObjectRetention() const
void SetS3InitiateRestoreObject(S3InitiateRestoreObjectOperation &&value)
JobOperation & WithS3ReplicateObject(S3ReplicateObjectOperation &&value)
void SetS3DeleteObjectTagging(const S3DeleteObjectTaggingOperation &value)
AWS_S3CONTROL_API JobOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
JobOperation & WithS3ReplicateObject(const S3ReplicateObjectOperation &value)
JobOperation & WithS3PutObjectLegalHold(S3SetObjectLegalHoldOperation &&value)
void SetS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation &value)
void SetS3PutObjectCopy(const S3CopyObjectOperation &value)
void SetS3ReplicateObject(S3ReplicateObjectOperation &&value)
const S3SetObjectTaggingOperation & GetS3PutObjectTagging() const
void SetS3PutObjectTagging(S3SetObjectTaggingOperation &&value)
const S3InitiateRestoreObjectOperation & GetS3InitiateRestoreObject() const
const S3ReplicateObjectOperation & GetS3ReplicateObject() const
void SetS3PutObjectRetention(const S3SetObjectRetentionOperation &value)
JobOperation & WithS3PutObjectTagging(S3SetObjectTaggingOperation &&value)
void SetS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation &value)
void SetS3ReplicateObject(const S3ReplicateObjectOperation &value)
JobOperation & WithS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation &value)
void SetS3PutObjectAcl(const S3SetObjectAclOperation &value)
void SetS3PutObjectLegalHold(S3SetObjectLegalHoldOperation &&value)
JobOperation & WithS3PutObjectAcl(const S3SetObjectAclOperation &value)
void SetS3PutObjectRetention(S3SetObjectRetentionOperation &&value)
AWS_S3CONTROL_API JobOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const S3SetObjectAclOperation & GetS3PutObjectAcl() const
JobOperation & WithLambdaInvoke(LambdaInvokeOperation &&value)
JobOperation & WithS3PutObjectCopy(S3CopyObjectOperation &&value)