AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProcessingConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/firehose/model/Processor.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 Firehose
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FIREHOSE_API ProcessingConfiguration();
38 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnabled() const{ return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline ProcessingConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
55 inline const Aws::Vector<Processor>& GetProcessors() const{ return m_processors; }
56 inline bool ProcessorsHasBeenSet() const { return m_processorsHasBeenSet; }
57 inline void SetProcessors(const Aws::Vector<Processor>& value) { m_processorsHasBeenSet = true; m_processors = value; }
58 inline void SetProcessors(Aws::Vector<Processor>&& value) { m_processorsHasBeenSet = true; m_processors = std::move(value); }
59 inline ProcessingConfiguration& WithProcessors(const Aws::Vector<Processor>& value) { SetProcessors(value); return *this;}
60 inline ProcessingConfiguration& WithProcessors(Aws::Vector<Processor>&& value) { SetProcessors(std::move(value)); return *this;}
61 inline ProcessingConfiguration& AddProcessors(const Processor& value) { m_processorsHasBeenSet = true; m_processors.push_back(value); return *this; }
62 inline ProcessingConfiguration& AddProcessors(Processor&& value) { m_processorsHasBeenSet = true; m_processors.push_back(std::move(value)); return *this; }
64 private:
65
66 bool m_enabled;
67 bool m_enabledHasBeenSet = false;
68
69 Aws::Vector<Processor> m_processors;
70 bool m_processorsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Firehose
75} // namespace Aws
void SetProcessors(Aws::Vector< Processor > &&value)
ProcessingConfiguration & AddProcessors(Processor &&value)
AWS_FIREHOSE_API ProcessingConfiguration(Aws::Utils::Json::JsonView jsonValue)
ProcessingConfiguration & WithProcessors(Aws::Vector< Processor > &&value)
ProcessingConfiguration & WithEnabled(bool value)
ProcessingConfiguration & WithProcessors(const Aws::Vector< Processor > &value)
const Aws::Vector< Processor > & GetProcessors() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ProcessingConfiguration & AddProcessors(const Processor &value)
void SetProcessors(const Aws::Vector< Processor > &value)
AWS_FIREHOSE_API ProcessingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue