AWS SDK for C++  1.9.40
AWS SDK for C++
StreamJournalToKinesisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/qldb/QLDBRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace QLDB
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StreamJournalToKinesis"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetLedgerName() const{ return m_ledgerName; }
42 
46  inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; }
47 
51  inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; }
52 
56  inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); }
57 
61  inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); }
62 
66  inline StreamJournalToKinesisRequest& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;}
67 
71  inline StreamJournalToKinesisRequest& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;}
72 
76  inline StreamJournalToKinesisRequest& WithLedgerName(const char* value) { SetLedgerName(value); return *this;}
77 
78 
84  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
85 
91  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
92 
98  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
99 
105  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
106 
112  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
113 
119  inline StreamJournalToKinesisRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
120 
126  inline StreamJournalToKinesisRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
127 
133  inline StreamJournalToKinesisRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
134 
135 
140  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
141 
146  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 
152  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
153 
158  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
159 
164  inline StreamJournalToKinesisRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
165 
170  inline StreamJournalToKinesisRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
171 
176  inline StreamJournalToKinesisRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
177 
182  inline StreamJournalToKinesisRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
183 
188  inline StreamJournalToKinesisRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
189 
194  inline StreamJournalToKinesisRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
195 
200  inline StreamJournalToKinesisRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
201 
206  inline StreamJournalToKinesisRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
207 
212  inline StreamJournalToKinesisRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
213 
214 
225  inline const Aws::Utils::DateTime& GetInclusiveStartTime() const{ return m_inclusiveStartTime; }
226 
237  inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
238 
249  inline void SetInclusiveStartTime(const Aws::Utils::DateTime& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = value; }
250 
261  inline void SetInclusiveStartTime(Aws::Utils::DateTime&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::move(value); }
262 
273  inline StreamJournalToKinesisRequest& WithInclusiveStartTime(const Aws::Utils::DateTime& value) { SetInclusiveStartTime(value); return *this;}
274 
285  inline StreamJournalToKinesisRequest& WithInclusiveStartTime(Aws::Utils::DateTime&& value) { SetInclusiveStartTime(std::move(value)); return *this;}
286 
287 
295  inline const Aws::Utils::DateTime& GetExclusiveEndTime() const{ return m_exclusiveEndTime; }
296 
304  inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
305 
313  inline void SetExclusiveEndTime(const Aws::Utils::DateTime& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = value; }
314 
322  inline void SetExclusiveEndTime(Aws::Utils::DateTime&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::move(value); }
323 
331  inline StreamJournalToKinesisRequest& WithExclusiveEndTime(const Aws::Utils::DateTime& value) { SetExclusiveEndTime(value); return *this;}
332 
340  inline StreamJournalToKinesisRequest& WithExclusiveEndTime(Aws::Utils::DateTime&& value) { SetExclusiveEndTime(std::move(value)); return *this;}
341 
342 
347  inline const KinesisConfiguration& GetKinesisConfiguration() const{ return m_kinesisConfiguration; }
348 
353  inline bool KinesisConfigurationHasBeenSet() const { return m_kinesisConfigurationHasBeenSet; }
354 
359  inline void SetKinesisConfiguration(const KinesisConfiguration& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = value; }
360 
365  inline void SetKinesisConfiguration(KinesisConfiguration&& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = std::move(value); }
366 
371  inline StreamJournalToKinesisRequest& WithKinesisConfiguration(const KinesisConfiguration& value) { SetKinesisConfiguration(value); return *this;}
372 
377  inline StreamJournalToKinesisRequest& WithKinesisConfiguration(KinesisConfiguration&& value) { SetKinesisConfiguration(std::move(value)); return *this;}
378 
379 
388  inline const Aws::String& GetStreamName() const{ return m_streamName; }
389 
398  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
399 
408  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
409 
418  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
419 
428  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
429 
438  inline StreamJournalToKinesisRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
439 
448  inline StreamJournalToKinesisRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
449 
458  inline StreamJournalToKinesisRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
459 
460  private:
461 
462  Aws::String m_ledgerName;
463  bool m_ledgerNameHasBeenSet;
464 
465  Aws::String m_roleArn;
466  bool m_roleArnHasBeenSet;
467 
469  bool m_tagsHasBeenSet;
470 
471  Aws::Utils::DateTime m_inclusiveStartTime;
472  bool m_inclusiveStartTimeHasBeenSet;
473 
474  Aws::Utils::DateTime m_exclusiveEndTime;
475  bool m_exclusiveEndTimeHasBeenSet;
476 
477  KinesisConfiguration m_kinesisConfiguration;
478  bool m_kinesisConfigurationHasBeenSet;
479 
480  Aws::String m_streamName;
481  bool m_streamNameHasBeenSet;
482  };
483 
484 } // namespace Model
485 } // namespace QLDB
486 } // namespace Aws
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetLedgerName
void SetLedgerName(Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:56
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithRoleArn
StreamJournalToKinesisRequest & WithRoleArn(const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:119
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetInclusiveStartTime
const Aws::Utils::DateTime & GetInclusiveStartTime() const
Definition: StreamJournalToKinesisRequest.h:225
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithKinesisConfiguration
StreamJournalToKinesisRequest & WithKinesisConfiguration(const KinesisConfiguration &value)
Definition: StreamJournalToKinesisRequest.h:371
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithExclusiveEndTime
StreamJournalToKinesisRequest & WithExclusiveEndTime(Aws::Utils::DateTime &&value)
Definition: StreamJournalToKinesisRequest.h:340
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetKinesisConfiguration
void SetKinesisConfiguration(const KinesisConfiguration &value)
Definition: StreamJournalToKinesisRequest.h:359
Aws::QLDB::Model::StreamJournalToKinesisRequest::InclusiveStartTimeHasBeenSet
bool InclusiveStartTimeHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:237
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:105
Aws::QLDB::Model::StreamJournalToKinesisRequest::StreamJournalToKinesisRequest
StreamJournalToKinesisRequest()
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithRoleArn
StreamJournalToKinesisRequest & WithRoleArn(Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:126
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(const char *key, const char *value)
Definition: StreamJournalToKinesisRequest.h:212
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithTags
StreamJournalToKinesisRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StreamJournalToKinesisRequest.h:170
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StreamJournalToKinesisRequest.h:158
AWS_QLDB_API
#define AWS_QLDB_API
Definition: QLDB_EXPORTS.h:28
DateTime.h
Aws::QLDB::Model::StreamJournalToKinesisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetLedgerName
const Aws::String & GetLedgerName() const
Definition: StreamJournalToKinesisRequest.h:41
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:194
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: StreamJournalToKinesisRequest.h:112
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetLedgerName
void SetLedgerName(const char *value)
Definition: StreamJournalToKinesisRequest.h:61
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithLedgerName
StreamJournalToKinesisRequest & WithLedgerName(const char *value)
Definition: StreamJournalToKinesisRequest.h:76
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithLedgerName
StreamJournalToKinesisRequest & WithLedgerName(const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:66
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StreamJournalToKinesisRequest.h:152
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:408
Aws::QLDB::Model::StreamJournalToKinesisRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:91
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: StreamJournalToKinesisRequest.h:140
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithRoleArn
StreamJournalToKinesisRequest & WithRoleArn(const char *value)
Definition: StreamJournalToKinesisRequest.h:133
KinesisConfiguration.h
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithInclusiveStartTime
StreamJournalToKinesisRequest & WithInclusiveStartTime(Aws::Utils::DateTime &&value)
Definition: StreamJournalToKinesisRequest.h:285
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetInclusiveStartTime
void SetInclusiveStartTime(const Aws::Utils::DateTime &value)
Definition: StreamJournalToKinesisRequest.h:249
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithKinesisConfiguration
StreamJournalToKinesisRequest & WithKinesisConfiguration(KinesisConfiguration &&value)
Definition: StreamJournalToKinesisRequest.h:377
Aws::QLDB::Model::StreamJournalToKinesisRequest
Definition: StreamJournalToKinesisRequest.h:25
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithStreamName
StreamJournalToKinesisRequest & WithStreamName(Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:448
QLDBRequest.h
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetStreamName
void SetStreamName(const char *value)
Definition: StreamJournalToKinesisRequest.h:428
Aws::QLDB::QLDBRequest
Definition: QLDBRequest.h:17
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetInclusiveStartTime
void SetInclusiveStartTime(Aws::Utils::DateTime &&value)
Definition: StreamJournalToKinesisRequest.h:261
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetExclusiveEndTime
const Aws::Utils::DateTime & GetExclusiveEndTime() const
Definition: StreamJournalToKinesisRequest.h:295
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetKinesisConfiguration
const KinesisConfiguration & GetKinesisConfiguration() const
Definition: StreamJournalToKinesisRequest.h:347
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: StreamJournalToKinesisRequest.h:388
AWSString.h
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithInclusiveStartTime
StreamJournalToKinesisRequest & WithInclusiveStartTime(const Aws::Utils::DateTime &value)
Definition: StreamJournalToKinesisRequest.h:273
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:176
Aws::QLDB::Model::KinesisConfiguration
Definition: KinesisConfiguration.h:33
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:188
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:98
Aws::QLDB::Model::StreamJournalToKinesisRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:146
QLDB_EXPORTS.h
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithExclusiveEndTime
StreamJournalToKinesisRequest & WithExclusiveEndTime(const Aws::Utils::DateTime &value)
Definition: StreamJournalToKinesisRequest.h:331
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithStreamName
StreamJournalToKinesisRequest & WithStreamName(const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:438
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithStreamName
StreamJournalToKinesisRequest & WithStreamName(const char *value)
Definition: StreamJournalToKinesisRequest.h:458
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:418
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(const char *key, Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:200
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetExclusiveEndTime
void SetExclusiveEndTime(Aws::Utils::DateTime &&value)
Definition: StreamJournalToKinesisRequest.h:322
Aws::QLDB::Model::StreamJournalToKinesisRequest::ExclusiveEndTimeHasBeenSet
bool ExclusiveEndTimeHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:304
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithLedgerName
StreamJournalToKinesisRequest & WithLedgerName(Aws::String &&value)
Definition: StreamJournalToKinesisRequest.h:71
Aws::QLDB::Model::StreamJournalToKinesisRequest::WithTags
StreamJournalToKinesisRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StreamJournalToKinesisRequest.h:164
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetLedgerName
void SetLedgerName(const Aws::String &value)
Definition: StreamJournalToKinesisRequest.h:51
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetKinesisConfiguration
void SetKinesisConfiguration(KinesisConfiguration &&value)
Definition: StreamJournalToKinesisRequest.h:365
Aws::QLDB::Model::StreamJournalToKinesisRequest::KinesisConfigurationHasBeenSet
bool KinesisConfigurationHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:353
AWSMap.h
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: StreamJournalToKinesisRequest.h:84
Aws::QLDB::Model::StreamJournalToKinesisRequest::LedgerNameHasBeenSet
bool LedgerNameHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:46
Aws::QLDB::Model::StreamJournalToKinesisRequest::AddTags
StreamJournalToKinesisRequest & AddTags(Aws::String &&key, const char *value)
Definition: StreamJournalToKinesisRequest.h:206
Aws::QLDB::Model::StreamJournalToKinesisRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: StreamJournalToKinesisRequest.h:398
Aws::QLDB::Model::StreamJournalToKinesisRequest::SetExclusiveEndTime
void SetExclusiveEndTime(const Aws::Utils::DateTime &value)
Definition: StreamJournalToKinesisRequest.h:313
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::QLDB::Model::StreamJournalToKinesisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StreamJournalToKinesisRequest.h:33