AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EngagementSort.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/EngagementSortName.h>
9#include <aws/partnercentral-selling/model/SortOrder.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 PartnerCentralSelling
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API EngagementSort() = default;
37 AWS_PARTNERCENTRALSELLING_API EngagementSort(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API EngagementSort& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline EngagementSortName GetSortBy() const { return m_sortBy; }
47 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
48 inline void SetSortBy(EngagementSortName value) { m_sortByHasBeenSet = true; m_sortBy = value; }
49 inline EngagementSort& WithSortBy(EngagementSortName value) { SetSortBy(value); return *this;}
51
53
56 inline SortOrder GetSortOrder() const { return m_sortOrder; }
57 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
58 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
59 inline EngagementSort& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
61 private:
62
64 bool m_sortByHasBeenSet = false;
65
66 SortOrder m_sortOrder{SortOrder::NOT_SET};
67 bool m_sortOrderHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace PartnerCentralSelling
72} // namespace Aws
AWS_PARTNERCENTRALSELLING_API EngagementSort()=default
EngagementSort & WithSortBy(EngagementSortName value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
EngagementSort & WithSortOrder(SortOrder value)
AWS_PARTNERCENTRALSELLING_API EngagementSort(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API EngagementSort & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue