AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelMetadataSearchExpression.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/ModelMetadataFilter.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SAGEMAKER_API ModelMetadataSearchExpression();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<ModelMetadataFilter>& GetFilters() const{ return m_filters; }
48 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
49 inline void SetFilters(const Aws::Vector<ModelMetadataFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
50 inline void SetFilters(Aws::Vector<ModelMetadataFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
52 inline ModelMetadataSearchExpression& WithFilters(Aws::Vector<ModelMetadataFilter>&& value) { SetFilters(std::move(value)); return *this;}
53 inline ModelMetadataSearchExpression& AddFilters(const ModelMetadataFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
54 inline ModelMetadataSearchExpression& AddFilters(ModelMetadataFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_filtersHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SageMaker
64} // namespace Aws
ModelMetadataSearchExpression & AddFilters(const ModelMetadataFilter &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFilters(const Aws::Vector< ModelMetadataFilter > &value)
AWS_SAGEMAKER_API ModelMetadataSearchExpression(Aws::Utils::Json::JsonView jsonValue)
void SetFilters(Aws::Vector< ModelMetadataFilter > &&value)
ModelMetadataSearchExpression & WithFilters(const Aws::Vector< ModelMetadataFilter > &value)
const Aws::Vector< ModelMetadataFilter > & GetFilters() const
AWS_SAGEMAKER_API ModelMetadataSearchExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelMetadataSearchExpression & AddFilters(ModelMetadataFilter &&value)
ModelMetadataSearchExpression & WithFilters(Aws::Vector< ModelMetadataFilter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue