AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DeliveryStreamNameT = Aws::String>
51 void SetDeliveryStreamName(DeliveryStreamNameT&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::forward<DeliveryStreamNameT>(value); }
52 template<typename DeliveryStreamNameT = Aws::String>
53 FirehoseAction& WithDeliveryStreamName(DeliveryStreamNameT&& value) { SetDeliveryStreamName(std::forward<DeliveryStreamNameT>(value)); return *this;}
55
57
62 inline const Aws::String& GetSeparator() const { return m_separator; }
63 inline bool SeparatorHasBeenSet() const { return m_separatorHasBeenSet; }
64 template<typename SeparatorT = Aws::String>
65 void SetSeparator(SeparatorT&& value) { m_separatorHasBeenSet = true; m_separator = std::forward<SeparatorT>(value); }
66 template<typename SeparatorT = Aws::String>
67 FirehoseAction& WithSeparator(SeparatorT&& value) { SetSeparator(std::forward<SeparatorT>(value)); return *this;}
69
71
75 inline const Payload& GetPayload() const { return m_payload; }
76 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
77 template<typename PayloadT = Payload>
78 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
79 template<typename PayloadT = Payload>
80 FirehoseAction& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
82 private:
83
84 Aws::String m_deliveryStreamName;
85 bool m_deliveryStreamNameHasBeenSet = false;
86
87 Aws::String m_separator;
88 bool m_separatorHasBeenSet = false;
89
90 Payload m_payload;
91 bool m_payloadHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTEvents
96} // namespace Aws
FirehoseAction & WithPayload(PayloadT &&value)
const Aws::String & GetSeparator() const
FirehoseAction & WithDeliveryStreamName(DeliveryStreamNameT &&value)
AWS_IOTEVENTS_API FirehoseAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API FirehoseAction()=default
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeparator(SeparatorT &&value)
AWS_IOTEVENTS_API FirehoseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
FirehoseAction & WithSeparator(SeparatorT &&value)
void SetDeliveryStreamName(DeliveryStreamNameT &&value)
const Aws::String & GetDeliveryStreamName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue