AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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
35 {
36 public:
37 AWS_S3_API InventoryS3BucketDestination() = default;
40
41 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
51 inline const Aws::String& GetAccountId() const { return m_accountId; }
52 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
53 template<typename AccountIdT = Aws::String>
54 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
55 template<typename AccountIdT = Aws::String>
56 InventoryS3BucketDestination& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
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) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
68 template<typename BucketT = Aws::String>
69 InventoryS3BucketDestination& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
71
73
76 inline InventoryFormat GetFormat() const { return m_format; }
77 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
78 inline void SetFormat(InventoryFormat value) { m_formatHasBeenSet = true; m_format = value; }
79 inline InventoryS3BucketDestination& WithFormat(InventoryFormat value) { SetFormat(value); return *this;}
81
83
86 inline const Aws::String& GetPrefix() const { return m_prefix; }
87 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
88 template<typename PrefixT = Aws::String>
89 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
90 template<typename PrefixT = Aws::String>
91 InventoryS3BucketDestination& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
93
95
99 inline const InventoryEncryption& GetEncryption() const { return m_encryption; }
100 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
101 template<typename EncryptionT = InventoryEncryption>
102 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
103 template<typename EncryptionT = InventoryEncryption>
104 InventoryS3BucketDestination& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
106 private:
107
108 Aws::String m_accountId;
109 bool m_accountIdHasBeenSet = false;
110
111 Aws::String m_bucket;
112 bool m_bucketHasBeenSet = false;
113
115 bool m_formatHasBeenSet = false;
116
117 Aws::String m_prefix;
118 bool m_prefixHasBeenSet = false;
119
120 InventoryEncryption m_encryption;
121 bool m_encryptionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace S3
126} // 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