AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
PipeSourceSqsQueueParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Pipes {
17namespace Model {
18
26 public:
27 AWS_PIPES_API PipeSourceSqsQueueParameters() = default;
30 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetBatchSize() const { return m_batchSize; }
37 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
38 inline void SetBatchSize(int value) {
39 m_batchSizeHasBeenSet = true;
40 m_batchSize = value;
41 }
43 SetBatchSize(value);
44 return *this;
45 }
47
49
52 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
53 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
54 inline void SetMaximumBatchingWindowInSeconds(int value) {
55 m_maximumBatchingWindowInSecondsHasBeenSet = true;
56 m_maximumBatchingWindowInSeconds = value;
57 }
60 return *this;
61 }
63 private:
64 int m_batchSize{0};
65
66 int m_maximumBatchingWindowInSeconds{0};
67 bool m_batchSizeHasBeenSet = false;
68 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Pipes
73} // namespace Aws
AWS_PIPES_API PipeSourceSqsQueueParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeSourceSqsQueueParameters & WithMaximumBatchingWindowInSeconds(int value)
PipeSourceSqsQueueParameters & WithBatchSize(int value)
AWS_PIPES_API PipeSourceSqsQueueParameters()=default
AWS_PIPES_API PipeSourceSqsQueueParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue