AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SortObject.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/SortBy.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
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API SortObject() = default;
38 AWS_PARTNERCENTRALSELLING_API SortObject(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API SortObject& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline SortBy GetSortBy() const { return m_sortBy; }
48 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
49 inline void SetSortBy(SortBy value) { m_sortByHasBeenSet = true; m_sortBy = value; }
50 inline SortObject& WithSortBy(SortBy value) { SetSortBy(value); return *this;}
52
54
57 inline SortOrder GetSortOrder() const { return m_sortOrder; }
58 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
59 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
60 inline SortObject& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
62 private:
63
64 SortBy m_sortBy{SortBy::NOT_SET};
65 bool m_sortByHasBeenSet = false;
66
67 SortOrder m_sortOrder{SortOrder::NOT_SET};
68 bool m_sortOrderHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace PartnerCentralSelling
73} // namespace Aws
SortObject & WithSortBy(SortBy value)
Definition SortObject.h:50
AWS_PARTNERCENTRALSELLING_API SortObject(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API SortObject()=default
AWS_PARTNERCENTRALSELLING_API SortObject & operator=(Aws::Utils::Json::JsonView jsonValue)
SortObject & WithSortOrder(SortOrder value)
Definition SortObject.h:60
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue