AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirehoseLogDeliveryDescription.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 FirehoseLogDeliveryDescription();
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetDeliveryStream() const{ return m_deliveryStream; }
47 inline bool DeliveryStreamHasBeenSet() const { return m_deliveryStreamHasBeenSet; }
48 inline void SetDeliveryStream(const Aws::String& value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream = value; }
49 inline void SetDeliveryStream(Aws::String&& value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream = std::move(value); }
50 inline void SetDeliveryStream(const char* value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream.assign(value); }
52 inline FirehoseLogDeliveryDescription& WithDeliveryStream(Aws::String&& value) { SetDeliveryStream(std::move(value)); return *this;}
53 inline FirehoseLogDeliveryDescription& WithDeliveryStream(const char* value) { SetDeliveryStream(value); return *this;}
55
57
61 inline bool GetEnabled() const{ return m_enabled; }
62 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
63 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
64 inline FirehoseLogDeliveryDescription& WithEnabled(bool value) { SetEnabled(value); return *this;}
66 private:
67
68 Aws::String m_deliveryStream;
69 bool m_deliveryStreamHasBeenSet = false;
70
71 bool m_enabled;
72 bool m_enabledHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace KafkaConnect
77} // namespace Aws
FirehoseLogDeliveryDescription & WithDeliveryStream(const char *value)
FirehoseLogDeliveryDescription & WithDeliveryStream(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API FirehoseLogDeliveryDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API FirehoseLogDeliveryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
FirehoseLogDeliveryDescription & WithDeliveryStream(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue