AWS SDK for C++  1.9.129
AWS SDK for C++
KinesisAction.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 KinesisAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
70 
74  inline KinesisAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
75 
79  inline KinesisAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetStreamName() const{ return m_streamName; }
86 
90  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
91 
95  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
96 
100  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
101 
105  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
106 
110  inline KinesisAction& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
111 
115  inline KinesisAction& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
116 
120  inline KinesisAction& WithStreamName(const char* value) { SetStreamName(value); return *this;}
121 
122 
126  inline const Aws::String& GetPartitionKey() const{ return m_partitionKey; }
127 
131  inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
132 
136  inline void SetPartitionKey(const Aws::String& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = value; }
137 
141  inline void SetPartitionKey(Aws::String&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = std::move(value); }
142 
146  inline void SetPartitionKey(const char* value) { m_partitionKeyHasBeenSet = true; m_partitionKey.assign(value); }
147 
151  inline KinesisAction& WithPartitionKey(const Aws::String& value) { SetPartitionKey(value); return *this;}
152 
156  inline KinesisAction& WithPartitionKey(Aws::String&& value) { SetPartitionKey(std::move(value)); return *this;}
157 
161  inline KinesisAction& WithPartitionKey(const char* value) { SetPartitionKey(value); return *this;}
162 
163  private:
164 
165  Aws::String m_roleArn;
166  bool m_roleArnHasBeenSet;
167 
168  Aws::String m_streamName;
169  bool m_streamNameHasBeenSet;
170 
171  Aws::String m_partitionKey;
172  bool m_partitionKeyHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace IoT
177 } // namespace Aws
Aws::IoT::Model::KinesisAction::GetPartitionKey
const Aws::String & GetPartitionKey() const
Definition: KinesisAction.h:126
Aws::IoT::Model::KinesisAction::KinesisAction
KinesisAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::KinesisAction::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: KinesisAction.h:95
Aws::IoT::Model::KinesisAction::SetPartitionKey
void SetPartitionKey(const Aws::String &value)
Definition: KinesisAction.h:136
Aws::IoT::Model::KinesisAction::WithStreamName
KinesisAction & WithStreamName(const Aws::String &value)
Definition: KinesisAction.h:110
Aws::IoT::Model::KinesisAction::SetPartitionKey
void SetPartitionKey(Aws::String &&value)
Definition: KinesisAction.h:141
Aws::IoT::Model::KinesisAction
Definition: KinesisAction.h:33
Aws::IoT::Model::KinesisAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: KinesisAction.h:44
Aws::IoT::Model::KinesisAction::PartitionKeyHasBeenSet
bool PartitionKeyHasBeenSet() const
Definition: KinesisAction.h:131
Aws::IoT::Model::KinesisAction::GetStreamName
const Aws::String & GetStreamName() const
Definition: KinesisAction.h:85
Aws::IoT::Model::KinesisAction::WithRoleArn
KinesisAction & WithRoleArn(const char *value)
Definition: KinesisAction.h:79
Aws::IoT::Model::KinesisAction::WithRoleArn
KinesisAction & WithRoleArn(const Aws::String &value)
Definition: KinesisAction.h:69
Aws::IoT::Model::KinesisAction::SetStreamName
void SetStreamName(const char *value)
Definition: KinesisAction.h:105
Aws::IoT::Model::KinesisAction::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: KinesisAction.h:90
Aws::IoT::Model::KinesisAction::SetPartitionKey
void SetPartitionKey(const char *value)
Definition: KinesisAction.h:146
Aws::IoT::Model::KinesisAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::KinesisAction::WithPartitionKey
KinesisAction & WithPartitionKey(const Aws::String &value)
Definition: KinesisAction.h:151
Aws::IoT::Model::KinesisAction::WithPartitionKey
KinesisAction & WithPartitionKey(Aws::String &&value)
Definition: KinesisAction.h:156
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::KinesisAction::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: KinesisAction.h:100
Aws::IoT::Model::KinesisAction::operator=
KinesisAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::KinesisAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: KinesisAction.h:54
Aws::IoT::Model::KinesisAction::WithStreamName
KinesisAction & WithStreamName(Aws::String &&value)
Definition: KinesisAction.h:115
Aws::IoT::Model::KinesisAction::KinesisAction
KinesisAction()
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::KinesisAction::WithRoleArn
KinesisAction & WithRoleArn(Aws::String &&value)
Definition: KinesisAction.h:74
Aws::IoT::Model::KinesisAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: KinesisAction.h:64
Aws::IoT::Model::KinesisAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: KinesisAction.h:49
Aws::IoT::Model::KinesisAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: KinesisAction.h:59
Aws::IoT::Model::KinesisAction::WithPartitionKey
KinesisAction & WithPartitionKey(const char *value)
Definition: KinesisAction.h:161
Aws::IoT::Model::KinesisAction::WithStreamName
KinesisAction & WithStreamName(const char *value)
Definition: KinesisAction.h:120
IoT_EXPORTS.h