AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
27 AWS_QLDB_API StreamJournalToKinesisRequest() = default;
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 template<typename LedgerNameT = Aws::String>
45 void SetLedgerName(LedgerNameT&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::forward<LedgerNameT>(value); }
46 template<typename LedgerNameT = Aws::String>
47 StreamJournalToKinesisRequest& WithLedgerName(LedgerNameT&& value) { SetLedgerName(std::forward<LedgerNameT>(value)); return *this;}
49
51
58 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
59 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
60 template<typename RoleArnT = Aws::String>
61 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
62 template<typename RoleArnT = Aws::String>
63 StreamJournalToKinesisRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
65
67
71 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
72 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
73 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
74 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
75 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 StreamJournalToKinesisRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
77 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
78 StreamJournalToKinesisRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
79 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
80 }
82
84
94 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; }
95 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
96 template<typename InclusiveStartTimeT = Aws::Utils::DateTime>
97 void SetInclusiveStartTime(InclusiveStartTimeT&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::forward<InclusiveStartTimeT>(value); }
98 template<typename InclusiveStartTimeT = Aws::Utils::DateTime>
99 StreamJournalToKinesisRequest& WithInclusiveStartTime(InclusiveStartTimeT&& value) { SetInclusiveStartTime(std::forward<InclusiveStartTimeT>(value)); return *this;}
101
103
110 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; }
111 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
112 template<typename ExclusiveEndTimeT = Aws::Utils::DateTime>
113 void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::forward<ExclusiveEndTimeT>(value); }
114 template<typename ExclusiveEndTimeT = Aws::Utils::DateTime>
115 StreamJournalToKinesisRequest& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { SetExclusiveEndTime(std::forward<ExclusiveEndTimeT>(value)); return *this;}
117
119
123 inline const KinesisConfiguration& GetKinesisConfiguration() const { return m_kinesisConfiguration; }
124 inline bool KinesisConfigurationHasBeenSet() const { return m_kinesisConfigurationHasBeenSet; }
125 template<typename KinesisConfigurationT = KinesisConfiguration>
126 void SetKinesisConfiguration(KinesisConfigurationT&& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = std::forward<KinesisConfigurationT>(value); }
127 template<typename KinesisConfigurationT = KinesisConfiguration>
128 StreamJournalToKinesisRequest& WithKinesisConfiguration(KinesisConfigurationT&& value) { SetKinesisConfiguration(std::forward<KinesisConfigurationT>(value)); return *this;}
130
132
140 inline const Aws::String& GetStreamName() const { return m_streamName; }
141 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
142 template<typename StreamNameT = Aws::String>
143 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
144 template<typename StreamNameT = Aws::String>
145 StreamJournalToKinesisRequest& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
147 private:
148
149 Aws::String m_ledgerName;
150 bool m_ledgerNameHasBeenSet = false;
151
152 Aws::String m_roleArn;
153 bool m_roleArnHasBeenSet = false;
154
156 bool m_tagsHasBeenSet = false;
157
158 Aws::Utils::DateTime m_inclusiveStartTime{};
159 bool m_inclusiveStartTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_exclusiveEndTime{};
162 bool m_exclusiveEndTimeHasBeenSet = false;
163
164 KinesisConfiguration m_kinesisConfiguration;
165 bool m_kinesisConfigurationHasBeenSet = false;
166
167 Aws::String m_streamName;
168 bool m_streamNameHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace QLDB
173} // namespace Aws
StreamJournalToKinesisRequest & WithKinesisConfiguration(KinesisConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QLDB_API Aws::String SerializePayload() const override
StreamJournalToKinesisRequest & WithLedgerName(LedgerNameT &&value)
StreamJournalToKinesisRequest & WithRoleArn(RoleArnT &&value)
AWS_QLDB_API StreamJournalToKinesisRequest()=default
StreamJournalToKinesisRequest & WithInclusiveStartTime(InclusiveStartTimeT &&value)
StreamJournalToKinesisRequest & WithTags(TagsT &&value)
StreamJournalToKinesisRequest & WithStreamName(StreamNameT &&value)
StreamJournalToKinesisRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StreamJournalToKinesisRequest & WithExclusiveEndTime(ExclusiveEndTimeT &&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