AWS SDK for C++  1.9.160
AWS SDK for C++
Filter.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 SageMaker
23 {
24 namespace Model
25 {
26 
56  {
57  public:
58  Filter();
62 
63 
69  inline const Aws::String& GetName() const{ return m_name; }
70 
76  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 
83  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 
90  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 
97  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
98 
104  inline Filter& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
111  inline Filter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
118  inline Filter& WithName(const char* value) { SetName(value); return *this;}
119 
120 
159  inline const Operator& GetOperator() const{ return m_operator; }
160 
199  inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
200 
239  inline void SetOperator(const Operator& value) { m_operatorHasBeenSet = true; m_operator = value; }
240 
279  inline void SetOperator(Operator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
280 
319  inline Filter& WithOperator(const Operator& value) { SetOperator(value); return *this;}
320 
359  inline Filter& WithOperator(Operator&& value) { SetOperator(std::move(value)); return *this;}
360 
361 
369  inline const Aws::String& GetValue() const{ return m_value; }
370 
378  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
379 
387  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
388 
396  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
397 
405  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
406 
414  inline Filter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
415 
423  inline Filter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
424 
432  inline Filter& WithValue(const char* value) { SetValue(value); return *this;}
433 
434  private:
435 
436  Aws::String m_name;
437  bool m_nameHasBeenSet;
438 
439  Operator m_operator;
440  bool m_operatorHasBeenSet;
441 
442  Aws::String m_value;
443  bool m_valueHasBeenSet;
444  };
445 
446 } // namespace Model
447 } // namespace SageMaker
448 } // namespace Aws
Operator.h
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Filter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Filter::GetName
const Aws::String & GetName() const
Definition: Filter.h:69
Aws::SageMaker::Model::Operator
Operator
Definition: Operator.h:17
Aws::SageMaker::Model::Filter::SetValue
void SetValue(const char *value)
Definition: Filter.h:405
Aws::SageMaker::Model::Filter::SetName
void SetName(Aws::String &&value)
Definition: Filter.h:90
Aws::SageMaker::Model::Filter::WithValue
Filter & WithValue(const char *value)
Definition: Filter.h:432
Aws::SageMaker::Model::Filter::SetValue
void SetValue(const Aws::String &value)
Definition: Filter.h:387
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Filter::WithValue
Filter & WithValue(const Aws::String &value)
Definition: Filter.h:414
Aws::SageMaker::Model::Filter::SetName
void SetName(const char *value)
Definition: Filter.h:97
Aws::SageMaker::Model::Filter::GetValue
const Aws::String & GetValue() const
Definition: Filter.h:369
Aws::SageMaker::Model::Filter::Filter
Filter(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Filter::SetValue
void SetValue(Aws::String &&value)
Definition: Filter.h:396
Aws::SageMaker::Model::Filter::WithOperator
Filter & WithOperator(const Operator &value)
Definition: Filter.h:319
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Filter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Filter.h:76
Aws::SageMaker::Model::Filter::SetName
void SetName(const Aws::String &value)
Definition: Filter.h:83
Aws::SageMaker::Model::Filter::WithOperator
Filter & WithOperator(Operator &&value)
Definition: Filter.h:359
Aws::SageMaker::Model::Filter::WithValue
Filter & WithValue(Aws::String &&value)
Definition: Filter.h:423
Aws::SageMaker::Model::Filter::WithName
Filter & WithName(const char *value)
Definition: Filter.h:118
Aws::SageMaker::Model::Filter::SetOperator
void SetOperator(const Operator &value)
Definition: Filter.h:239
Aws::SageMaker::Model::Filter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Filter.h:378
Aws::SageMaker::Model::Filter::OperatorHasBeenSet
bool OperatorHasBeenSet() const
Definition: Filter.h:199
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Filter
Definition: Filter.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Filter::WithName
Filter & WithName(Aws::String &&value)
Definition: Filter.h:111
Aws::SageMaker::Model::Filter::Filter
Filter()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Filter::GetOperator
const Operator & GetOperator() const
Definition: Filter.h:159
Aws::SageMaker::Model::Filter::operator=
Filter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Filter::WithName
Filter & WithName(const Aws::String &value)
Definition: Filter.h:104
Aws::SageMaker::Model::Filter::SetOperator
void SetOperator(Operator &&value)
Definition: Filter.h:279