AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUserJobsFirst(const UserJobsFirst& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = value; }
49 inline void SetUserJobsFirst(UserJobsFirst&& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = std::move(value); }
50 inline SearchSortExpression& WithUserJobsFirst(const UserJobsFirst& value) { SetUserJobsFirst(value); return *this;}
51 inline SearchSortExpression& WithUserJobsFirst(UserJobsFirst&& value) { SetUserJobsFirst(std::move(value)); return *this;}
53
55
58 inline const FieldSortExpression& GetFieldSort() const{ return m_fieldSort; }
59 inline bool FieldSortHasBeenSet() const { return m_fieldSortHasBeenSet; }
60 inline void SetFieldSort(const FieldSortExpression& value) { m_fieldSortHasBeenSet = true; m_fieldSort = value; }
61 inline void SetFieldSort(FieldSortExpression&& value) { m_fieldSortHasBeenSet = true; m_fieldSort = std::move(value); }
62 inline SearchSortExpression& WithFieldSort(const FieldSortExpression& value) { SetFieldSort(value); return *this;}
63 inline SearchSortExpression& WithFieldSort(FieldSortExpression&& value) { SetFieldSort(std::move(value)); return *this;}
65
67
70 inline const ParameterSortExpression& GetParameterSort() const{ return m_parameterSort; }
71 inline bool ParameterSortHasBeenSet() const { return m_parameterSortHasBeenSet; }
72 inline void SetParameterSort(const ParameterSortExpression& value) { m_parameterSortHasBeenSet = true; m_parameterSort = value; }
73 inline void SetParameterSort(ParameterSortExpression&& value) { m_parameterSortHasBeenSet = true; m_parameterSort = std::move(value); }
75 inline SearchSortExpression& WithParameterSort(ParameterSortExpression&& value) { SetParameterSort(std::move(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
void SetParameterSort(const ParameterSortExpression &value)
AWS_DEADLINE_API SearchSortExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchSortExpression & WithFieldSort(const FieldSortExpression &value)
const FieldSortExpression & GetFieldSort() const
const ParameterSortExpression & GetParameterSort() const
SearchSortExpression & WithUserJobsFirst(const UserJobsFirst &value)
SearchSortExpression & WithUserJobsFirst(UserJobsFirst &&value)
AWS_DEADLINE_API SearchSortExpression(Aws::Utils::Json::JsonView jsonValue)
SearchSortExpression & WithParameterSort(ParameterSortExpression &&value)
void SetFieldSort(FieldSortExpression &&value)
const UserJobsFirst & GetUserJobsFirst() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
SearchSortExpression & WithFieldSort(FieldSortExpression &&value)
void SetParameterSort(ParameterSortExpression &&value)
void SetFieldSort(const FieldSortExpression &value)
SearchSortExpression & WithParameterSort(const ParameterSortExpression &value)
void SetUserJobsFirst(const UserJobsFirst &value)
Aws::Utils::Json::JsonValue JsonValue