AWS SDK for C++  1.9.106
AWS SDK for C++
S3.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kafka
22 {
23 namespace Model
24 {
25 
27  {
28  public:
29  S3();
33 
34 
35 
36  inline const Aws::String& GetBucket() const{ return m_bucket; }
37 
38 
39  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
40 
41 
42  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
43 
44 
45  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
46 
47 
48  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
49 
50 
51  inline S3& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 
53 
54  inline S3& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
55 
56 
57  inline S3& WithBucket(const char* value) { SetBucket(value); return *this;}
58 
59 
60 
61  inline bool GetEnabled() const{ return m_enabled; }
62 
63 
64  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
65 
66 
67  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
68 
69 
70  inline S3& WithEnabled(bool value) { SetEnabled(value); return *this;}
71 
72 
73 
74  inline const Aws::String& GetPrefix() const{ return m_prefix; }
75 
76 
77  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
78 
79 
80  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
81 
82 
83  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
84 
85 
86  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
87 
88 
89  inline S3& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
90 
91 
92  inline S3& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
93 
94 
95  inline S3& WithPrefix(const char* value) { SetPrefix(value); return *this;}
96 
97  private:
98 
99  Aws::String m_bucket;
100  bool m_bucketHasBeenSet;
101 
102  bool m_enabled;
103  bool m_enabledHasBeenSet;
104 
105  Aws::String m_prefix;
106  bool m_prefixHasBeenSet;
107  };
108 
109 } // namespace Model
110 } // namespace Kafka
111 } // namespace Aws
Aws::Kafka::Model::S3::WithPrefix
S3 & WithPrefix(const Aws::String &value)
Definition: S3.h:89
Aws::Kafka::Model::S3::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: S3.h:77
Aws::Kafka::Model::S3::WithPrefix
S3 & WithPrefix(Aws::String &&value)
Definition: S3.h:92
Aws::Kafka::Model::S3::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: S3.h:39
Aws::Kafka::Model::S3::WithEnabled
S3 & WithEnabled(bool value)
Definition: S3.h:70
Aws::Kafka::Model::S3::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: S3.h:80
Aws::Kafka::Model::S3::SetBucket
void SetBucket(Aws::String &&value)
Definition: S3.h:45
Aws::Kafka::Model::S3
Definition: S3.h:27
Aws::Kafka::Model::S3::SetBucket
void SetBucket(const char *value)
Definition: S3.h:48
Aws::Kafka::Model::S3::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: S3.h:83
Aws::Kafka::Model::S3::S3
S3(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::S3::WithBucket
S3 & WithBucket(const char *value)
Definition: S3.h:57
Aws::Kafka::Model::S3::operator=
S3 & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::S3::SetPrefix
void SetPrefix(const char *value)
Definition: S3.h:86
Aws::Kafka::Model::S3::SetEnabled
void SetEnabled(bool value)
Definition: S3.h:67
Aws::Kafka::Model::S3::S3
S3()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Kafka::Model::S3::WithBucket
S3 & WithBucket(Aws::String &&value)
Definition: S3.h:54
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::S3::WithBucket
S3 & WithBucket(const Aws::String &value)
Definition: S3.h:51
Aws::Kafka::Model::S3::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::S3::GetPrefix
const Aws::String & GetPrefix() const
Definition: S3.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::S3::GetEnabled
bool GetEnabled() const
Definition: S3.h:61
Aws::Kafka::Model::S3::GetBucket
const Aws::String & GetBucket() const
Definition: S3.h:36
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::S3::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: S3.h:64
Aws::Kafka::Model::S3::WithPrefix
S3 & WithPrefix(const char *value)
Definition: S3.h:95
Aws::Kafka::Model::S3::SetBucket
void SetBucket(const Aws::String &value)
Definition: S3.h:42