AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
S3LogDeliveryDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KafkaConnect {
20namespace Model {
21
29 public:
30 AWS_KAFKACONNECT_API S3LogDeliveryDescription() = default;
33 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucket() const { return m_bucket; }
40 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
41 template <typename BucketT = Aws::String>
42 void SetBucket(BucketT&& value) {
43 m_bucketHasBeenSet = true;
44 m_bucket = std::forward<BucketT>(value);
45 }
46 template <typename BucketT = Aws::String>
48 SetBucket(std::forward<BucketT>(value));
49 return *this;
50 }
52
54
58 inline bool GetEnabled() const { return m_enabled; }
59 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
60 inline void SetEnabled(bool value) {
61 m_enabledHasBeenSet = true;
62 m_enabled = value;
63 }
65 SetEnabled(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPrefix() const { return m_prefix; }
75 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
76 template <typename PrefixT = Aws::String>
77 void SetPrefix(PrefixT&& value) {
78 m_prefixHasBeenSet = true;
79 m_prefix = std::forward<PrefixT>(value);
80 }
81 template <typename PrefixT = Aws::String>
83 SetPrefix(std::forward<PrefixT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_bucket;
89
90 bool m_enabled{false};
91
92 Aws::String m_prefix;
93 bool m_bucketHasBeenSet = false;
94 bool m_enabledHasBeenSet = false;
95 bool m_prefixHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace KafkaConnect
100} // namespace Aws
AWS_KAFKACONNECT_API S3LogDeliveryDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API S3LogDeliveryDescription()=default
S3LogDeliveryDescription & WithPrefix(PrefixT &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
S3LogDeliveryDescription & WithBucket(BucketT &&value)
AWS_KAFKACONNECT_API S3LogDeliveryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue