AWS SDK for C++  1.9.158
AWS SDK for C++
AnalysisSearchFilter.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 QuickSight
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const FilterOperator& GetOperator() const{ return m_operator; }
48 
53  inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
54 
59  inline void SetOperator(const FilterOperator& value) { m_operatorHasBeenSet = true; m_operator = value; }
60 
65  inline void SetOperator(FilterOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
66 
71  inline AnalysisSearchFilter& WithOperator(const FilterOperator& value) { SetOperator(value); return *this;}
72 
77  inline AnalysisSearchFilter& WithOperator(FilterOperator&& value) { SetOperator(std::move(value)); return *this;}
78 
79 
84  inline const AnalysisFilterAttribute& GetName() const{ return m_name; }
85 
90  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
96  inline void SetName(const AnalysisFilterAttribute& value) { m_nameHasBeenSet = true; m_name = value; }
97 
102  inline void SetName(AnalysisFilterAttribute&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
108  inline AnalysisSearchFilter& WithName(const AnalysisFilterAttribute& value) { SetName(value); return *this;}
109 
114  inline AnalysisSearchFilter& WithName(AnalysisFilterAttribute&& value) { SetName(std::move(value)); return *this;}
115 
116 
122  inline const Aws::String& GetValue() const{ return m_value; }
123 
129  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
130 
136  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
137 
143  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
144 
150  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
151 
157  inline AnalysisSearchFilter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
158 
164  inline AnalysisSearchFilter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
165 
171  inline AnalysisSearchFilter& WithValue(const char* value) { SetValue(value); return *this;}
172 
173  private:
174 
175  FilterOperator m_operator;
176  bool m_operatorHasBeenSet;
177 
179  bool m_nameHasBeenSet;
180 
181  Aws::String m_value;
182  bool m_valueHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace QuickSight
187 } // namespace Aws
Aws::QuickSight::Model::AnalysisSearchFilter::GetOperator
const FilterOperator & GetOperator() const
Definition: AnalysisSearchFilter.h:47
QuickSight_EXPORTS.h
Aws::QuickSight::Model::AnalysisSearchFilter::GetName
const AnalysisFilterAttribute & GetName() const
Definition: AnalysisSearchFilter.h:84
Aws::QuickSight::Model::AnalysisSearchFilter
Definition: AnalysisSearchFilter.h:35
Aws::QuickSight::Model::AnalysisSearchFilter::SetName
void SetName(const AnalysisFilterAttribute &value)
Definition: AnalysisSearchFilter.h:96
Aws::QuickSight::Model::AnalysisSearchFilter::WithValue
AnalysisSearchFilter & WithValue(Aws::String &&value)
Definition: AnalysisSearchFilter.h:164
Aws::QuickSight::Model::AnalysisSearchFilter::OperatorHasBeenSet
bool OperatorHasBeenSet() const
Definition: AnalysisSearchFilter.h:53
Aws::QuickSight::Model::AnalysisSearchFilter::SetOperator
void SetOperator(const FilterOperator &value)
Definition: AnalysisSearchFilter.h:59
Aws::QuickSight::Model::AnalysisSearchFilter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: AnalysisSearchFilter.h:129
Aws::QuickSight::Model::AnalysisSearchFilter::WithOperator
AnalysisSearchFilter & WithOperator(const FilterOperator &value)
Definition: AnalysisSearchFilter.h:71
Aws::QuickSight::Model::AnalysisSearchFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AnalysisSearchFilter.h:90
Aws::QuickSight::Model::AnalysisSearchFilter::SetOperator
void SetOperator(FilterOperator &&value)
Definition: AnalysisSearchFilter.h:65
Aws::QuickSight::Model::AnalysisSearchFilter::SetValue
void SetValue(Aws::String &&value)
Definition: AnalysisSearchFilter.h:143
Aws::QuickSight::Model::AnalysisFilterAttribute
AnalysisFilterAttribute
Definition: AnalysisFilterAttribute.h:17
Aws::QuickSight::Model::AnalysisSearchFilter::WithName
AnalysisSearchFilter & WithName(AnalysisFilterAttribute &&value)
Definition: AnalysisSearchFilter.h:114
FilterOperator.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::AnalysisSearchFilter::AnalysisSearchFilter
AnalysisSearchFilter()
Aws::QuickSight::Model::AnalysisSearchFilter::GetValue
const Aws::String & GetValue() const
Definition: AnalysisSearchFilter.h:122
Aws::QuickSight::Model::AnalysisSearchFilter::SetValue
void SetValue(const Aws::String &value)
Definition: AnalysisSearchFilter.h:136
Aws::QuickSight::Model::AnalysisSearchFilter::SetName
void SetName(AnalysisFilterAttribute &&value)
Definition: AnalysisSearchFilter.h:102
Aws::QuickSight::Model::AnalysisSearchFilter::operator=
AnalysisSearchFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisFilterAttribute.h
Aws::QuickSight::Model::AnalysisSearchFilter::SetValue
void SetValue(const char *value)
Definition: AnalysisSearchFilter.h:150
Aws::QuickSight::Model::AnalysisSearchFilter::WithValue
AnalysisSearchFilter & WithValue(const char *value)
Definition: AnalysisSearchFilter.h:171
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::QuickSight::Model::AnalysisSearchFilter::AnalysisSearchFilter
AnalysisSearchFilter(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::AnalysisSearchFilter::WithOperator
AnalysisSearchFilter & WithOperator(FilterOperator &&value)
Definition: AnalysisSearchFilter.h:77
Aws::QuickSight::Model::AnalysisSearchFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::AnalysisSearchFilter::WithName
AnalysisSearchFilter & WithName(const AnalysisFilterAttribute &value)
Definition: AnalysisSearchFilter.h:108
Aws::QuickSight::Model::FilterOperator
FilterOperator
Definition: FilterOperator.h:17
Aws::QuickSight::Model::AnalysisSearchFilter::WithValue
AnalysisSearchFilter & WithValue(const Aws::String &value)
Definition: AnalysisSearchFilter.h:157