AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Order.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
31 class Order
32 {
33 public:
34 AWS_GLUE_API Order();
35 AWS_GLUE_API Order(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GLUE_API Order& operator=(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetColumn() const{ return m_column; }
45 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
46 inline void SetColumn(const Aws::String& value) { m_columnHasBeenSet = true; m_column = value; }
47 inline void SetColumn(Aws::String&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
48 inline void SetColumn(const char* value) { m_columnHasBeenSet = true; m_column.assign(value); }
49 inline Order& WithColumn(const Aws::String& value) { SetColumn(value); return *this;}
50 inline Order& WithColumn(Aws::String&& value) { SetColumn(std::move(value)); return *this;}
51 inline Order& WithColumn(const char* value) { SetColumn(value); return *this;}
53
55
59 inline int GetSortOrder() const{ return m_sortOrder; }
60 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
61 inline void SetSortOrder(int value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
62 inline Order& WithSortOrder(int value) { SetSortOrder(value); return *this;}
64 private:
65
66 Aws::String m_column;
67 bool m_columnHasBeenSet = false;
68
69 int m_sortOrder;
70 bool m_sortOrderHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
Order & WithColumn(Aws::String &&value)
Definition Order.h:50
Order & WithSortOrder(int value)
Definition Order.h:62
int GetSortOrder() const
Definition Order.h:59
void SetColumn(const char *value)
Definition Order.h:48
Order & WithColumn(const char *value)
Definition Order.h:51
void SetSortOrder(int value)
Definition Order.h:61
bool ColumnHasBeenSet() const
Definition Order.h:45
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetColumn() const
Definition Order.h:44
bool SortOrderHasBeenSet() const
Definition Order.h:60
AWS_GLUE_API Order(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Order()
void SetColumn(const Aws::String &value)
Definition Order.h:46
Order & WithColumn(const Aws::String &value)
Definition Order.h:49
void SetColumn(Aws::String &&value)
Definition Order.h:47
AWS_GLUE_API Order & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue