AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 KinesisAction& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetStreamName() const { return m_streamName; }
58 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
59 template<typename StreamNameT = Aws::String>
60 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
61 template<typename StreamNameT = Aws::String>
62 KinesisAction& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetPartitionKey() const { return m_partitionKey; }
70 inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
71 template<typename PartitionKeyT = Aws::String>
72 void SetPartitionKey(PartitionKeyT&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = std::forward<PartitionKeyT>(value); }
73 template<typename PartitionKeyT = Aws::String>
74 KinesisAction& WithPartitionKey(PartitionKeyT&& value) { SetPartitionKey(std::forward<PartitionKeyT>(value)); return *this;}
76 private:
77
78 Aws::String m_roleArn;
79 bool m_roleArnHasBeenSet = false;
80
81 Aws::String m_streamName;
82 bool m_streamNameHasBeenSet = false;
83
84 Aws::String m_partitionKey;
85 bool m_partitionKeyHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoT
90} // namespace Aws
AWS_IOT_API KinesisAction()=default
AWS_IOT_API KinesisAction(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
KinesisAction & WithRoleArn(RoleArnT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
KinesisAction & WithStreamName(StreamNameT &&value)
KinesisAction & WithPartitionKey(PartitionKeyT &&value)
const Aws::String & GetPartitionKey() const
void SetPartitionKey(PartitionKeyT &&value)
AWS_IOT_API KinesisAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStreamName() const
void SetStreamName(StreamNameT &&value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue