AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Operator.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/datapipeline/model/OperatorType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.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 DataPipeline
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DATAPIPELINE_API Operator();
38 AWS_DATAPIPELINE_API Operator(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAPIPELINE_API Operator& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
64 inline const OperatorType& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const OperatorType& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(OperatorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline Operator& WithType(const OperatorType& value) { SetType(value); return *this;}
69 inline Operator& WithType(OperatorType&& value) { SetType(std::move(value)); return *this;}
71
73
76 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
77 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
78 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
79 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
80 inline Operator& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
81 inline Operator& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
82 inline Operator& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
83 inline Operator& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
84 inline Operator& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
86 private:
87
88 OperatorType m_type;
89 bool m_typeHasBeenSet = false;
90
92 bool m_valuesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DataPipeline
97} // namespace Aws
Operator & WithValues(Aws::Vector< Aws::String > &&value)
Definition Operator.h:81
Operator & AddValues(Aws::String &&value)
Definition Operator.h:83
AWS_DATAPIPELINE_API Operator & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(OperatorType &&value)
Definition Operator.h:67
void SetValues(const Aws::Vector< Aws::String > &value)
Definition Operator.h:78
const OperatorType & GetType() const
Definition Operator.h:64
Operator & WithValues(const Aws::Vector< Aws::String > &value)
Definition Operator.h:80
Operator & WithType(OperatorType &&value)
Definition Operator.h:69
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const OperatorType &value)
Definition Operator.h:66
Operator & AddValues(const Aws::String &value)
Definition Operator.h:82
const Aws::Vector< Aws::String > & GetValues() const
Definition Operator.h:76
AWS_DATAPIPELINE_API Operator(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Operator()
Operator & AddValues(const char *value)
Definition Operator.h:84
Operator & WithType(const OperatorType &value)
Definition Operator.h:68
void SetValues(Aws::Vector< Aws::String > &&value)
Definition Operator.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue