AWS SDK for C++  1.9.129
AWS SDK for C++
FirehoseAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 
49  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 
54  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
55 
59  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
60 
64  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 
69  inline FirehoseAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
70 
74  inline FirehoseAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
75 
79  inline FirehoseAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
86 
90  inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
91 
95  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
96 
100  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
101 
105  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
106 
110  inline FirehoseAction& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
111 
115  inline FirehoseAction& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
116 
120  inline FirehoseAction& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
121 
122 
128  inline const Aws::String& GetSeparator() const{ return m_separator; }
129 
135  inline bool SeparatorHasBeenSet() const { return m_separatorHasBeenSet; }
136 
142  inline void SetSeparator(const Aws::String& value) { m_separatorHasBeenSet = true; m_separator = value; }
143 
149  inline void SetSeparator(Aws::String&& value) { m_separatorHasBeenSet = true; m_separator = std::move(value); }
150 
156  inline void SetSeparator(const char* value) { m_separatorHasBeenSet = true; m_separator.assign(value); }
157 
163  inline FirehoseAction& WithSeparator(const Aws::String& value) { SetSeparator(value); return *this;}
164 
170  inline FirehoseAction& WithSeparator(Aws::String&& value) { SetSeparator(std::move(value)); return *this;}
171 
177  inline FirehoseAction& WithSeparator(const char* value) { SetSeparator(value); return *this;}
178 
179 
190  inline bool GetBatchMode() const{ return m_batchMode; }
191 
202  inline bool BatchModeHasBeenSet() const { return m_batchModeHasBeenSet; }
203 
214  inline void SetBatchMode(bool value) { m_batchModeHasBeenSet = true; m_batchMode = value; }
215 
226  inline FirehoseAction& WithBatchMode(bool value) { SetBatchMode(value); return *this;}
227 
228  private:
229 
230  Aws::String m_roleArn;
231  bool m_roleArnHasBeenSet;
232 
233  Aws::String m_deliveryStreamName;
234  bool m_deliveryStreamNameHasBeenSet;
235 
236  Aws::String m_separator;
237  bool m_separatorHasBeenSet;
238 
239  bool m_batchMode;
240  bool m_batchModeHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace IoT
245 } // namespace Aws
Aws::IoT::Model::FirehoseAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: FirehoseAction.h:64
Aws::IoT::Model::FirehoseAction::SetBatchMode
void SetBatchMode(bool value)
Definition: FirehoseAction.h:214
Aws::IoT::Model::FirehoseAction::FirehoseAction
FirehoseAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::FirehoseAction::SetDeliveryStreamName
void SetDeliveryStreamName(Aws::String &&value)
Definition: FirehoseAction.h:100
Aws::IoT::Model::FirehoseAction::WithRoleArn
FirehoseAction & WithRoleArn(Aws::String &&value)
Definition: FirehoseAction.h:74
Aws::IoT::Model::FirehoseAction::SetDeliveryStreamName
void SetDeliveryStreamName(const Aws::String &value)
Definition: FirehoseAction.h:95
Aws::IoT::Model::FirehoseAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: FirehoseAction.h:44
Aws::IoT::Model::FirehoseAction::WithRoleArn
FirehoseAction & WithRoleArn(const Aws::String &value)
Definition: FirehoseAction.h:69
Aws::IoT::Model::FirehoseAction::SetSeparator
void SetSeparator(const Aws::String &value)
Definition: FirehoseAction.h:142
Aws::IoT::Model::FirehoseAction::WithSeparator
FirehoseAction & WithSeparator(const char *value)
Definition: FirehoseAction.h:177
Aws::IoT::Model::FirehoseAction::operator=
FirehoseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::FirehoseAction::BatchModeHasBeenSet
bool BatchModeHasBeenSet() const
Definition: FirehoseAction.h:202
Aws::IoT::Model::FirehoseAction::SetDeliveryStreamName
void SetDeliveryStreamName(const char *value)
Definition: FirehoseAction.h:105
Aws::IoT::Model::FirehoseAction::GetSeparator
const Aws::String & GetSeparator() const
Definition: FirehoseAction.h:128
Aws::IoT::Model::FirehoseAction::DeliveryStreamNameHasBeenSet
bool DeliveryStreamNameHasBeenSet() const
Definition: FirehoseAction.h:90
Aws::IoT::Model::FirehoseAction::FirehoseAction
FirehoseAction()
Aws::IoT::Model::FirehoseAction::GetDeliveryStreamName
const Aws::String & GetDeliveryStreamName() const
Definition: FirehoseAction.h:85
Aws::IoT::Model::FirehoseAction::SetSeparator
void SetSeparator(const char *value)
Definition: FirehoseAction.h:156
Aws::IoT::Model::FirehoseAction::SeparatorHasBeenSet
bool SeparatorHasBeenSet() const
Definition: FirehoseAction.h:135
Aws::IoT::Model::FirehoseAction::WithDeliveryStreamName
FirehoseAction & WithDeliveryStreamName(Aws::String &&value)
Definition: FirehoseAction.h:115
Aws::IoT::Model::FirehoseAction::WithDeliveryStreamName
FirehoseAction & WithDeliveryStreamName(const Aws::String &value)
Definition: FirehoseAction.h:110
Aws::IoT::Model::FirehoseAction::WithSeparator
FirehoseAction & WithSeparator(const Aws::String &value)
Definition: FirehoseAction.h:163
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::FirehoseAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSString.h
Aws::IoT::Model::FirehoseAction::WithDeliveryStreamName
FirehoseAction & WithDeliveryStreamName(const char *value)
Definition: FirehoseAction.h:120
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::FirehoseAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: FirehoseAction.h:59
Aws::IoT::Model::FirehoseAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: FirehoseAction.h:54
Aws::IoT::Model::FirehoseAction::SetSeparator
void SetSeparator(Aws::String &&value)
Definition: FirehoseAction.h:149
Aws::IoT::Model::FirehoseAction::WithSeparator
FirehoseAction & WithSeparator(Aws::String &&value)
Definition: FirehoseAction.h:170
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::FirehoseAction
Definition: FirehoseAction.h:33
Aws::IoT::Model::FirehoseAction::WithBatchMode
FirehoseAction & WithBatchMode(bool value)
Definition: FirehoseAction.h:226
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::FirehoseAction::GetBatchMode
bool GetBatchMode() const
Definition: FirehoseAction.h:190
Aws::IoT::Model::FirehoseAction::WithRoleArn
FirehoseAction & WithRoleArn(const char *value)
Definition: FirehoseAction.h:79
IoT_EXPORTS.h
Aws::IoT::Model::FirehoseAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: FirehoseAction.h:49