AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FirehoseAction.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API FirehoseAction() = default;
39
40
42
45 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 template<typename RoleArnT = Aws::String>
48 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
49 template<typename RoleArnT = Aws::String>
50 FirehoseAction& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDeliveryStreamName() const { return m_deliveryStreamName; }
58 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
59 template<typename DeliveryStreamNameT = Aws::String>
60 void SetDeliveryStreamName(DeliveryStreamNameT&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::forward<DeliveryStreamNameT>(value); }
61 template<typename DeliveryStreamNameT = Aws::String>
62 FirehoseAction& WithDeliveryStreamName(DeliveryStreamNameT&& value) { SetDeliveryStreamName(std::forward<DeliveryStreamNameT>(value)); return *this;}
64
66
71 inline const Aws::String& GetSeparator() const { return m_separator; }
72 inline bool SeparatorHasBeenSet() const { return m_separatorHasBeenSet; }
73 template<typename SeparatorT = Aws::String>
74 void SetSeparator(SeparatorT&& value) { m_separatorHasBeenSet = true; m_separator = std::forward<SeparatorT>(value); }
75 template<typename SeparatorT = Aws::String>
76 FirehoseAction& WithSeparator(SeparatorT&& value) { SetSeparator(std::forward<SeparatorT>(value)); return *this;}
78
80
90 inline bool GetBatchMode() const { return m_batchMode; }
91 inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
92 inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
93 inline FirehoseAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
95 private:
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
100 Aws::String m_deliveryStreamName;
101 bool m_deliveryStreamNameHasBeenSet = false;
102
103 Aws::String m_separator;
104 bool m_separatorHasBeenSet = false;
105
106 bool m_batchMode{false};
107 bool m_batchModeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace IoT
112} // namespace Aws
const Aws::String & GetSeparator() const
AWS_IOT_API FirehoseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
FirehoseAction & WithDeliveryStreamName(DeliveryStreamNameT &&value)
FirehoseAction & WithRoleArn(RoleArnT &&value)
void SetSeparator(SeparatorT &&value)
FirehoseAction & WithBatchMode(bool value)
void SetDeliveryStreamName(DeliveryStreamNameT &&value)
AWS_IOT_API FirehoseAction(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API FirehoseAction()=default
FirehoseAction & WithSeparator(SeparatorT &&value)
const Aws::String & GetDeliveryStreamName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue