AWS SDK for C++  1.9.124
AWS SDK for C++
Processor.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Firehose
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const ProcessorType& GetType() const{ return m_type; }
46 
50  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 
55  inline void SetType(const ProcessorType& value) { m_typeHasBeenSet = true; m_type = value; }
56 
60  inline void SetType(ProcessorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 
65  inline Processor& WithType(const ProcessorType& value) { SetType(value); return *this;}
66 
70  inline Processor& WithType(ProcessorType&& value) { SetType(std::move(value)); return *this;}
71 
72 
76  inline const Aws::Vector<ProcessorParameter>& GetParameters() const{ return m_parameters; }
77 
81  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
82 
86  inline void SetParameters(const Aws::Vector<ProcessorParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
87 
91  inline void SetParameters(Aws::Vector<ProcessorParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
92 
96  inline Processor& WithParameters(const Aws::Vector<ProcessorParameter>& value) { SetParameters(value); return *this;}
97 
101  inline Processor& WithParameters(Aws::Vector<ProcessorParameter>&& value) { SetParameters(std::move(value)); return *this;}
102 
106  inline Processor& AddParameters(const ProcessorParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
107 
111  inline Processor& AddParameters(ProcessorParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
112 
113  private:
114 
115  ProcessorType m_type;
116  bool m_typeHasBeenSet;
117 
118  Aws::Vector<ProcessorParameter> m_parameters;
119  bool m_parametersHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace Firehose
124 } // namespace Aws
ProcessorParameter.h
Aws::Firehose::Model::Processor::WithParameters
Processor & WithParameters(const Aws::Vector< ProcessorParameter > &value)
Definition: Processor.h:96
Aws::Firehose::Model::Processor::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: Processor.h:81
Aws::Firehose::Model::ProcessorParameter
Definition: ProcessorParameter.h:33
Aws::Firehose::Model::Processor::SetParameters
void SetParameters(Aws::Vector< ProcessorParameter > &&value)
Definition: Processor.h:91
Aws::Firehose::Model::Processor::WithType
Processor & WithType(ProcessorType &&value)
Definition: Processor.h:70
Aws::Firehose::Model::Processor::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: Processor.h:50
Aws::Firehose::Model::Processor::operator=
Processor & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::Processor::SetParameters
void SetParameters(const Aws::Vector< ProcessorParameter > &value)
Definition: Processor.h:86
Aws::Firehose::Model::Processor
Definition: Processor.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Firehose::Model::Processor::WithParameters
Processor & WithParameters(Aws::Vector< ProcessorParameter > &&value)
Definition: Processor.h:101
AWSVector.h
Aws::Firehose::Model::Processor::GetType
const ProcessorType & GetType() const
Definition: Processor.h:45
Aws::Firehose::Model::ProcessorType
ProcessorType
Definition: ProcessorType.h:17
Aws::Firehose::Model::Processor::SetType
void SetType(ProcessorType &&value)
Definition: Processor.h:60
Aws::Firehose::Model::Processor::Processor
Processor(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::Processor::WithType
Processor & WithType(const ProcessorType &value)
Definition: Processor.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::Processor::AddParameters
Processor & AddParameters(const ProcessorParameter &value)
Definition: Processor.h:106
Firehose_EXPORTS.h
Aws::Firehose::Model::Processor::Processor
Processor()
Aws::Firehose::Model::Processor::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ProcessorType.h
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::Processor::GetParameters
const Aws::Vector< ProcessorParameter > & GetParameters() const
Definition: Processor.h:76
Aws::Firehose::Model::Processor::SetType
void SetType(const ProcessorType &value)
Definition: Processor.h:55
Aws::Firehose::Model::Processor::AddParameters
Processor & AddParameters(ProcessorParameter &&value)
Definition: Processor.h:111