AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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