AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamJournalToKinesisRequest.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/QLDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qldb/model/KinesisConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QLDB
18{
19namespace 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_QLDB_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetLedgerName() const{ return m_ledgerName; }
43 inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; }
44 inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; }
45 inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); }
46 inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); }
47 inline StreamJournalToKinesisRequest& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;}
48 inline StreamJournalToKinesisRequest& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;}
49 inline StreamJournalToKinesisRequest& WithLedgerName(const char* value) { SetLedgerName(value); return *this;}
51
53
60 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
63 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
64 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 inline StreamJournalToKinesisRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
66 inline StreamJournalToKinesisRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
67 inline StreamJournalToKinesisRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
69
71
75 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
78 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
80 inline StreamJournalToKinesisRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
81 inline StreamJournalToKinesisRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
82 inline StreamJournalToKinesisRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
83 inline StreamJournalToKinesisRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
84 inline StreamJournalToKinesisRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
85 inline StreamJournalToKinesisRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
86 inline StreamJournalToKinesisRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
87 inline StreamJournalToKinesisRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
89
91
101 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const{ return m_inclusiveStartTime; }
102 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
103 inline void SetInclusiveStartTime(const Aws::Utils::DateTime& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = value; }
104 inline void SetInclusiveStartTime(Aws::Utils::DateTime&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::move(value); }
108
110
117 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const{ return m_exclusiveEndTime; }
118 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
119 inline void SetExclusiveEndTime(const Aws::Utils::DateTime& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = value; }
120 inline void SetExclusiveEndTime(Aws::Utils::DateTime&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::move(value); }
124
126
130 inline const KinesisConfiguration& GetKinesisConfiguration() const{ return m_kinesisConfiguration; }
131 inline bool KinesisConfigurationHasBeenSet() const { return m_kinesisConfigurationHasBeenSet; }
132 inline void SetKinesisConfiguration(const KinesisConfiguration& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = value; }
133 inline void SetKinesisConfiguration(KinesisConfiguration&& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = std::move(value); }
137
139
147 inline const Aws::String& GetStreamName() const{ return m_streamName; }
148 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
149 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
150 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
151 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
152 inline StreamJournalToKinesisRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
153 inline StreamJournalToKinesisRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
154 inline StreamJournalToKinesisRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
156 private:
157
158 Aws::String m_ledgerName;
159 bool m_ledgerNameHasBeenSet = false;
160
161 Aws::String m_roleArn;
162 bool m_roleArnHasBeenSet = false;
163
165 bool m_tagsHasBeenSet = false;
166
167 Aws::Utils::DateTime m_inclusiveStartTime;
168 bool m_inclusiveStartTimeHasBeenSet = false;
169
170 Aws::Utils::DateTime m_exclusiveEndTime;
171 bool m_exclusiveEndTimeHasBeenSet = false;
172
173 KinesisConfiguration m_kinesisConfiguration;
174 bool m_kinesisConfigurationHasBeenSet = false;
175
176 Aws::String m_streamName;
177 bool m_streamNameHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace QLDB
182} // namespace Aws
StreamJournalToKinesisRequest & AddTags(const char *key, Aws::String &&value)
StreamJournalToKinesisRequest & AddTags(const Aws::String &key, const Aws::String &value)
StreamJournalToKinesisRequest & WithLedgerName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StreamJournalToKinesisRequest & AddTags(const Aws::String &key, Aws::String &&value)
StreamJournalToKinesisRequest & AddTags(Aws::String &&key, const Aws::String &value)
StreamJournalToKinesisRequest & AddTags(Aws::String &&key, const char *value)
void SetExclusiveEndTime(const Aws::Utils::DateTime &value)
StreamJournalToKinesisRequest & WithRoleArn(const Aws::String &value)
StreamJournalToKinesisRequest & WithExclusiveEndTime(const Aws::Utils::DateTime &value)
StreamJournalToKinesisRequest & WithStreamName(const Aws::String &value)
StreamJournalToKinesisRequest & WithExclusiveEndTime(Aws::Utils::DateTime &&value)
StreamJournalToKinesisRequest & AddTags(const char *key, const char *value)
StreamJournalToKinesisRequest & WithStreamName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StreamJournalToKinesisRequest & WithKinesisConfiguration(const KinesisConfiguration &value)
StreamJournalToKinesisRequest & WithInclusiveStartTime(const Aws::Utils::DateTime &value)
StreamJournalToKinesisRequest & WithInclusiveStartTime(Aws::Utils::DateTime &&value)
AWS_QLDB_API Aws::String SerializePayload() const override
void SetKinesisConfiguration(const KinesisConfiguration &value)
StreamJournalToKinesisRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StreamJournalToKinesisRequest & WithStreamName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StreamJournalToKinesisRequest & WithRoleArn(const char *value)
StreamJournalToKinesisRequest & WithLedgerName(const Aws::String &value)
void SetInclusiveStartTime(const Aws::Utils::DateTime &value)
StreamJournalToKinesisRequest & WithLedgerName(const char *value)
StreamJournalToKinesisRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StreamJournalToKinesisRequest & AddTags(Aws::String &&key, Aws::String &&value)
StreamJournalToKinesisRequest & WithKinesisConfiguration(KinesisConfiguration &&value)
StreamJournalToKinesisRequest & WithRoleArn(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String