AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisAction.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 KinesisAction();
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 KinesisAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline KinesisAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline KinesisAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const Aws::String& GetStreamName() const{ return m_streamName; }
60 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
61 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
62 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
63 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
64 inline KinesisAction& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
65 inline KinesisAction& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
66 inline KinesisAction& WithStreamName(const char* value) { SetStreamName(value); return *this;}
68
70
73 inline const Aws::String& GetPartitionKey() const{ return m_partitionKey; }
74 inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
75 inline void SetPartitionKey(const Aws::String& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = value; }
76 inline void SetPartitionKey(Aws::String&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = std::move(value); }
77 inline void SetPartitionKey(const char* value) { m_partitionKeyHasBeenSet = true; m_partitionKey.assign(value); }
78 inline KinesisAction& WithPartitionKey(const Aws::String& value) { SetPartitionKey(value); return *this;}
79 inline KinesisAction& WithPartitionKey(Aws::String&& value) { SetPartitionKey(std::move(value)); return *this;}
80 inline KinesisAction& WithPartitionKey(const char* value) { SetPartitionKey(value); return *this;}
82 private:
83
84 Aws::String m_roleArn;
85 bool m_roleArnHasBeenSet = false;
86
87 Aws::String m_streamName;
88 bool m_streamNameHasBeenSet = false;
89
90 Aws::String m_partitionKey;
91 bool m_partitionKeyHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoT
96} // namespace Aws
AWS_IOT_API KinesisAction(Aws::Utils::Json::JsonView jsonValue)
void SetPartitionKey(const char *value)
KinesisAction & WithPartitionKey(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
KinesisAction & WithPartitionKey(const char *value)
void SetRoleArn(const Aws::String &value)
KinesisAction & WithRoleArn(Aws::String &&value)
const Aws::String & GetPartitionKey() const
void SetRoleArn(const char *value)
void SetPartitionKey(Aws::String &&value)
AWS_IOT_API KinesisAction & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisAction & WithRoleArn(const Aws::String &value)
KinesisAction & WithPartitionKey(const Aws::String &value)
KinesisAction & WithRoleArn(const char *value)
KinesisAction & WithStreamName(const char *value)
KinesisAction & WithStreamName(const Aws::String &value)
void SetPartitionKey(const Aws::String &value)
void SetStreamName(const char *value)
const Aws::String & GetStreamName() const
KinesisAction & WithStreamName(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetRoleArn(Aws::String &&value)
void SetStreamName(const Aws::String &value)
void SetStreamName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue