AWS SDK for C++  1.9.154
AWS SDK for C++
NestedFilters.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 SageMaker
24 {
25 namespace Model
26 {
27 
43  {
44  public:
49 
50 
55  inline const Aws::String& GetNestedPropertyName() const{ return m_nestedPropertyName; }
56 
61  inline bool NestedPropertyNameHasBeenSet() const { return m_nestedPropertyNameHasBeenSet; }
62 
67  inline void SetNestedPropertyName(const Aws::String& value) { m_nestedPropertyNameHasBeenSet = true; m_nestedPropertyName = value; }
68 
73  inline void SetNestedPropertyName(Aws::String&& value) { m_nestedPropertyNameHasBeenSet = true; m_nestedPropertyName = std::move(value); }
74 
79  inline void SetNestedPropertyName(const char* value) { m_nestedPropertyNameHasBeenSet = true; m_nestedPropertyName.assign(value); }
80 
85  inline NestedFilters& WithNestedPropertyName(const Aws::String& value) { SetNestedPropertyName(value); return *this;}
86 
91  inline NestedFilters& WithNestedPropertyName(Aws::String&& value) { SetNestedPropertyName(std::move(value)); return *this;}
92 
97  inline NestedFilters& WithNestedPropertyName(const char* value) { SetNestedPropertyName(value); return *this;}
98 
99 
107  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
108 
116  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
117 
125  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
126 
134  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
135 
143  inline NestedFilters& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
144 
152  inline NestedFilters& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
153 
161  inline NestedFilters& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
162 
170  inline NestedFilters& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
171 
172  private:
173 
174  Aws::String m_nestedPropertyName;
175  bool m_nestedPropertyNameHasBeenSet;
176 
177  Aws::Vector<Filter> m_filters;
178  bool m_filtersHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace SageMaker
183 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::NestedFilters::WithNestedPropertyName
NestedFilters & WithNestedPropertyName(Aws::String &&value)
Definition: NestedFilters.h:91
SageMaker_EXPORTS.h
Aws::SageMaker::Model::NestedFilters::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: NestedFilters.h:125
Filter.h
Aws::SageMaker::Model::NestedFilters::AddFilters
NestedFilters & AddFilters(Filter &&value)
Definition: NestedFilters.h:170
Aws::SageMaker::Model::NestedFilters::NestedPropertyNameHasBeenSet
bool NestedPropertyNameHasBeenSet() const
Definition: NestedFilters.h:61
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::NestedFilters::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: NestedFilters.h:116
AWSVector.h
Aws::SageMaker::Model::NestedFilters::NestedFilters
NestedFilters()
Aws::SageMaker::Model::NestedFilters::AddFilters
NestedFilters & AddFilters(const Filter &value)
Definition: NestedFilters.h:161
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::NestedFilters::WithFilters
NestedFilters & WithFilters(Aws::Vector< Filter > &&value)
Definition: NestedFilters.h:152
Aws::SageMaker::Model::NestedFilters::WithFilters
NestedFilters & WithFilters(const Aws::Vector< Filter > &value)
Definition: NestedFilters.h:143
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::NestedFilters::operator=
NestedFilters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NestedFilters::NestedFilters
NestedFilters(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NestedFilters::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: NestedFilters.h:107
Aws::SageMaker::Model::NestedFilters::SetNestedPropertyName
void SetNestedPropertyName(const char *value)
Definition: NestedFilters.h:79
Aws::SageMaker::Model::NestedFilters::SetNestedPropertyName
void SetNestedPropertyName(const Aws::String &value)
Definition: NestedFilters.h:67
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Filter
Definition: Filter.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::NestedFilters::WithNestedPropertyName
NestedFilters & WithNestedPropertyName(const Aws::String &value)
Definition: NestedFilters.h:85
Aws::SageMaker::Model::NestedFilters::GetNestedPropertyName
const Aws::String & GetNestedPropertyName() const
Definition: NestedFilters.h:55
Aws::SageMaker::Model::NestedFilters::WithNestedPropertyName
NestedFilters & WithNestedPropertyName(const char *value)
Definition: NestedFilters.h:97
Aws::SageMaker::Model::NestedFilters::SetNestedPropertyName
void SetNestedPropertyName(Aws::String &&value)
Definition: NestedFilters.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::NestedFilters
Definition: NestedFilters.h:43
Aws::SageMaker::Model::NestedFilters::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: NestedFilters.h:134
Aws::SageMaker::Model::NestedFilters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const