AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
49 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
50 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
51 inline S3Config& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
52 inline S3Config& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
53 inline S3Config& WithBucketName(const char* value) { SetBucketName(value); return *this;}
55
57
60 inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
61 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
62 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
63 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
64 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
65 inline S3Config& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
66 inline S3Config& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
67 inline S3Config& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
69
71
74 inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; }
75 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
76 inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; }
77 inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); }
78 inline S3Config& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;}
79 inline S3Config& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_bucketName;
84 bool m_bucketNameHasBeenSet = false;
85
86 Aws::String m_bucketPrefix;
87 bool m_bucketPrefixHasBeenSet = false;
88
89 EncryptionConfig m_encryptionConfig;
90 bool m_encryptionConfigHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
void SetBucketPrefix(Aws::String &&value)
Definition S3Config.h:63
void SetBucketName(Aws::String &&value)
Definition S3Config.h:49
S3Config & WithBucketPrefix(const Aws::String &value)
Definition S3Config.h:65
bool EncryptionConfigHasBeenSet() const
Definition S3Config.h:75
S3Config & WithBucketPrefix(Aws::String &&value)
Definition S3Config.h:66
void SetBucketPrefix(const char *value)
Definition S3Config.h:64
void SetEncryptionConfig(EncryptionConfig &&value)
Definition S3Config.h:77
void SetBucketName(const char *value)
Definition S3Config.h:50
const EncryptionConfig & GetEncryptionConfig() const
Definition S3Config.h:74
const Aws::String & GetBucketName() const
Definition S3Config.h:46
S3Config & WithEncryptionConfig(const EncryptionConfig &value)
Definition S3Config.h:78
AWS_CONNECT_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Config & WithBucketPrefix(const char *value)
Definition S3Config.h:67
const Aws::String & GetBucketPrefix() const
Definition S3Config.h:60
void SetEncryptionConfig(const EncryptionConfig &value)
Definition S3Config.h:76
void SetBucketName(const Aws::String &value)
Definition S3Config.h:48
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
S3Config & WithEncryptionConfig(EncryptionConfig &&value)
Definition S3Config.h:79
S3Config & WithBucketName(const Aws::String &value)
Definition S3Config.h:51
S3Config & WithBucketName(const char *value)
Definition S3Config.h:53
bool BucketPrefixHasBeenSet() const
Definition S3Config.h:61
bool BucketNameHasBeenSet() const
Definition S3Config.h:47
S3Config & WithBucketName(Aws::String &&value)
Definition S3Config.h:52
AWS_CONNECT_API S3Config()
AWS_CONNECT_API S3Config(Aws::Utils::Json::JsonView jsonValue)
void SetBucketPrefix(const Aws::String &value)
Definition S3Config.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue