AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
30 public:
31 AWS_PARTNERCENTRALSELLING_API EngagementSort() = default;
32 AWS_PARTNERCENTRALSELLING_API EngagementSort(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API EngagementSort& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline SortOrder GetSortOrder() const { return m_sortOrder; }
41 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
42 inline void SetSortOrder(SortOrder value) {
43 m_sortOrderHasBeenSet = true;
44 m_sortOrder = value;
45 }
47 SetSortOrder(value);
48 return *this;
49 }
51
53
56 inline EngagementSortName GetSortBy() const { return m_sortBy; }
57 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
58 inline void SetSortBy(EngagementSortName value) {
59 m_sortByHasBeenSet = true;
60 m_sortBy = value;
61 }
63 SetSortBy(value);
64 return *this;
65 }
67 private:
68 SortOrder m_sortOrder{SortOrder::NOT_SET};
69
71 bool m_sortOrderHasBeenSet = false;
72 bool m_sortByHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace PartnerCentralSelling
77} // 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