AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterSortExpression.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
34 {
35 public:
36 AWS_DEADLINE_API ParameterSortExpression();
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
47 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
48 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
49 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
50 inline ParameterSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
51 inline ParameterSortExpression& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline ParameterSortExpression& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline ParameterSortExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline ParameterSortExpression& WithName(const char* value) { SetName(value); return *this;}
67 private:
68
69 SortOrder m_sortOrder;
70 bool m_sortOrderHasBeenSet = false;
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace deadline
78} // namespace Aws
ParameterSortExpression & WithSortOrder(const SortOrder &value)
ParameterSortExpression & WithName(Aws::String &&value)
AWS_DEADLINE_API ParameterSortExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterSortExpression & WithName(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API ParameterSortExpression(Aws::Utils::Json::JsonView jsonValue)
ParameterSortExpression & WithName(const char *value)
ParameterSortExpression & WithSortOrder(SortOrder &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue