AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Selector.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datapipeline/model/Operator.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 DataPipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAPIPELINE_API Selector();
37 AWS_DATAPIPELINE_API Selector(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAPIPELINE_API Selector& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetFieldName() const{ return m_fieldName; }
50 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
51 inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
52 inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
53 inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
54 inline Selector& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
55 inline Selector& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
56 inline Selector& WithFieldName(const char* value) { SetFieldName(value); return *this;}
58
60
61 inline const Operator& GetOperator() const{ return m_operator; }
62 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
63 inline void SetOperator(const Operator& value) { m_operatorHasBeenSet = true; m_operator = value; }
64 inline void SetOperator(Operator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
65 inline Selector& WithOperator(const Operator& value) { SetOperator(value); return *this;}
66 inline Selector& WithOperator(Operator&& value) { SetOperator(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_fieldName;
71 bool m_fieldNameHasBeenSet = false;
72
73 Operator m_operator;
74 bool m_operatorHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DataPipeline
79} // namespace Aws
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperator(Operator &&value)
Definition Selector.h:64
void SetFieldName(Aws::String &&value)
Definition Selector.h:52
Selector & WithFieldName(Aws::String &&value)
Definition Selector.h:55
const Operator & GetOperator() const
Definition Selector.h:61
Selector & WithOperator(const Operator &value)
Definition Selector.h:65
void SetFieldName(const Aws::String &value)
Definition Selector.h:51
const Aws::String & GetFieldName() const
Definition Selector.h:49
Selector & WithFieldName(const char *value)
Definition Selector.h:56
Selector & WithFieldName(const Aws::String &value)
Definition Selector.h:54
AWS_DATAPIPELINE_API Selector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Selector()
Selector & WithOperator(Operator &&value)
Definition Selector.h:66
void SetFieldName(const char *value)
Definition Selector.h:53
AWS_DATAPIPELINE_API Selector(Aws::Utils::Json::JsonView jsonValue)
void SetOperator(const Operator &value)
Definition Selector.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue