AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
S3ExportConfiguration.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qldb/model/S3EncryptionConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QLDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QLDB_API S3ExportConfiguration() = default;
40
41
43
50 inline const Aws::String& GetBucket() const { return m_bucket; }
51 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
52 template<typename BucketT = Aws::String>
53 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
54 template<typename BucketT = Aws::String>
55 S3ExportConfiguration& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
57
59
70 inline const Aws::String& GetPrefix() const { return m_prefix; }
71 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
72 template<typename PrefixT = Aws::String>
73 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
74 template<typename PrefixT = Aws::String>
75 S3ExportConfiguration& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
77
79
83 inline const S3EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
84 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
85 template<typename EncryptionConfigurationT = S3EncryptionConfiguration>
86 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
87 template<typename EncryptionConfigurationT = S3EncryptionConfiguration>
88 S3ExportConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
90 private:
91
92 Aws::String m_bucket;
93 bool m_bucketHasBeenSet = false;
94
95 Aws::String m_prefix;
96 bool m_prefixHasBeenSet = false;
97
98 S3EncryptionConfiguration m_encryptionConfiguration;
99 bool m_encryptionConfigurationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QLDB
104} // namespace Aws
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_QLDB_API S3ExportConfiguration()=default
S3ExportConfiguration & WithPrefix(PrefixT &&value)
S3ExportConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
S3ExportConfiguration & WithBucket(BucketT &&value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QLDB_API S3ExportConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QLDB_API S3ExportConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3EncryptionConfiguration & GetEncryptionConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue