AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3BucketDestination.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/Format.h>
9#include <aws/s3control/model/OutputSchemaVersion.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3control/model/StorageLensDataExportEncryption.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace S3Control
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_S3CONTROL_API S3BucketDestination() = default;
38 AWS_S3CONTROL_API S3BucketDestination(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_S3CONTROL_API S3BucketDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline Format GetFormat() const { return m_format; }
49 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
50 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
51 inline S3BucketDestination& WithFormat(Format value) { SetFormat(value); return *this;}
53
55
58 inline OutputSchemaVersion GetOutputSchemaVersion() const { return m_outputSchemaVersion; }
59 inline bool OutputSchemaVersionHasBeenSet() const { return m_outputSchemaVersionHasBeenSet; }
60 inline void SetOutputSchemaVersion(OutputSchemaVersion value) { m_outputSchemaVersionHasBeenSet = true; m_outputSchemaVersion = value; }
63
65
68 inline const Aws::String& GetAccountId() const { return m_accountId; }
69 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
70 template<typename AccountIdT = Aws::String>
71 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
72 template<typename AccountIdT = Aws::String>
73 S3BucketDestination& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
75
77
83 inline const Aws::String& GetArn() const { return m_arn; }
84 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
85 template<typename ArnT = Aws::String>
86 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
87 template<typename ArnT = Aws::String>
88 S3BucketDestination& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
90
92
96 inline const Aws::String& GetPrefix() const { return m_prefix; }
97 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
98 template<typename PrefixT = Aws::String>
99 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
100 template<typename PrefixT = Aws::String>
101 S3BucketDestination& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
103
105
109 inline const StorageLensDataExportEncryption& GetEncryption() const { return m_encryption; }
110 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
111 template<typename EncryptionT = StorageLensDataExportEncryption>
112 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
113 template<typename EncryptionT = StorageLensDataExportEncryption>
114 S3BucketDestination& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
116 private:
117
118 Format m_format{Format::NOT_SET};
119 bool m_formatHasBeenSet = false;
120
122 bool m_outputSchemaVersionHasBeenSet = false;
123
124 Aws::String m_accountId;
125 bool m_accountIdHasBeenSet = false;
126
127 Aws::String m_arn;
128 bool m_arnHasBeenSet = false;
129
130 Aws::String m_prefix;
131 bool m_prefixHasBeenSet = false;
132
133 StorageLensDataExportEncryption m_encryption;
134 bool m_encryptionHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace S3Control
139} // namespace Aws
AWS_S3CONTROL_API S3BucketDestination()=default
S3BucketDestination & WithFormat(Format value)
S3BucketDestination & WithAccountId(AccountIdT &&value)
AWS_S3CONTROL_API S3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOutputSchemaVersion(OutputSchemaVersion value)
OutputSchemaVersion GetOutputSchemaVersion() const
S3BucketDestination & WithPrefix(PrefixT &&value)
const StorageLensDataExportEncryption & GetEncryption() const
AWS_S3CONTROL_API S3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
S3BucketDestination & WithEncryption(EncryptionT &&value)
S3BucketDestination & WithArn(ArnT &&value)
S3BucketDestination & WithOutputSchemaVersion(OutputSchemaVersion value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String