AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirehoseAction.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/Payload.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEvents
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTEVENTS_API FirehoseAction();
38 AWS_IOTEVENTS_API FirehoseAction(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
49 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
50 inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
51 inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
52 inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
53 inline FirehoseAction& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
54 inline FirehoseAction& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
55 inline FirehoseAction& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
57
59
64 inline const Aws::String& GetSeparator() const{ return m_separator; }
65 inline bool SeparatorHasBeenSet() const { return m_separatorHasBeenSet; }
66 inline void SetSeparator(const Aws::String& value) { m_separatorHasBeenSet = true; m_separator = value; }
67 inline void SetSeparator(Aws::String&& value) { m_separatorHasBeenSet = true; m_separator = std::move(value); }
68 inline void SetSeparator(const char* value) { m_separatorHasBeenSet = true; m_separator.assign(value); }
69 inline FirehoseAction& WithSeparator(const Aws::String& value) { SetSeparator(value); return *this;}
70 inline FirehoseAction& WithSeparator(Aws::String&& value) { SetSeparator(std::move(value)); return *this;}
71 inline FirehoseAction& WithSeparator(const char* value) { SetSeparator(value); return *this;}
73
75
79 inline const Payload& GetPayload() const{ return m_payload; }
80 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
81 inline void SetPayload(const Payload& value) { m_payloadHasBeenSet = true; m_payload = value; }
82 inline void SetPayload(Payload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
83 inline FirehoseAction& WithPayload(const Payload& value) { SetPayload(value); return *this;}
84 inline FirehoseAction& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_deliveryStreamName;
89 bool m_deliveryStreamNameHasBeenSet = false;
90
91 Aws::String m_separator;
92 bool m_separatorHasBeenSet = false;
93
94 Payload m_payload;
95 bool m_payloadHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoTEvents
100} // namespace Aws
const Aws::String & GetSeparator() const
FirehoseAction & WithSeparator(const char *value)
void SetDeliveryStreamName(const char *value)
FirehoseAction & WithPayload(const Payload &value)
void SetSeparator(const char *value)
void SetSeparator(const Aws::String &value)
AWS_IOTEVENTS_API FirehoseAction(Aws::Utils::Json::JsonView jsonValue)
FirehoseAction & WithSeparator(Aws::String &&value)
void SetPayload(const Payload &value)
void SetDeliveryStreamName(const Aws::String &value)
FirehoseAction & WithDeliveryStreamName(const char *value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
FirehoseAction & WithDeliveryStreamName(const Aws::String &value)
AWS_IOTEVENTS_API FirehoseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
FirehoseAction & WithSeparator(const Aws::String &value)
void SetSeparator(Aws::String &&value)
void SetDeliveryStreamName(Aws::String &&value)
FirehoseAction & WithDeliveryStreamName(Aws::String &&value)
FirehoseAction & WithPayload(Payload &&value)
const Aws::String & GetDeliveryStreamName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue