AWS SDK for C++  1.9.104
AWS SDK for C++
Firehose.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:
33 
34 
35 
36  inline const Aws::String& GetDeliveryStream() const{ return m_deliveryStream; }
37 
38 
39  inline bool DeliveryStreamHasBeenSet() const { return m_deliveryStreamHasBeenSet; }
40 
41 
42  inline void SetDeliveryStream(const Aws::String& value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream = value; }
43 
44 
45  inline void SetDeliveryStream(Aws::String&& value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream = std::move(value); }
46 
47 
48  inline void SetDeliveryStream(const char* value) { m_deliveryStreamHasBeenSet = true; m_deliveryStream.assign(value); }
49 
50 
51  inline Firehose& WithDeliveryStream(const Aws::String& value) { SetDeliveryStream(value); return *this;}
52 
53 
54  inline Firehose& WithDeliveryStream(Aws::String&& value) { SetDeliveryStream(std::move(value)); return *this;}
55 
56 
57  inline Firehose& WithDeliveryStream(const char* value) { SetDeliveryStream(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 Firehose& WithEnabled(bool value) { SetEnabled(value); return *this;}
71 
72  private:
73 
74  Aws::String m_deliveryStream;
75  bool m_deliveryStreamHasBeenSet;
76 
77  bool m_enabled;
78  bool m_enabledHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Kafka
83 } // namespace Aws
Aws::Kafka::Model::Firehose::WithDeliveryStream
Firehose & WithDeliveryStream(const Aws::String &value)
Definition: Firehose.h:51
Aws::Kafka::Model::Firehose::Firehose
Firehose()
Aws::Kafka::Model::Firehose::WithDeliveryStream
Firehose & WithDeliveryStream(const char *value)
Definition: Firehose.h:57
Aws::Kafka::Model::Firehose::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: Firehose.h:64
Aws::Kafka::Model::Firehose::Firehose
Firehose(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Firehose::GetEnabled
bool GetEnabled() const
Definition: Firehose.h:61
Aws::Kafka::Model::Firehose::SetDeliveryStream
void SetDeliveryStream(Aws::String &&value)
Definition: Firehose.h:45
Aws::Kafka::Model::Firehose::WithEnabled
Firehose & WithEnabled(bool value)
Definition: Firehose.h:70
Aws::Kafka::Model::Firehose::operator=
Firehose & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Firehose::SetDeliveryStream
void SetDeliveryStream(const char *value)
Definition: Firehose.h:48
Aws::Kafka::Model::Firehose::DeliveryStreamHasBeenSet
bool DeliveryStreamHasBeenSet() const
Definition: Firehose.h:39
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::Firehose::GetDeliveryStream
const Aws::String & GetDeliveryStream() const
Definition: Firehose.h:36
Aws::Kafka::Model::Firehose::SetDeliveryStream
void SetDeliveryStream(const Aws::String &value)
Definition: Firehose.h:42
Aws::Kafka::Model::Firehose::WithDeliveryStream
Firehose & WithDeliveryStream(Aws::String &&value)
Definition: Firehose.h:54
Aws::Kafka::Model::Firehose::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::Firehose
Definition: Firehose.h:27
Aws::Kafka::Model::Firehose::SetEnabled
void SetEnabled(bool value)
Definition: Firehose.h:67