AWS SDK for C++  1.9.108
AWS SDK for C++
Selector.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DataPipeline
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetFieldName() const{ return m_fieldName; }
49 
56  inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
57 
64  inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
65 
72  inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
73 
80  inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
81 
88  inline Selector& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
89 
96  inline Selector& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
97 
104  inline Selector& WithFieldName(const char* value) { SetFieldName(value); return *this;}
105 
106 
107 
108  inline const Operator& GetOperator() const{ return m_operator; }
109 
110 
111  inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
112 
113 
114  inline void SetOperator(const Operator& value) { m_operatorHasBeenSet = true; m_operator = value; }
115 
116 
117  inline void SetOperator(Operator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
118 
119 
120  inline Selector& WithOperator(const Operator& value) { SetOperator(value); return *this;}
121 
122 
123  inline Selector& WithOperator(Operator&& value) { SetOperator(std::move(value)); return *this;}
124 
125  private:
126 
127  Aws::String m_fieldName;
128  bool m_fieldNameHasBeenSet;
129 
130  Operator m_operator;
131  bool m_operatorHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace DataPipeline
136 } // namespace Aws
Aws::DataPipeline::Model::Selector::WithOperator
Selector & WithOperator(Operator &&value)
Definition: Selector.h:123
Aws::DataPipeline::Model::Selector::GetFieldName
const Aws::String & GetFieldName() const
Definition: Selector.h:48
Aws::DataPipeline::Model::Selector::WithFieldName
Selector & WithFieldName(const Aws::String &value)
Definition: Selector.h:88
Aws::DataPipeline::Model::Selector::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DataPipeline::Model::Selector::WithFieldName
Selector & WithFieldName(Aws::String &&value)
Definition: Selector.h:96
Aws::DataPipeline::Model::Selector::SetFieldName
void SetFieldName(const Aws::String &value)
Definition: Selector.h:64
Aws::DataPipeline::Model::Operator
Definition: Operator.h:35
Aws::DataPipeline::Model::Selector::SetFieldName
void SetFieldName(const char *value)
Definition: Selector.h:80
Aws::DataPipeline::Model::Selector::SetOperator
void SetOperator(Operator &&value)
Definition: Selector.h:117
Aws::DataPipeline::Model::Selector::Selector
Selector()
Aws::DataPipeline::Model::Selector::Selector
Selector(Aws::Utils::Json::JsonView jsonValue)
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::Selector::WithFieldName
Selector & WithFieldName(const char *value)
Definition: Selector.h:104
Operator.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DataPipeline::Model::Selector::OperatorHasBeenSet
bool OperatorHasBeenSet() const
Definition: Selector.h:111
Aws::DataPipeline::Model::Selector::GetOperator
const Operator & GetOperator() const
Definition: Selector.h:108
Aws::DataPipeline::Model::Selector::SetOperator
void SetOperator(const Operator &value)
Definition: Selector.h:114
Aws::DataPipeline::Model::Selector::FieldNameHasBeenSet
bool FieldNameHasBeenSet() const
Definition: Selector.h:56
Aws::DataPipeline::Model::Selector::SetFieldName
void SetFieldName(Aws::String &&value)
Definition: Selector.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::Selector::operator=
Selector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DataPipeline::Model::Selector
Definition: Selector.h:34
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::Selector::WithOperator
Selector & WithOperator(const Operator &value)
Definition: Selector.h:120