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/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();
39
40
42
45 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
50 inline FirehoseAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline FirehoseAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline FirehoseAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
60 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
61 inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
62 inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
63 inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
64 inline FirehoseAction& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
65 inline FirehoseAction& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
66 inline FirehoseAction& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
68
70
75 inline const Aws::String& GetSeparator() const{ return m_separator; }
76 inline bool SeparatorHasBeenSet() const { return m_separatorHasBeenSet; }
77 inline void SetSeparator(const Aws::String& value) { m_separatorHasBeenSet = true; m_separator = value; }
78 inline void SetSeparator(Aws::String&& value) { m_separatorHasBeenSet = true; m_separator = std::move(value); }
79 inline void SetSeparator(const char* value) { m_separatorHasBeenSet = true; m_separator.assign(value); }
80 inline FirehoseAction& WithSeparator(const Aws::String& value) { SetSeparator(value); return *this;}
81 inline FirehoseAction& WithSeparator(Aws::String&& value) { SetSeparator(std::move(value)); return *this;}
82 inline FirehoseAction& WithSeparator(const char* value) { SetSeparator(value); return *this;}
84
86
96 inline bool GetBatchMode() const{ return m_batchMode; }
97 inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
98 inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
99 inline FirehoseAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
101 private:
102
103 Aws::String m_roleArn;
104 bool m_roleArnHasBeenSet = false;
105
106 Aws::String m_deliveryStreamName;
107 bool m_deliveryStreamNameHasBeenSet = false;
108
109 Aws::String m_separator;
110 bool m_separatorHasBeenSet = false;
111
112 bool m_batchMode;
113 bool m_batchModeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace IoT
118} // namespace Aws
void SetDeliveryStreamName(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetSeparator() const
void SetSeparator(const Aws::String &value)
AWS_IOT_API FirehoseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const char *value)
void SetDeliveryStreamName(const char *value)
void SetDeliveryStreamName(const Aws::String &value)
FirehoseAction & WithRoleArn(const Aws::String &value)
FirehoseAction & WithDeliveryStreamName(const Aws::String &value)
FirehoseAction & WithRoleArn(Aws::String &&value)
FirehoseAction & WithDeliveryStreamName(Aws::String &&value)
FirehoseAction & WithSeparator(const Aws::String &value)
FirehoseAction & WithBatchMode(bool value)
void SetRoleArn(Aws::String &&value)
void SetSeparator(const char *value)
AWS_IOT_API FirehoseAction(Aws::Utils::Json::JsonView jsonValue)
FirehoseAction & WithRoleArn(const char *value)
const Aws::String & GetRoleArn() const
FirehoseAction & WithSeparator(const char *value)
FirehoseAction & WithDeliveryStreamName(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
FirehoseAction & WithSeparator(Aws::String &&value)
void SetSeparator(Aws::String &&value)
const Aws::String & GetDeliveryStreamName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue