AWS SDK for C++  1.9.158
AWS SDK for C++
DashboardSearchFilter.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 DashboardSearchFilter& WithOperator(const FilterOperator& value) { SetOperator(value); return *this;}
72 
77  inline DashboardSearchFilter& WithOperator(FilterOperator&& value) { SetOperator(std::move(value)); return *this;}
78 
79 
84  inline const DashboardFilterAttribute& GetName() const{ return m_name; }
85 
90  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
96  inline void SetName(const DashboardFilterAttribute& value) { m_nameHasBeenSet = true; m_name = value; }
97 
102  inline void SetName(DashboardFilterAttribute&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
108  inline DashboardSearchFilter& WithName(const DashboardFilterAttribute& value) { SetName(value); return *this;}
109 
114  inline DashboardSearchFilter& WithName(DashboardFilterAttribute&& 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 DashboardSearchFilter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
158 
164  inline DashboardSearchFilter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
165 
171  inline DashboardSearchFilter& 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
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DashboardSearchFilter::WithOperator
DashboardSearchFilter & WithOperator(const FilterOperator &value)
Definition: DashboardSearchFilter.h:71
Aws::QuickSight::Model::DashboardSearchFilter::SetName
void SetName(DashboardFilterAttribute &&value)
Definition: DashboardSearchFilter.h:102
Aws::QuickSight::Model::DashboardSearchFilter::GetOperator
const FilterOperator & GetOperator() const
Definition: DashboardSearchFilter.h:47
Aws::QuickSight::Model::DashboardSearchFilter::DashboardSearchFilter
DashboardSearchFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DashboardSearchFilter::SetOperator
void SetOperator(const FilterOperator &value)
Definition: DashboardSearchFilter.h:59
Aws::QuickSight::Model::DashboardSearchFilter::SetOperator
void SetOperator(FilterOperator &&value)
Definition: DashboardSearchFilter.h:65
DashboardFilterAttribute.h
Aws::QuickSight::Model::DashboardSearchFilter::WithName
DashboardSearchFilter & WithName(DashboardFilterAttribute &&value)
Definition: DashboardSearchFilter.h:114
Aws::QuickSight::Model::DashboardSearchFilter
Definition: DashboardSearchFilter.h:35
Aws::QuickSight::Model::DashboardSearchFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::DashboardSearchFilter::SetValue
void SetValue(const Aws::String &value)
Definition: DashboardSearchFilter.h:136
Aws::QuickSight::Model::DashboardSearchFilter::WithValue
DashboardSearchFilter & WithValue(const char *value)
Definition: DashboardSearchFilter.h:171
Aws::QuickSight::Model::DashboardSearchFilter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: DashboardSearchFilter.h:129
Aws::QuickSight::Model::DashboardSearchFilter::DashboardSearchFilter
DashboardSearchFilter()
FilterOperator.h
Aws::QuickSight::Model::DashboardSearchFilter::SetValue
void SetValue(const char *value)
Definition: DashboardSearchFilter.h:150
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::DashboardSearchFilter::SetName
void SetName(const DashboardFilterAttribute &value)
Definition: DashboardSearchFilter.h:96
Aws::QuickSight::Model::DashboardSearchFilter::WithOperator
DashboardSearchFilter & WithOperator(FilterOperator &&value)
Definition: DashboardSearchFilter.h:77
Aws::QuickSight::Model::DashboardSearchFilter::OperatorHasBeenSet
bool OperatorHasBeenSet() const
Definition: DashboardSearchFilter.h:53
Aws::QuickSight::Model::DashboardSearchFilter::WithName
DashboardSearchFilter & WithName(const DashboardFilterAttribute &value)
Definition: DashboardSearchFilter.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DashboardSearchFilter::GetName
const DashboardFilterAttribute & GetName() const
Definition: DashboardSearchFilter.h:84
Aws::QuickSight::Model::DashboardSearchFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DashboardSearchFilter.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DashboardFilterAttribute
DashboardFilterAttribute
Definition: DashboardFilterAttribute.h:17
Aws::QuickSight::Model::FilterOperator
FilterOperator
Definition: FilterOperator.h:17
Aws::QuickSight::Model::DashboardSearchFilter::operator=
DashboardSearchFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DashboardSearchFilter::GetValue
const Aws::String & GetValue() const
Definition: DashboardSearchFilter.h:122
Aws::QuickSight::Model::DashboardSearchFilter::SetValue
void SetValue(Aws::String &&value)
Definition: DashboardSearchFilter.h:143
Aws::QuickSight::Model::DashboardSearchFilter::WithValue
DashboardSearchFilter & WithValue(const Aws::String &value)
Definition: DashboardSearchFilter.h:157
Aws::QuickSight::Model::DashboardSearchFilter::WithValue
DashboardSearchFilter & WithValue(Aws::String &&value)
Definition: DashboardSearchFilter.h:164