AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Processor.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/ProcessorType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/firehose/model/ProcessorParameter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Firehose
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_FIREHOSE_API Processor();
41 AWS_FIREHOSE_API Processor(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FIREHOSE_API Processor& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const ProcessorType& GetType() const{ return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 inline void SetType(const ProcessorType& value) { m_typeHasBeenSet = true; m_type = value; }
53 inline void SetType(ProcessorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
54 inline Processor& WithType(const ProcessorType& value) { SetType(value); return *this;}
55 inline Processor& WithType(ProcessorType&& value) { SetType(std::move(value)); return *this;}
57
59
62 inline const Aws::Vector<ProcessorParameter>& GetParameters() const{ return m_parameters; }
63 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
64 inline void SetParameters(const Aws::Vector<ProcessorParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
65 inline void SetParameters(Aws::Vector<ProcessorParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
66 inline Processor& WithParameters(const Aws::Vector<ProcessorParameter>& value) { SetParameters(value); return *this;}
67 inline Processor& WithParameters(Aws::Vector<ProcessorParameter>&& value) { SetParameters(std::move(value)); return *this;}
68 inline Processor& AddParameters(const ProcessorParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
69 inline Processor& AddParameters(ProcessorParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
71 private:
72
73 ProcessorType m_type;
74 bool m_typeHasBeenSet = false;
75
77 bool m_parametersHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Firehose
82} // namespace Aws
void SetType(ProcessorType &&value)
Definition Processor.h:53
const Aws::Vector< ProcessorParameter > & GetParameters() const
Definition Processor.h:62
Processor & AddParameters(ProcessorParameter &&value)
Definition Processor.h:69
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
Processor & WithParameters(Aws::Vector< ProcessorParameter > &&value)
Definition Processor.h:67
AWS_FIREHOSE_API Processor & operator=(Aws::Utils::Json::JsonView jsonValue)
Processor & WithParameters(const Aws::Vector< ProcessorParameter > &value)
Definition Processor.h:66
AWS_FIREHOSE_API Processor()
Processor & WithType(const ProcessorType &value)
Definition Processor.h:54
Processor & WithType(ProcessorType &&value)
Definition Processor.h:55
void SetType(const ProcessorType &value)
Definition Processor.h:52
Processor & AddParameters(const ProcessorParameter &value)
Definition Processor.h:68
const ProcessorType & GetType() const
Definition Processor.h:50
void SetParameters(Aws::Vector< ProcessorParameter > &&value)
Definition Processor.h:65
AWS_FIREHOSE_API Processor(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(const Aws::Vector< ProcessorParameter > &value)
Definition Processor.h:64
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue