AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePipeSourceKinesisStreamParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/model/DeadLetterConfig.h>
9#include <aws/pipes/model/OnPartialBatchItemFailureStreams.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pipes
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetBatchSize() const{ return m_batchSize; }
47 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
48 inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
49 inline UpdatePipeSourceKinesisStreamParameters& WithBatchSize(int value) { SetBatchSize(value); return *this;}
51
53
56 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
57 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
58 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = value; }
59 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::move(value); }
63
65
70 inline const OnPartialBatchItemFailureStreams& GetOnPartialBatchItemFailure() const{ return m_onPartialBatchItemFailure; }
71 inline bool OnPartialBatchItemFailureHasBeenSet() const { return m_onPartialBatchItemFailureHasBeenSet; }
72 inline void SetOnPartialBatchItemFailure(const OnPartialBatchItemFailureStreams& value) { m_onPartialBatchItemFailureHasBeenSet = true; m_onPartialBatchItemFailure = value; }
73 inline void SetOnPartialBatchItemFailure(OnPartialBatchItemFailureStreams&& value) { m_onPartialBatchItemFailureHasBeenSet = true; m_onPartialBatchItemFailure = std::move(value); }
77
79
82 inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; }
83 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
84 inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
87
89
94 inline int GetMaximumRecordAgeInSeconds() const{ return m_maximumRecordAgeInSeconds; }
95 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
96 inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSecondsHasBeenSet = true; m_maximumRecordAgeInSeconds = value; }
99
101
107 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
108 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
109 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
112
114
118 inline int GetParallelizationFactor() const{ return m_parallelizationFactor; }
119 inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
120 inline void SetParallelizationFactor(int value) { m_parallelizationFactorHasBeenSet = true; m_parallelizationFactor = value; }
123 private:
124
125 int m_batchSize;
126 bool m_batchSizeHasBeenSet = false;
127
128 DeadLetterConfig m_deadLetterConfig;
129 bool m_deadLetterConfigHasBeenSet = false;
130
131 OnPartialBatchItemFailureStreams m_onPartialBatchItemFailure;
132 bool m_onPartialBatchItemFailureHasBeenSet = false;
133
134 int m_maximumBatchingWindowInSeconds;
135 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
136
137 int m_maximumRecordAgeInSeconds;
138 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
139
140 int m_maximumRetryAttempts;
141 bool m_maximumRetryAttemptsHasBeenSet = false;
142
143 int m_parallelizationFactor;
144 bool m_parallelizationFactorHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Pipes
149} // namespace Aws
UpdatePipeSourceKinesisStreamParameters & WithMaximumBatchingWindowInSeconds(int value)
UpdatePipeSourceKinesisStreamParameters & WithOnPartialBatchItemFailure(const OnPartialBatchItemFailureStreams &value)
UpdatePipeSourceKinesisStreamParameters & WithParallelizationFactor(int value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOnPartialBatchItemFailure(const OnPartialBatchItemFailureStreams &value)
AWS_PIPES_API UpdatePipeSourceKinesisStreamParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API UpdatePipeSourceKinesisStreamParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const OnPartialBatchItemFailureStreams & GetOnPartialBatchItemFailure() const
UpdatePipeSourceKinesisStreamParameters & WithMaximumRecordAgeInSeconds(int value)
UpdatePipeSourceKinesisStreamParameters & WithMaximumRetryAttempts(int value)
UpdatePipeSourceKinesisStreamParameters & WithDeadLetterConfig(const DeadLetterConfig &value)
UpdatePipeSourceKinesisStreamParameters & WithDeadLetterConfig(DeadLetterConfig &&value)
UpdatePipeSourceKinesisStreamParameters & WithOnPartialBatchItemFailure(OnPartialBatchItemFailureStreams &&value)
Aws::Utils::Json::JsonValue JsonValue