AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SearchSortExpression.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/UserJobsFirst.h>
9#include <aws/deadline/model/FieldSortExpression.h>
10#include <aws/deadline/model/ParameterSortExpression.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DEADLINE_API SearchSortExpression() = default;
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const UserJobsFirst& GetUserJobsFirst() const { return m_userJobsFirst; }
47 inline bool UserJobsFirstHasBeenSet() const { return m_userJobsFirstHasBeenSet; }
48 template<typename UserJobsFirstT = UserJobsFirst>
49 void SetUserJobsFirst(UserJobsFirstT&& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = std::forward<UserJobsFirstT>(value); }
50 template<typename UserJobsFirstT = UserJobsFirst>
51 SearchSortExpression& WithUserJobsFirst(UserJobsFirstT&& value) { SetUserJobsFirst(std::forward<UserJobsFirstT>(value)); return *this;}
53
55
58 inline const FieldSortExpression& GetFieldSort() const { return m_fieldSort; }
59 inline bool FieldSortHasBeenSet() const { return m_fieldSortHasBeenSet; }
60 template<typename FieldSortT = FieldSortExpression>
61 void SetFieldSort(FieldSortT&& value) { m_fieldSortHasBeenSet = true; m_fieldSort = std::forward<FieldSortT>(value); }
62 template<typename FieldSortT = FieldSortExpression>
63 SearchSortExpression& WithFieldSort(FieldSortT&& value) { SetFieldSort(std::forward<FieldSortT>(value)); return *this;}
65
67
70 inline const ParameterSortExpression& GetParameterSort() const { return m_parameterSort; }
71 inline bool ParameterSortHasBeenSet() const { return m_parameterSortHasBeenSet; }
72 template<typename ParameterSortT = ParameterSortExpression>
73 void SetParameterSort(ParameterSortT&& value) { m_parameterSortHasBeenSet = true; m_parameterSort = std::forward<ParameterSortT>(value); }
74 template<typename ParameterSortT = ParameterSortExpression>
75 SearchSortExpression& WithParameterSort(ParameterSortT&& value) { SetParameterSort(std::forward<ParameterSortT>(value)); return *this;}
77 private:
78
79 UserJobsFirst m_userJobsFirst;
80 bool m_userJobsFirstHasBeenSet = false;
81
82 FieldSortExpression m_fieldSort;
83 bool m_fieldSortHasBeenSet = false;
84
85 ParameterSortExpression m_parameterSort;
86 bool m_parameterSortHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace deadline
91} // namespace Aws
AWS_DEADLINE_API SearchSortExpression()=default
AWS_DEADLINE_API SearchSortExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
const FieldSortExpression & GetFieldSort() const
SearchSortExpression & WithParameterSort(ParameterSortT &&value)
SearchSortExpression & WithUserJobsFirst(UserJobsFirstT &&value)
const ParameterSortExpression & GetParameterSort() const
AWS_DEADLINE_API SearchSortExpression(Aws::Utils::Json::JsonView jsonValue)
const UserJobsFirst & GetUserJobsFirst() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
SearchSortExpression & WithFieldSort(FieldSortT &&value)
Aws::Utils::Json::JsonValue JsonValue