AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Firehose.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
27 {
28 public:
29 AWS_KAFKA_API Firehose();
30 AWS_KAFKA_API Firehose(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
37 inline const Aws::String& GetDeliveryStream() const{ return m_deliveryStream; }
38 inline bool DeliveryStreamHasBeenSet() const { return m_deliveryStreamHasBeenSet; }
39 inline void SetDeliveryStream(const Aws::String& value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream = value; }
40 inline void SetDeliveryStream(Aws::String&& value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream = std::move(value); }
41 inline void SetDeliveryStream(const char* value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream.assign(value); }
42 inline Firehose& WithDeliveryStream(const Aws::String& value) { SetDeliveryStream(value); return *this;}
43 inline Firehose& WithDeliveryStream(Aws::String&& value) { SetDeliveryStream(std::move(value)); return *this;}
44 inline Firehose& WithDeliveryStream(const char* value) { SetDeliveryStream(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 Firehose& WithEnabled(bool value) { SetEnabled(value); return *this;}
54 private:
55
56 Aws::String m_deliveryStream;
57 bool m_deliveryStreamHasBeenSet = false;
58
59 bool m_enabled;
60 bool m_enabledHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Kafka
65} // namespace Aws
Firehose & WithDeliveryStream(const Aws::String &value)
Definition Firehose.h:42
const Aws::String & GetDeliveryStream() const
Definition Firehose.h:37
Firehose & WithDeliveryStream(Aws::String &&value)
Definition Firehose.h:43
bool DeliveryStreamHasBeenSet() const
Definition Firehose.h:38
void SetDeliveryStream(const Aws::String &value)
Definition Firehose.h:39
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeliveryStream(const char *value)
Definition Firehose.h:41
AWS_KAFKA_API Firehose & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Firehose(Aws::Utils::Json::JsonView jsonValue)
Firehose & WithEnabled(bool value)
Definition Firehose.h:52
void SetEnabled(bool value)
Definition Firehose.h:51
Firehose & WithDeliveryStream(const char *value)
Definition Firehose.h:44
void SetDeliveryStream(Aws::String &&value)
Definition Firehose.h:40
bool EnabledHasBeenSet() const
Definition Firehose.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue