AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
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 SolutionSort() = default;
32 AWS_PARTNERCENTRALSELLING_API SolutionSort(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API SolutionSort& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline SortOrder GetSortOrder() const { return m_sortOrder; }
42 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
43 inline void SetSortOrder(SortOrder value) {
44 m_sortOrderHasBeenSet = true;
45 m_sortOrder = value;
46 }
48 SetSortOrder(value);
49 return *this;
50 }
52
54
58 inline SolutionSortName GetSortBy() const { return m_sortBy; }
59 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
60 inline void SetSortBy(SolutionSortName value) {
61 m_sortByHasBeenSet = true;
62 m_sortBy = value;
63 }
65 SetSortBy(value);
66 return *this;
67 }
69 private:
70 SortOrder m_sortOrder{SortOrder::NOT_SET};
71
73 bool m_sortOrderHasBeenSet = false;
74 bool m_sortByHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace PartnerCentralSelling
79} // 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