AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
InventoryS3BucketDestination.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3
23{
24namespace Model
25{
26
34 {
35 public:
39
41
42
49 inline const Aws::String& GetAccountId() const{ return m_accountId; }
50
57 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
58
65 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
66
73 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
74
81 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
82
89 inline InventoryS3BucketDestination& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
90
97 inline InventoryS3BucketDestination& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
98
105 inline InventoryS3BucketDestination& WithAccountId(const char* value) { SetAccountId(value); return *this;}
106
107
112 inline const Aws::String& GetBucket() const{ return m_bucket; }
113
118 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
119
124 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
125
130 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
131
136 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
137
142 inline InventoryS3BucketDestination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
143
148 inline InventoryS3BucketDestination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
149
154 inline InventoryS3BucketDestination& WithBucket(const char* value) { SetBucket(value); return *this;}
155
156
160 inline const InventoryFormat& GetFormat() const{ return m_format; }
161
165 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
166
170 inline void SetFormat(const InventoryFormat& value) { m_formatHasBeenSet = true; m_format = value; }
171
175 inline void SetFormat(InventoryFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
176
180 inline InventoryS3BucketDestination& WithFormat(const InventoryFormat& value) { SetFormat(value); return *this;}
181
185 inline InventoryS3BucketDestination& WithFormat(InventoryFormat&& value) { SetFormat(std::move(value)); return *this;}
186
187
191 inline const Aws::String& GetPrefix() const{ return m_prefix; }
192
196 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
197
201 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
202
206 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
207
211 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
212
216 inline InventoryS3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
217
221 inline InventoryS3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
222
226 inline InventoryS3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
227
228
233 inline const InventoryEncryption& GetEncryption() const{ return m_encryption; }
234
239 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
240
245 inline void SetEncryption(const InventoryEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
246
251 inline void SetEncryption(InventoryEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
252
258
263 inline InventoryS3BucketDestination& WithEncryption(InventoryEncryption&& value) { SetEncryption(std::move(value)); return *this;}
264
265 private:
266
267 Aws::String m_accountId;
268 bool m_accountIdHasBeenSet = false;
269
270 Aws::String m_bucket;
271 bool m_bucketHasBeenSet = false;
272
273 InventoryFormat m_format;
274 bool m_formatHasBeenSet = false;
275
276 Aws::String m_prefix;
277 bool m_prefixHasBeenSet = false;
278
279 InventoryEncryption m_encryption;
280 bool m_encryptionHasBeenSet = false;
281 };
282
283} // namespace Model
284} // namespace S3
285} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
InventoryS3BucketDestination & WithEncryption(const InventoryEncryption &value)
InventoryS3BucketDestination & WithFormat(InventoryFormat &&value)
InventoryS3BucketDestination & WithPrefix(const Aws::String &value)
InventoryS3BucketDestination & WithBucket(const char *value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InventoryS3BucketDestination & WithBucket(const Aws::String &value)
InventoryS3BucketDestination & WithBucket(Aws::String &&value)
InventoryS3BucketDestination & WithFormat(const InventoryFormat &value)
InventoryS3BucketDestination & WithAccountId(Aws::String &&value)
InventoryS3BucketDestination & WithPrefix(Aws::String &&value)
void SetEncryption(const InventoryEncryption &value)
InventoryS3BucketDestination & WithEncryption(InventoryEncryption &&value)
AWS_S3_API InventoryS3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InventoryS3BucketDestination & WithAccountId(const char *value)
InventoryS3BucketDestination & WithAccountId(const Aws::String &value)
AWS_S3_API InventoryS3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
InventoryS3BucketDestination & WithPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String