AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InventoryS3BucketDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/InventoryEncryption.h>
10#include <aws/s3/model/InventoryFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3 {
21namespace Model {
22
31 public:
32 AWS_S3_API InventoryS3BucketDestination() = default;
35
36 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
45 inline const Aws::String& GetAccountId() const { return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 template <typename AccountIdT = Aws::String>
48 void SetAccountId(AccountIdT&& value) {
49 m_accountIdHasBeenSet = true;
50 m_accountId = std::forward<AccountIdT>(value);
51 }
52 template <typename AccountIdT = Aws::String>
54 SetAccountId(std::forward<AccountIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetBucket() const { return m_bucket; }
65 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
66 template <typename BucketT = Aws::String>
67 void SetBucket(BucketT&& value) {
68 m_bucketHasBeenSet = true;
69 m_bucket = std::forward<BucketT>(value);
70 }
71 template <typename BucketT = Aws::String>
73 SetBucket(std::forward<BucketT>(value));
74 return *this;
75 }
77
79
82 inline InventoryFormat GetFormat() const { return m_format; }
83 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
84 inline void SetFormat(InventoryFormat value) {
85 m_formatHasBeenSet = true;
86 m_format = value;
87 }
89 SetFormat(value);
90 return *this;
91 }
93
95
98 inline const Aws::String& GetPrefix() const { return m_prefix; }
99 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
100 template <typename PrefixT = Aws::String>
101 void SetPrefix(PrefixT&& value) {
102 m_prefixHasBeenSet = true;
103 m_prefix = std::forward<PrefixT>(value);
104 }
105 template <typename PrefixT = Aws::String>
107 SetPrefix(std::forward<PrefixT>(value));
108 return *this;
109 }
111
113
117 inline const InventoryEncryption& GetEncryption() const { return m_encryption; }
118 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
119 template <typename EncryptionT = InventoryEncryption>
120 void SetEncryption(EncryptionT&& value) {
121 m_encryptionHasBeenSet = true;
122 m_encryption = std::forward<EncryptionT>(value);
123 }
124 template <typename EncryptionT = InventoryEncryption>
126 SetEncryption(std::forward<EncryptionT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_accountId;
132
133 Aws::String m_bucket;
134
136
137 Aws::String m_prefix;
138
139 InventoryEncryption m_encryption;
140 bool m_accountIdHasBeenSet = false;
141 bool m_bucketHasBeenSet = false;
142 bool m_formatHasBeenSet = false;
143 bool m_prefixHasBeenSet = false;
144 bool m_encryptionHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace S3
149} // namespace Aws
InventoryS3BucketDestination & WithBucket(BucketT &&value)
InventoryS3BucketDestination & WithEncryption(EncryptionT &&value)
InventoryS3BucketDestination & WithAccountId(AccountIdT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API InventoryS3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API InventoryS3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
InventoryS3BucketDestination & WithPrefix(PrefixT &&value)
InventoryS3BucketDestination & WithFormat(InventoryFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String