AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BucketSortCriteria.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/OrderBy.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 Macie2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MACIE2_API BucketSortCriteria() = default;
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
50 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
51 template<typename AttributeNameT = Aws::String>
52 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::forward<AttributeNameT>(value); }
53 template<typename AttributeNameT = Aws::String>
54 BucketSortCriteria& WithAttributeName(AttributeNameT&& value) { SetAttributeName(std::forward<AttributeNameT>(value)); return *this;}
56
58
63 inline OrderBy GetOrderBy() const { return m_orderBy; }
64 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
65 inline void SetOrderBy(OrderBy value) { m_orderByHasBeenSet = true; m_orderBy = value; }
66 inline BucketSortCriteria& WithOrderBy(OrderBy value) { SetOrderBy(value); return *this;}
68 private:
69
70 Aws::String m_attributeName;
71 bool m_attributeNameHasBeenSet = false;
72
73 OrderBy m_orderBy{OrderBy::NOT_SET};
74 bool m_orderByHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
void SetAttributeName(AttributeNameT &&value)
AWS_MACIE2_API BucketSortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAttributeName() const
AWS_MACIE2_API BucketSortCriteria(Aws::Utils::Json::JsonView jsonValue)
BucketSortCriteria & WithAttributeName(AttributeNameT &&value)
AWS_MACIE2_API BucketSortCriteria()=default
BucketSortCriteria & WithOrderBy(OrderBy value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue