AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Format& GetFormat() const{ return m_format; }
49 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
50 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
51 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
52 inline S3BucketDestination& WithFormat(const Format& value) { SetFormat(value); return *this;}
53 inline S3BucketDestination& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
55
57
60 inline const OutputSchemaVersion& GetOutputSchemaVersion() const{ return m_outputSchemaVersion; }
61 inline bool OutputSchemaVersionHasBeenSet() const { return m_outputSchemaVersionHasBeenSet; }
62 inline void SetOutputSchemaVersion(const OutputSchemaVersion& value) { m_outputSchemaVersionHasBeenSet = true; m_outputSchemaVersion = value; }
63 inline void SetOutputSchemaVersion(OutputSchemaVersion&& value) { m_outputSchemaVersionHasBeenSet = true; m_outputSchemaVersion = std::move(value); }
67
69
72 inline const Aws::String& GetAccountId() const{ return m_accountId; }
73 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
74 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
75 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
76 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
77 inline S3BucketDestination& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
78 inline S3BucketDestination& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
79 inline S3BucketDestination& WithAccountId(const char* value) { SetAccountId(value); return *this;}
81
83
89 inline const Aws::String& GetArn() const{ return m_arn; }
90 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
92 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
93 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
94 inline S3BucketDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;}
95 inline S3BucketDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
96 inline S3BucketDestination& WithArn(const char* value) { SetArn(value); return *this;}
98
100
104 inline const Aws::String& GetPrefix() const{ return m_prefix; }
105 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
106 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
107 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
108 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
109 inline S3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
110 inline S3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
111 inline S3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
113
115
119 inline const StorageLensDataExportEncryption& GetEncryption() const{ return m_encryption; }
120 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
121 inline void SetEncryption(const StorageLensDataExportEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
122 inline void SetEncryption(StorageLensDataExportEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
124 inline S3BucketDestination& WithEncryption(StorageLensDataExportEncryption&& value) { SetEncryption(std::move(value)); return *this;}
126 private:
127
128 Format m_format;
129 bool m_formatHasBeenSet = false;
130
131 OutputSchemaVersion m_outputSchemaVersion;
132 bool m_outputSchemaVersionHasBeenSet = false;
133
134 Aws::String m_accountId;
135 bool m_accountIdHasBeenSet = false;
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::String m_prefix;
141 bool m_prefixHasBeenSet = false;
142
144 bool m_encryptionHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace S3Control
149} // namespace Aws
S3BucketDestination & WithFormat(Format &&value)
void SetAccountId(const Aws::String &value)
void SetOutputSchemaVersion(const OutputSchemaVersion &value)
void SetEncryption(StorageLensDataExportEncryption &&value)
AWS_S3CONTROL_API S3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3BucketDestination & WithEncryption(const StorageLensDataExportEncryption &value)
S3BucketDestination & WithPrefix(const char *value)
S3BucketDestination & WithAccountId(Aws::String &&value)
S3BucketDestination & WithEncryption(StorageLensDataExportEncryption &&value)
S3BucketDestination & WithAccountId(const Aws::String &value)
S3BucketDestination & WithOutputSchemaVersion(OutputSchemaVersion &&value)
const StorageLensDataExportEncryption & GetEncryption() const
S3BucketDestination & WithAccountId(const char *value)
void SetEncryption(const StorageLensDataExportEncryption &value)
S3BucketDestination & WithArn(const Aws::String &value)
const OutputSchemaVersion & GetOutputSchemaVersion() const
void SetOutputSchemaVersion(OutputSchemaVersion &&value)
AWS_S3CONTROL_API S3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
S3BucketDestination & WithArn(Aws::String &&value)
S3BucketDestination & WithArn(const char *value)
S3BucketDestination & WithFormat(const Format &value)
S3BucketDestination & WithOutputSchemaVersion(const OutputSchemaVersion &value)
S3BucketDestination & WithPrefix(const Aws::String &value)
S3BucketDestination & WithPrefix(Aws::String &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String