AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoverageSortCriteria.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/CoverageSortKey.h>
9#include <aws/guardduty/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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API CoverageSortCriteria();
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const CoverageSortKey& GetAttributeName() const{ return m_attributeName; }
50 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
51 inline void SetAttributeName(const CoverageSortKey& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
52 inline void SetAttributeName(CoverageSortKey&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
53 inline CoverageSortCriteria& WithAttributeName(const CoverageSortKey& value) { SetAttributeName(value); return *this;}
54 inline CoverageSortCriteria& WithAttributeName(CoverageSortKey&& value) { SetAttributeName(std::move(value)); return *this;}
56
58
61 inline const OrderBy& GetOrderBy() const{ return m_orderBy; }
62 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
63 inline void SetOrderBy(const OrderBy& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
64 inline void SetOrderBy(OrderBy&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
65 inline CoverageSortCriteria& WithOrderBy(const OrderBy& value) { SetOrderBy(value); return *this;}
66 inline CoverageSortCriteria& WithOrderBy(OrderBy&& value) { SetOrderBy(std::move(value)); return *this;}
68 private:
69
70 CoverageSortKey m_attributeName;
71 bool m_attributeNameHasBeenSet = false;
72
73 OrderBy m_orderBy;
74 bool m_orderByHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
AWS_GUARDDUTY_API CoverageSortCriteria(Aws::Utils::Json::JsonView jsonValue)
CoverageSortCriteria & WithOrderBy(const OrderBy &value)
CoverageSortCriteria & WithAttributeName(CoverageSortKey &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributeName(const CoverageSortKey &value)
CoverageSortCriteria & WithOrderBy(OrderBy &&value)
CoverageSortCriteria & WithAttributeName(const CoverageSortKey &value)
AWS_GUARDDUTY_API CoverageSortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const CoverageSortKey & GetAttributeName() const
Aws::Utils::Json::JsonValue JsonValue