AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchCriteria.h
1
6#pragma once
7#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medical-imaging/model/Sort.h>
10#include <aws/medical-imaging/model/SearchFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MedicalImaging
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDICALIMAGING_API SearchCriteria();
37 AWS_MEDICALIMAGING_API SearchCriteria(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDICALIMAGING_API SearchCriteria& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<SearchFilter>& GetFilters() const{ return m_filters; }
47 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
48 inline void SetFilters(const Aws::Vector<SearchFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
49 inline void SetFilters(Aws::Vector<SearchFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
50 inline SearchCriteria& WithFilters(const Aws::Vector<SearchFilter>& value) { SetFilters(value); return *this;}
51 inline SearchCriteria& WithFilters(Aws::Vector<SearchFilter>&& value) { SetFilters(std::move(value)); return *this;}
52 inline SearchCriteria& AddFilters(const SearchFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
53 inline SearchCriteria& AddFilters(SearchFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
55
57
60 inline const Sort& GetSort() const{ return m_sort; }
61 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
62 inline void SetSort(const Sort& value) { m_sortHasBeenSet = true; m_sort = value; }
63 inline void SetSort(Sort&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
64 inline SearchCriteria& WithSort(const Sort& value) { SetSort(value); return *this;}
65 inline SearchCriteria& WithSort(Sort&& value) { SetSort(std::move(value)); return *this;}
67 private:
68
70 bool m_filtersHasBeenSet = false;
71
72 Sort m_sort;
73 bool m_sortHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MedicalImaging
78} // namespace Aws
AWS_MEDICALIMAGING_API SearchCriteria()
SearchCriteria & WithSort(const Sort &value)
SearchCriteria & WithSort(Sort &&value)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFilters(Aws::Vector< SearchFilter > &&value)
SearchCriteria & WithFilters(const Aws::Vector< SearchFilter > &value)
SearchCriteria & AddFilters(SearchFilter &&value)
const Aws::Vector< SearchFilter > & GetFilters() const
AWS_MEDICALIMAGING_API SearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchCriteria & AddFilters(const SearchFilter &value)
SearchCriteria & WithFilters(Aws::Vector< SearchFilter > &&value)
void SetFilters(const Aws::Vector< SearchFilter > &value)
AWS_MEDICALIMAGING_API SearchCriteria(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue