AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka
22{
23namespace Model
24{
25
26 class S3
27 {
28 public:
29 AWS_KAFKA_API S3();
30 AWS_KAFKA_API S3(Aws::Utils::Json::JsonView jsonValue);
31 AWS_KAFKA_API S3& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
37 inline const Aws::String& GetBucket() const{ return m_bucket; }
38 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
39 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
40 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
41 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
42 inline S3& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
43 inline S3& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
44 inline S3& WithBucket(const char* value) { SetBucket(value); return *this;}
46
48
49 inline bool GetEnabled() const{ return m_enabled; }
50 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
51 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
52 inline S3& WithEnabled(bool value) { SetEnabled(value); return *this;}
54
56
57 inline const Aws::String& GetPrefix() const{ return m_prefix; }
58 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
59 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
60 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
61 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
62 inline S3& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
63 inline S3& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
64 inline S3& WithPrefix(const char* value) { SetPrefix(value); return *this;}
66 private:
67
68 Aws::String m_bucket;
69 bool m_bucketHasBeenSet = false;
70
71 bool m_enabled;
72 bool m_enabledHasBeenSet = false;
73
74 Aws::String m_prefix;
75 bool m_prefixHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Kafka
80} // namespace Aws
S3 & WithPrefix(Aws::String &&value)
Definition S3.h:63
const Aws::String & GetPrefix() const
Definition S3.h:57
void SetBucket(const Aws::String &value)
Definition S3.h:39
void SetBucket(const char *value)
Definition S3.h:41
void SetPrefix(const char *value)
Definition S3.h:61
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
S3 & WithBucket(const char *value)
Definition S3.h:44
AWS_KAFKA_API S3(Aws::Utils::Json::JsonView jsonValue)
S3 & WithBucket(Aws::String &&value)
Definition S3.h:43
S3 & WithPrefix(const char *value)
Definition S3.h:64
S3 & WithEnabled(bool value)
Definition S3.h:52
void SetPrefix(Aws::String &&value)
Definition S3.h:60
S3 & WithPrefix(const Aws::String &value)
Definition S3.h:62
bool BucketHasBeenSet() const
Definition S3.h:38
void SetEnabled(bool value)
Definition S3.h:51
void SetPrefix(const Aws::String &value)
Definition S3.h:59
bool PrefixHasBeenSet() const
Definition S3.h:58
AWS_KAFKA_API S3()
S3 & WithBucket(const Aws::String &value)
Definition S3.h:42
AWS_KAFKA_API S3 & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
Definition S3.h:50
const Aws::String & GetBucket() const
Definition S3.h:37
bool GetEnabled() const
Definition S3.h:49
void SetBucket(Aws::String &&value)
Definition S3.h:40
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue