AWS SDK for C++  1.9.160
AWS SDK for C++
FolderSearchFilter.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 FolderSearchFilter& WithOperator(const FilterOperator& value) { SetOperator(value); return *this;}
72 
77  inline FolderSearchFilter& WithOperator(FilterOperator&& value) { SetOperator(std::move(value)); return *this;}
78 
79 
84  inline const FolderFilterAttribute& GetName() const{ return m_name; }
85 
90  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
96  inline void SetName(const FolderFilterAttribute& value) { m_nameHasBeenSet = true; m_name = value; }
97 
102  inline void SetName(FolderFilterAttribute&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
108  inline FolderSearchFilter& WithName(const FolderFilterAttribute& value) { SetName(value); return *this;}
109 
114  inline FolderSearchFilter& WithName(FolderFilterAttribute&& 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 FolderSearchFilter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
158 
164  inline FolderSearchFilter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
165 
171  inline FolderSearchFilter& WithValue(const char* value) { SetValue(value); return *this;}
172 
173  private:
174 
175  FilterOperator m_operator;
176  bool m_operatorHasBeenSet;
177 
178  FolderFilterAttribute m_name;
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
FolderFilterAttribute.h
QuickSight_EXPORTS.h
Aws::QuickSight::Model::FolderSearchFilter::SetName
void SetName(const FolderFilterAttribute &value)
Definition: FolderSearchFilter.h:96
Aws::QuickSight::Model::FolderSearchFilter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: FolderSearchFilter.h:129
Aws::QuickSight::Model::FolderSearchFilter::operator=
FolderSearchFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::FolderSearchFilter::WithValue
FolderSearchFilter & WithValue(const Aws::String &value)
Definition: FolderSearchFilter.h:157
Aws::QuickSight::Model::FolderSearchFilter::GetOperator
const FilterOperator & GetOperator() const
Definition: FolderSearchFilter.h:47
Aws::QuickSight::Model::FolderSearchFilter::WithName
FolderSearchFilter & WithName(const FolderFilterAttribute &value)
Definition: FolderSearchFilter.h:108
Aws::QuickSight::Model::FolderSearchFilter::WithValue
FolderSearchFilter & WithValue(Aws::String &&value)
Definition: FolderSearchFilter.h:164
Aws::QuickSight::Model::FolderSearchFilter::SetValue
void SetValue(const Aws::String &value)
Definition: FolderSearchFilter.h:136
Aws::QuickSight::Model::FolderSearchFilter::WithOperator
FolderSearchFilter & WithOperator(FilterOperator &&value)
Definition: FolderSearchFilter.h:77
Aws::QuickSight::Model::FolderSearchFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FolderSearchFilter.h:90
Aws::QuickSight::Model::FolderSearchFilter::WithOperator
FolderSearchFilter & WithOperator(const FilterOperator &value)
Definition: FolderSearchFilter.h:71
Aws::QuickSight::Model::FolderSearchFilter::FolderSearchFilter
FolderSearchFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::FolderSearchFilter::OperatorHasBeenSet
bool OperatorHasBeenSet() const
Definition: FolderSearchFilter.h:53
Aws::QuickSight::Model::FolderSearchFilter::FolderSearchFilter
FolderSearchFilter()
Aws::QuickSight::Model::FolderSearchFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
FilterOperator.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::FolderSearchFilter::SetValue
void SetValue(const char *value)
Definition: FolderSearchFilter.h:150
Aws::QuickSight::Model::FolderSearchFilter::WithName
FolderSearchFilter & WithName(FolderFilterAttribute &&value)
Definition: FolderSearchFilter.h:114
Aws::QuickSight::Model::FolderSearchFilter::SetName
void SetName(FolderFilterAttribute &&value)
Definition: FolderSearchFilter.h:102
Aws::QuickSight::Model::FolderSearchFilter::GetName
const FolderFilterAttribute & GetName() const
Definition: FolderSearchFilter.h:84
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::FolderSearchFilter::GetValue
const Aws::String & GetValue() const
Definition: FolderSearchFilter.h:122
Aws::QuickSight::Model::FolderSearchFilter::SetOperator
void SetOperator(FilterOperator &&value)
Definition: FolderSearchFilter.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::FolderFilterAttribute
FolderFilterAttribute
Definition: FolderFilterAttribute.h:17
Aws::QuickSight::Model::FilterOperator
FilterOperator
Definition: FilterOperator.h:17
Aws::QuickSight::Model::FolderSearchFilter
Definition: FolderSearchFilter.h:35
Aws::QuickSight::Model::FolderSearchFilter::SetOperator
void SetOperator(const FilterOperator &value)
Definition: FolderSearchFilter.h:59
Aws::QuickSight::Model::FolderSearchFilter::WithValue
FolderSearchFilter & WithValue(const char *value)
Definition: FolderSearchFilter.h:171
Aws::QuickSight::Model::FolderSearchFilter::SetValue
void SetValue(Aws::String &&value)
Definition: FolderSearchFilter.h:143