AWS SDK for C++  1.8.154
AWS SDK for C++
S3BucketDestination.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace S3Control
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42 
43 
47  inline const Format& GetFormat() const{ return m_format; }
48 
52  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
53 
57  inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
58 
62  inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
63 
67  inline S3BucketDestination& WithFormat(const Format& value) { SetFormat(value); return *this;}
68 
72  inline S3BucketDestination& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
73 
74 
78  inline const OutputSchemaVersion& GetOutputSchemaVersion() const{ return m_outputSchemaVersion; }
79 
83  inline bool OutputSchemaVersionHasBeenSet() const { return m_outputSchemaVersionHasBeenSet; }
84 
88  inline void SetOutputSchemaVersion(const OutputSchemaVersion& value) { m_outputSchemaVersionHasBeenSet = true; m_outputSchemaVersion = value; }
89 
93  inline void SetOutputSchemaVersion(OutputSchemaVersion&& value) { m_outputSchemaVersionHasBeenSet = true; m_outputSchemaVersion = std::move(value); }
94 
98  inline S3BucketDestination& WithOutputSchemaVersion(const OutputSchemaVersion& value) { SetOutputSchemaVersion(value); return *this;}
99 
103  inline S3BucketDestination& WithOutputSchemaVersion(OutputSchemaVersion&& value) { SetOutputSchemaVersion(std::move(value)); return *this;}
104 
105 
109  inline const Aws::String& GetAccountId() const{ return m_accountId; }
110 
114  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
115 
119  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
120 
124  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
125 
129  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
130 
134  inline S3BucketDestination& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
135 
139  inline S3BucketDestination& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
140 
144  inline S3BucketDestination& WithAccountId(const char* value) { SetAccountId(value); return *this;}
145 
146 
153  inline const Aws::String& GetArn() const{ return m_arn; }
154 
161  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
162 
169  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
170 
177  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
178 
185  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
186 
193  inline S3BucketDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;}
194 
201  inline S3BucketDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
202 
209  inline S3BucketDestination& WithArn(const char* value) { SetArn(value); return *this;}
210 
211 
216  inline const Aws::String& GetPrefix() const{ return m_prefix; }
217 
222  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
223 
228  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
229 
234  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
235 
240  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
241 
246  inline S3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
247 
252  inline S3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
253 
258  inline S3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
259 
260 
265  inline const StorageLensDataExportEncryption& GetEncryption() const{ return m_encryption; }
266 
271  inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
272 
277  inline void SetEncryption(const StorageLensDataExportEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
278 
283  inline void SetEncryption(StorageLensDataExportEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
284 
289  inline S3BucketDestination& WithEncryption(const StorageLensDataExportEncryption& value) { SetEncryption(value); return *this;}
290 
295  inline S3BucketDestination& WithEncryption(StorageLensDataExportEncryption&& value) { SetEncryption(std::move(value)); return *this;}
296 
297  private:
298 
299  Format m_format;
300  bool m_formatHasBeenSet;
301 
302  OutputSchemaVersion m_outputSchemaVersion;
303  bool m_outputSchemaVersionHasBeenSet;
304 
305  Aws::String m_accountId;
306  bool m_accountIdHasBeenSet;
307 
308  Aws::String m_arn;
309  bool m_arnHasBeenSet;
310 
311  Aws::String m_prefix;
312  bool m_prefixHasBeenSet;
313 
314  StorageLensDataExportEncryption m_encryption;
315  bool m_encryptionHasBeenSet;
316  };
317 
318 } // namespace Model
319 } // namespace S3Control
320 } // namespace Aws
Aws::S3Control::Model::S3BucketDestination::SetEncryption
void SetEncryption(const StorageLensDataExportEncryption &value)
Definition: S3BucketDestination.h:277
Aws::S3Control::Model::OutputSchemaVersion
OutputSchemaVersion
Definition: OutputSchemaVersion.h:17
Aws::S3Control::Model::S3BucketDestination::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: S3BucketDestination.h:114
Aws::S3Control::Model::S3BucketDestination::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::S3BucketDestination::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: S3BucketDestination.h:234
Aws::S3Control::Model::S3BucketDestination::WithEncryption
S3BucketDestination & WithEncryption(StorageLensDataExportEncryption &&value)
Definition: S3BucketDestination.h:295
Aws::S3Control::Model::S3BucketDestination::WithAccountId
S3BucketDestination & WithAccountId(const Aws::String &value)
Definition: S3BucketDestination.h:134
StorageLensDataExportEncryption.h
Aws::S3Control::Model::S3BucketDestination::operator=
S3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::S3BucketDestination::SetEncryption
void SetEncryption(StorageLensDataExportEncryption &&value)
Definition: S3BucketDestination.h:283
Aws::S3Control::Model::S3BucketDestination::SetArn
void SetArn(Aws::String &&value)
Definition: S3BucketDestination.h:177
Aws::S3Control::Model::S3BucketDestination::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: S3BucketDestination.h:161
Aws::S3Control::Model::S3BucketDestination::S3BucketDestination
S3BucketDestination()
Aws::S3Control::Model::S3BucketDestination::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: S3BucketDestination.h:119
Aws::S3Control::Model::S3BucketDestination::S3BucketDestination
S3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::S3BucketDestination::WithPrefix
S3BucketDestination & WithPrefix(const Aws::String &value)
Definition: S3BucketDestination.h:246
Aws::S3Control::Model::S3BucketDestination::WithPrefix
S3BucketDestination & WithPrefix(Aws::String &&value)
Definition: S3BucketDestination.h:252
Aws::S3Control::Model::S3BucketDestination::SetOutputSchemaVersion
void SetOutputSchemaVersion(OutputSchemaVersion &&value)
Definition: S3BucketDestination.h:93
Aws::S3Control::Model::S3BucketDestination::WithFormat
S3BucketDestination & WithFormat(Format &&value)
Definition: S3BucketDestination.h:72
S3Control_EXPORTS.h
Aws::S3Control::Model::S3BucketDestination::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: S3BucketDestination.h:228
Aws::S3Control::Model::S3BucketDestination::GetAccountId
const Aws::String & GetAccountId() const
Definition: S3BucketDestination.h:109
Aws::S3Control::Model::S3BucketDestination::SetPrefix
void SetPrefix(const char *value)
Definition: S3BucketDestination.h:240
Aws::S3Control::Model::S3BucketDestination::SetArn
void SetArn(const Aws::String &value)
Definition: S3BucketDestination.h:169
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::StorageLensDataExportEncryption
Definition: StorageLensDataExportEncryption.h:33
OutputSchemaVersion.h
Aws::S3Control::Model::S3BucketDestination::EncryptionHasBeenSet
bool EncryptionHasBeenSet() const
Definition: S3BucketDestination.h:271
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::S3BucketDestination::GetEncryption
const StorageLensDataExportEncryption & GetEncryption() const
Definition: S3BucketDestination.h:265
Aws::S3Control::Model::S3BucketDestination::GetFormat
const Format & GetFormat() const
Definition: S3BucketDestination.h:47
Aws::S3Control::Model::S3BucketDestination::WithOutputSchemaVersion
S3BucketDestination & WithOutputSchemaVersion(OutputSchemaVersion &&value)
Definition: S3BucketDestination.h:103
Aws::S3Control::Model::S3BucketDestination::WithFormat
S3BucketDestination & WithFormat(const Format &value)
Definition: S3BucketDestination.h:67
Aws::S3Control::Model::S3BucketDestination::WithAccountId
S3BucketDestination & WithAccountId(Aws::String &&value)
Definition: S3BucketDestination.h:139
Format.h
Aws::S3Control::Model::S3BucketDestination::WithEncryption
S3BucketDestination & WithEncryption(const StorageLensDataExportEncryption &value)
Definition: S3BucketDestination.h:289
AWSString.h
Aws::S3Control::Model::S3BucketDestination::GetPrefix
const Aws::String & GetPrefix() const
Definition: S3BucketDestination.h:216
Aws::S3Control::Model::S3BucketDestination::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: S3BucketDestination.h:52
Aws::S3Control::Model::S3BucketDestination::SetOutputSchemaVersion
void SetOutputSchemaVersion(const OutputSchemaVersion &value)
Definition: S3BucketDestination.h:88
Aws::S3Control::Model::S3BucketDestination::GetOutputSchemaVersion
const OutputSchemaVersion & GetOutputSchemaVersion() const
Definition: S3BucketDestination.h:78
Aws::S3Control::Model::S3BucketDestination::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: S3BucketDestination.h:222
Aws::S3Control::Model::S3BucketDestination::WithArn
S3BucketDestination & WithArn(const char *value)
Definition: S3BucketDestination.h:209
Aws::S3Control::Model::S3BucketDestination::WithPrefix
S3BucketDestination & WithPrefix(const char *value)
Definition: S3BucketDestination.h:258
Aws::S3Control::Model::S3BucketDestination::OutputSchemaVersionHasBeenSet
bool OutputSchemaVersionHasBeenSet() const
Definition: S3BucketDestination.h:83
Aws::S3Control::Model::Format
Format
Definition: Format.h:17
Aws::S3Control::Model::S3BucketDestination
Definition: S3BucketDestination.h:35
Aws::S3Control::Model::S3BucketDestination::SetFormat
void SetFormat(const Format &value)
Definition: S3BucketDestination.h:57
Aws::S3Control::Model::S3BucketDestination::GetArn
const Aws::String & GetArn() const
Definition: S3BucketDestination.h:153
Aws::S3Control::Model::S3BucketDestination::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: S3BucketDestination.h:124
Aws::S3Control::Model::S3BucketDestination::SetArn
void SetArn(const char *value)
Definition: S3BucketDestination.h:185
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::S3BucketDestination::SetFormat
void SetFormat(Format &&value)
Definition: S3BucketDestination.h:62
Aws::S3Control::Model::S3BucketDestination::WithArn
S3BucketDestination & WithArn(const Aws::String &value)
Definition: S3BucketDestination.h:193
Aws::S3Control::Model::S3BucketDestination::SetAccountId
void SetAccountId(const char *value)
Definition: S3BucketDestination.h:129
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::S3BucketDestination::WithAccountId
S3BucketDestination & WithAccountId(const char *value)
Definition: S3BucketDestination.h:144
Aws::S3Control::Model::S3BucketDestination::WithOutputSchemaVersion
S3BucketDestination & WithOutputSchemaVersion(const OutputSchemaVersion &value)
Definition: S3BucketDestination.h:98
Aws::S3Control::Model::S3BucketDestination::WithArn
S3BucketDestination & WithArn(Aws::String &&value)
Definition: S3BucketDestination.h:201