AWS SDK for C++  1.9.159
AWS SDK for C++
S3Config.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetBucketName() const{ return m_bucketName; }
46 
50  inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
51 
55  inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
56 
60  inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
61 
65  inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
66 
70  inline S3Config& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
71 
75  inline S3Config& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
76 
80  inline S3Config& WithBucketName(const char* value) { SetBucketName(value); return *this;}
81 
82 
86  inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
87 
91  inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
92 
96  inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
97 
101  inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
102 
106  inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
107 
111  inline S3Config& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
112 
116  inline S3Config& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
117 
121  inline S3Config& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
122 
123 
127  inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; }
128 
132  inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
133 
137  inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; }
138 
142  inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); }
143 
147  inline S3Config& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;}
148 
152  inline S3Config& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;}
153 
154  private:
155 
156  Aws::String m_bucketName;
157  bool m_bucketNameHasBeenSet;
158 
159  Aws::String m_bucketPrefix;
160  bool m_bucketPrefixHasBeenSet;
161 
162  EncryptionConfig m_encryptionConfig;
163  bool m_encryptionConfigHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace Connect
168 } // namespace Aws
Aws::Connect::Model::S3Config::SetBucketName
void SetBucketName(Aws::String &&value)
Definition: S3Config.h:60
Aws::Connect::Model::S3Config::WithBucketPrefix
S3Config & WithBucketPrefix(Aws::String &&value)
Definition: S3Config.h:116
Aws::Connect::Model::S3Config::GetBucketPrefix
const Aws::String & GetBucketPrefix() const
Definition: S3Config.h:86
Aws::Connect::Model::S3Config::BucketPrefixHasBeenSet
bool BucketPrefixHasBeenSet() const
Definition: S3Config.h:91
Aws::Connect::Model::S3Config::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::S3Config::SetBucketPrefix
void SetBucketPrefix(const char *value)
Definition: S3Config.h:106
EncryptionConfig.h
Aws::Connect::Model::S3Config::WithBucketName
S3Config & WithBucketName(const Aws::String &value)
Definition: S3Config.h:70
Aws::Connect::Model::S3Config::EncryptionConfigHasBeenSet
bool EncryptionConfigHasBeenSet() const
Definition: S3Config.h:132
Aws::Connect::Model::S3Config
Definition: S3Config.h:34
Aws::Connect::Model::S3Config::SetBucketName
void SetBucketName(const char *value)
Definition: S3Config.h:65
Aws::Connect::Model::S3Config::operator=
S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::S3Config::S3Config
S3Config(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::S3Config::WithBucketName
S3Config & WithBucketName(const char *value)
Definition: S3Config.h:80
Aws::Connect::Model::S3Config::S3Config
S3Config()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::S3Config::GetBucketName
const Aws::String & GetBucketName() const
Definition: S3Config.h:45
Aws::Connect::Model::S3Config::SetBucketName
void SetBucketName(const Aws::String &value)
Definition: S3Config.h:55
Aws::Connect::Model::S3Config::GetEncryptionConfig
const EncryptionConfig & GetEncryptionConfig() const
Definition: S3Config.h:127
Aws::Connect::Model::S3Config::SetEncryptionConfig
void SetEncryptionConfig(const EncryptionConfig &value)
Definition: S3Config.h:137
Aws::Connect::Model::S3Config::SetBucketPrefix
void SetBucketPrefix(const Aws::String &value)
Definition: S3Config.h:96
Aws::Connect::Model::S3Config::WithEncryptionConfig
S3Config & WithEncryptionConfig(EncryptionConfig &&value)
Definition: S3Config.h:152
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::S3Config::WithBucketPrefix
S3Config & WithBucketPrefix(const char *value)
Definition: S3Config.h:121
Aws::Connect::Model::S3Config::BucketNameHasBeenSet
bool BucketNameHasBeenSet() const
Definition: S3Config.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::S3Config::WithEncryptionConfig
S3Config & WithEncryptionConfig(const EncryptionConfig &value)
Definition: S3Config.h:147
Aws::Connect::Model::S3Config::SetBucketPrefix
void SetBucketPrefix(Aws::String &&value)
Definition: S3Config.h:101
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::S3Config::WithBucketPrefix
S3Config & WithBucketPrefix(const Aws::String &value)
Definition: S3Config.h:111
Connect_EXPORTS.h
Aws::Connect::Model::S3Config::WithBucketName
S3Config & WithBucketName(Aws::String &&value)
Definition: S3Config.h:75
Aws::Connect::Model::S3Config::SetEncryptionConfig
void SetEncryptionConfig(EncryptionConfig &&value)
Definition: S3Config.h:142
Aws::Connect::Model::EncryptionConfig
Definition: EncryptionConfig.h:33