AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldSortExpression.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/SortOrder.h>
9#include <aws/core/utils/memory/stl/AWSString.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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API FieldSortExpression();
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
46 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
47 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
48 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
49 inline FieldSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
50 inline FieldSortExpression& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline FieldSortExpression& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline FieldSortExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline FieldSortExpression& WithName(const char* value) { SetName(value); return *this;}
66 private:
67
68 SortOrder m_sortOrder;
69 bool m_sortOrderHasBeenSet = false;
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace deadline
77} // namespace Aws
AWS_DEADLINE_API FieldSortExpression(Aws::Utils::Json::JsonView jsonValue)
FieldSortExpression & WithName(Aws::String &&value)
FieldSortExpression & WithName(const Aws::String &value)
FieldSortExpression & WithName(const char *value)
FieldSortExpression & WithSortOrder(SortOrder &&value)
AWS_DEADLINE_API FieldSortExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldSortExpression & WithSortOrder(const SortOrder &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue