AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryS3BucketDestination.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/InventoryFormat.h>
10#include <aws/s3/model/InventoryEncryption.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
40 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
50 inline const Aws::String& GetAccountId() const{ return m_accountId; }
51 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
53 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
54 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
55 inline InventoryS3BucketDestination& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
56 inline InventoryS3BucketDestination& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
57 inline InventoryS3BucketDestination& WithAccountId(const char* value) { SetAccountId(value); return *this;}
59
61
65 inline const Aws::String& GetBucket() const{ return m_bucket; }
66 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
67 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
68 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
69 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
70 inline InventoryS3BucketDestination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
71 inline InventoryS3BucketDestination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
72 inline InventoryS3BucketDestination& WithBucket(const char* value) { SetBucket(value); return *this;}
74
76
79 inline const InventoryFormat& GetFormat() const{ return m_format; }
80 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
81 inline void SetFormat(const InventoryFormat& value) { m_formatHasBeenSet = true; m_format = value; }
82 inline void SetFormat(InventoryFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
83 inline InventoryS3BucketDestination& WithFormat(const InventoryFormat& value) { SetFormat(value); return *this;}
84 inline InventoryS3BucketDestination& WithFormat(InventoryFormat&& value) { SetFormat(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetPrefix() const{ return m_prefix; }
92 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
93 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
94 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
95 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
96 inline InventoryS3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
97 inline InventoryS3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
98 inline InventoryS3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
100
102
106 inline const InventoryEncryption& GetEncryption() const{ return m_encryption; }
107 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
108 inline void SetEncryption(const InventoryEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
109 inline void SetEncryption(InventoryEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
111 inline InventoryS3BucketDestination& WithEncryption(InventoryEncryption&& value) { SetEncryption(std::move(value)); return *this;}
113 private:
114
115 Aws::String m_accountId;
116 bool m_accountIdHasBeenSet = false;
117
118 Aws::String m_bucket;
119 bool m_bucketHasBeenSet = false;
120
121 InventoryFormat m_format;
122 bool m_formatHasBeenSet = false;
123
124 Aws::String m_prefix;
125 bool m_prefixHasBeenSet = false;
126
127 InventoryEncryption m_encryption;
128 bool m_encryptionHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace S3
133} // namespace Aws
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