AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3LogDeliveryDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_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 KafkaConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KAFKACONNECT_API S3LogDeliveryDescription() = default;
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucket() const { return m_bucket; }
46 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
47 template<typename BucketT = Aws::String>
48 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
49 template<typename BucketT = Aws::String>
50 S3LogDeliveryDescription& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
52
54
58 inline bool GetEnabled() const { return m_enabled; }
59 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
60 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
61 inline S3LogDeliveryDescription& WithEnabled(bool value) { SetEnabled(value); return *this;}
63
65
68 inline const Aws::String& GetPrefix() const { return m_prefix; }
69 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
70 template<typename PrefixT = Aws::String>
71 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
72 template<typename PrefixT = Aws::String>
73 S3LogDeliveryDescription& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
75 private:
76
77 Aws::String m_bucket;
78 bool m_bucketHasBeenSet = false;
79
80 bool m_enabled{false};
81 bool m_enabledHasBeenSet = false;
82
83 Aws::String m_prefix;
84 bool m_prefixHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace KafkaConnect
89} // 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