AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DynamicPartitioningConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/RetryOptions.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose
22{
23namespace Model
24{
25
35 {
36 public:
40 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const RetryOptions& GetRetryOptions() const{ return m_retryOptions; }
49 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
50 inline void SetRetryOptions(const RetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
51 inline void SetRetryOptions(RetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); }
53 inline DynamicPartitioningConfiguration& WithRetryOptions(RetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;}
55
57
61 inline bool GetEnabled() const{ return m_enabled; }
62 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
63 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
64 inline DynamicPartitioningConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
66 private:
67
68 RetryOptions m_retryOptions;
69 bool m_retryOptionsHasBeenSet = false;
70
71 bool m_enabled;
72 bool m_enabledHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Firehose
77} // namespace Aws
DynamicPartitioningConfiguration & WithRetryOptions(RetryOptions &&value)
AWS_FIREHOSE_API DynamicPartitioningConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API DynamicPartitioningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DynamicPartitioningConfiguration & WithRetryOptions(const RetryOptions &value)
Aws::Utils::Json::JsonValue JsonValue