AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
52 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
53 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
54 inline BucketSortCriteria& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
55 inline BucketSortCriteria& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
56 inline BucketSortCriteria& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
58
60
65 inline const OrderBy& GetOrderBy() const{ return m_orderBy; }
66 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
67 inline void SetOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
68 inline void SetOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
69 inline BucketSortCriteria& WithOrderBy(const OrderBy& value) { SetOrderBy(value); return *this;}
70 inline BucketSortCriteria& WithOrderBy(OrderBy&& value) { SetOrderBy(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_attributeName;
75 bool m_attributeNameHasBeenSet = false;
76
77 OrderBy m_orderBy;
78 bool m_orderByHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Macie2
83} // namespace Aws
void SetAttributeName(Aws::String &&value)
BucketSortCriteria & WithOrderBy(OrderBy &&value)
AWS_MACIE2_API BucketSortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributeName(const Aws::String &value)
BucketSortCriteria & WithAttributeName(const char *value)
BucketSortCriteria & WithOrderBy(const OrderBy &value)
BucketSortCriteria & WithAttributeName(const Aws::String &value)
const Aws::String & GetAttributeName() const
BucketSortCriteria & WithAttributeName(Aws::String &&value)
AWS_MACIE2_API BucketSortCriteria(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue