AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Firehose {
20namespace Model {
21
31 public:
32 AWS_FIREHOSE_API DynamicPartitioningConfiguration() = default;
35 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const RetryOptions& GetRetryOptions() const { return m_retryOptions; }
43 inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; }
44 template <typename RetryOptionsT = RetryOptions>
45 void SetRetryOptions(RetryOptionsT&& value) {
46 m_retryOptionsHasBeenSet = true;
47 m_retryOptions = std::forward<RetryOptionsT>(value);
48 }
49 template <typename RetryOptionsT = RetryOptions>
51 SetRetryOptions(std::forward<RetryOptionsT>(value));
52 return *this;
53 }
55
57
61 inline bool GetEnabled() const { return m_enabled; }
62 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
63 inline void SetEnabled(bool value) {
64 m_enabledHasBeenSet = true;
65 m_enabled = value;
66 }
68 SetEnabled(value);
69 return *this;
70 }
72 private:
73 RetryOptions m_retryOptions;
74
75 bool m_enabled{false};
76 bool m_retryOptionsHasBeenSet = false;
77 bool m_enabledHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Firehose
82} // namespace Aws
DynamicPartitioningConfiguration & WithRetryOptions(RetryOptionsT &&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
AWS_FIREHOSE_API DynamicPartitioningConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue