AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrderBy.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/Order.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 IoTTwinMaker
23{
24namespace Model
25{
26
33 class OrderBy
34 {
35 public:
36 AWS_IOTTWINMAKER_API OrderBy();
37 AWS_IOTTWINMAKER_API OrderBy(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API OrderBy& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Order& GetOrder() const{ return m_order; }
47 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
48 inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
49 inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
50 inline OrderBy& WithOrder(const Order& value) { SetOrder(value); return *this;}
51 inline OrderBy& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetPropertyName() const{ return m_propertyName; }
59 inline bool PropertyNameHasBeenSet() const { return m_propertyNameHasBeenSet; }
60 inline void SetPropertyName(const Aws::String& value) { m_propertyNameHasBeenSet = true; m_propertyName = value; }
61 inline void SetPropertyName(Aws::String&& value) { m_propertyNameHasBeenSet = true; m_propertyName = std::move(value); }
62 inline void SetPropertyName(const char* value) { m_propertyNameHasBeenSet = true; m_propertyName.assign(value); }
63 inline OrderBy& WithPropertyName(const Aws::String& value) { SetPropertyName(value); return *this;}
64 inline OrderBy& WithPropertyName(Aws::String&& value) { SetPropertyName(std::move(value)); return *this;}
65 inline OrderBy& WithPropertyName(const char* value) { SetPropertyName(value); return *this;}
67 private:
68
69 Order m_order;
70 bool m_orderHasBeenSet = false;
71
72 Aws::String m_propertyName;
73 bool m_propertyNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTTwinMaker
78} // namespace Aws
const Aws::String & GetPropertyName() const
Definition OrderBy.h:58
OrderBy & WithPropertyName(const Aws::String &value)
Definition OrderBy.h:63
void SetPropertyName(const Aws::String &value)
Definition OrderBy.h:60
const Order & GetOrder() const
Definition OrderBy.h:46
OrderBy & WithOrder(const Order &value)
Definition OrderBy.h:50
AWS_IOTTWINMAKER_API OrderBy()
AWS_IOTTWINMAKER_API OrderBy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API OrderBy(Aws::Utils::Json::JsonView jsonValue)
void SetOrder(Order &&value)
Definition OrderBy.h:49
void SetPropertyName(Aws::String &&value)
Definition OrderBy.h:61
OrderBy & WithOrder(Order &&value)
Definition OrderBy.h:51
void SetPropertyName(const char *value)
Definition OrderBy.h:62
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
OrderBy & WithPropertyName(Aws::String &&value)
Definition OrderBy.h:64
bool PropertyNameHasBeenSet() const
Definition OrderBy.h:59
void SetOrder(const Order &value)
Definition OrderBy.h:48
OrderBy & WithPropertyName(const char *value)
Definition OrderBy.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue