AWS SDK for C++  1.9.104
AWS SDK for C++
SearchResourcesSortCriteria.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 Macie2
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const SearchResourcesSortAttributeName& GetAttributeName() const{ return m_attributeName; }
47 
51  inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
52 
56  inline void SetAttributeName(const SearchResourcesSortAttributeName& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
57 
61  inline void SetAttributeName(SearchResourcesSortAttributeName&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
62 
66  inline SearchResourcesSortCriteria& WithAttributeName(const SearchResourcesSortAttributeName& value) { SetAttributeName(value); return *this;}
67 
71  inline SearchResourcesSortCriteria& WithAttributeName(SearchResourcesSortAttributeName&& value) { SetAttributeName(std::move(value)); return *this;}
72 
73 
79  inline const OrderBy& GetOrderBy() const{ return m_orderBy; }
80 
86  inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
87 
93  inline void SetOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
94 
100  inline void SetOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
101 
107  inline SearchResourcesSortCriteria& WithOrderBy(const OrderBy& value) { SetOrderBy(value); return *this;}
108 
114  inline SearchResourcesSortCriteria& WithOrderBy(OrderBy&& value) { SetOrderBy(std::move(value)); return *this;}
115 
116  private:
117 
118  SearchResourcesSortAttributeName m_attributeName;
119  bool m_attributeNameHasBeenSet;
120 
121  OrderBy m_orderBy;
122  bool m_orderByHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace Macie2
127 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::SearchResourcesSortCriteria::operator=
SearchResourcesSortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::SearchResourcesSortCriteria::GetOrderBy
const OrderBy & GetOrderBy() const
Definition: SearchResourcesSortCriteria.h:79
Aws::Macie2::Model::SearchResourcesSortCriteria
Definition: SearchResourcesSortCriteria.h:35
Aws::Macie2::Model::SearchResourcesSortCriteria::WithAttributeName
SearchResourcesSortCriteria & WithAttributeName(const SearchResourcesSortAttributeName &value)
Definition: SearchResourcesSortCriteria.h:66
OrderBy.h
Aws::Macie2::Model::SearchResourcesSortCriteria::WithOrderBy
SearchResourcesSortCriteria & WithOrderBy(const OrderBy &value)
Definition: SearchResourcesSortCriteria.h:107
Macie2_EXPORTS.h
Aws::Macie2::Model::SearchResourcesSortCriteria::WithOrderBy
SearchResourcesSortCriteria & WithOrderBy(OrderBy &&value)
Definition: SearchResourcesSortCriteria.h:114
Aws::Macie2::Model::SearchResourcesSortCriteria::SearchResourcesSortCriteria
SearchResourcesSortCriteria(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::SearchResourcesSortCriteria::SetAttributeName
void SetAttributeName(SearchResourcesSortAttributeName &&value)
Definition: SearchResourcesSortCriteria.h:61
Aws::Macie2::Model::SearchResourcesSortAttributeName
SearchResourcesSortAttributeName
Definition: SearchResourcesSortAttributeName.h:17
Aws::Macie2::Model::SearchResourcesSortCriteria::SetAttributeName
void SetAttributeName(const SearchResourcesSortAttributeName &value)
Definition: SearchResourcesSortCriteria.h:56
Aws::Macie2::Model::SearchResourcesSortCriteria::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::SearchResourcesSortCriteria::SetOrderBy
void SetOrderBy(const OrderBy &value)
Definition: SearchResourcesSortCriteria.h:93
Aws::Macie2::Model::SearchResourcesSortCriteria::GetAttributeName
const SearchResourcesSortAttributeName & GetAttributeName() const
Definition: SearchResourcesSortCriteria.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::SearchResourcesSortCriteria::SearchResourcesSortCriteria
SearchResourcesSortCriteria()
Aws::Macie2::Model::SearchResourcesSortCriteria::AttributeNameHasBeenSet
bool AttributeNameHasBeenSet() const
Definition: SearchResourcesSortCriteria.h:51
Aws::Macie2::Model::SearchResourcesSortCriteria::WithAttributeName
SearchResourcesSortCriteria & WithAttributeName(SearchResourcesSortAttributeName &&value)
Definition: SearchResourcesSortCriteria.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::OrderBy
OrderBy
Definition: OrderBy.h:17
SearchResourcesSortAttributeName.h
Aws::Macie2::Model::SearchResourcesSortCriteria::SetOrderBy
void SetOrderBy(OrderBy &&value)
Definition: SearchResourcesSortCriteria.h:100
Aws::Macie2::Model::SearchResourcesSortCriteria::OrderByHasBeenSet
bool OrderByHasBeenSet() const
Definition: SearchResourcesSortCriteria.h:86