AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/EncryptionConfig.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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API S3Config() = default;
37 AWS_CONNECT_API S3Config(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucketName() const { return m_bucketName; }
47 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
48 template<typename BucketNameT = Aws::String>
49 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
50 template<typename BucketNameT = Aws::String>
51 S3Config& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetBucketPrefix() const { return m_bucketPrefix; }
59 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
60 template<typename BucketPrefixT = Aws::String>
61 void SetBucketPrefix(BucketPrefixT&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::forward<BucketPrefixT>(value); }
62 template<typename BucketPrefixT = Aws::String>
63 S3Config& WithBucketPrefix(BucketPrefixT&& value) { SetBucketPrefix(std::forward<BucketPrefixT>(value)); return *this;}
65
67
70 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
71 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
72 template<typename EncryptionConfigT = EncryptionConfig>
73 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
74 template<typename EncryptionConfigT = EncryptionConfig>
75 S3Config& WithEncryptionConfig(EncryptionConfigT&& value) { SetEncryptionConfig(std::forward<EncryptionConfigT>(value)); return *this;}
77 private:
78
79 Aws::String m_bucketName;
80 bool m_bucketNameHasBeenSet = false;
81
82 Aws::String m_bucketPrefix;
83 bool m_bucketPrefixHasBeenSet = false;
84
85 EncryptionConfig m_encryptionConfig;
86 bool m_encryptionConfigHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
S3Config & WithBucketName(BucketNameT &&value)
Definition S3Config.h:51
AWS_CONNECT_API S3Config()=default
bool EncryptionConfigHasBeenSet() const
Definition S3Config.h:71
S3Config & WithEncryptionConfig(EncryptionConfigT &&value)
Definition S3Config.h:75
const EncryptionConfig & GetEncryptionConfig() const
Definition S3Config.h:70
const Aws::String & GetBucketName() const
Definition S3Config.h:46
AWS_CONNECT_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBucketPrefix(BucketPrefixT &&value)
Definition S3Config.h:61
const Aws::String & GetBucketPrefix() const
Definition S3Config.h:58
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
S3Config & WithBucketPrefix(BucketPrefixT &&value)
Definition S3Config.h:63
void SetBucketName(BucketNameT &&value)
Definition S3Config.h:49
bool BucketPrefixHasBeenSet() const
Definition S3Config.h:59
bool BucketNameHasBeenSet() const
Definition S3Config.h:47
void SetEncryptionConfig(EncryptionConfigT &&value)
Definition S3Config.h:73
AWS_CONNECT_API S3Config(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue