AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SortCriterion.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/Sort.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 Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API SortCriterion();
39
40
42
45 inline const Aws::String& GetFieldName() const{ return m_fieldName; }
46 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
47 inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
48 inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
49 inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
50 inline SortCriterion& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
51 inline SortCriterion& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
52 inline SortCriterion& WithFieldName(const char* value) { SetFieldName(value); return *this;}
54
56
59 inline const Sort& GetSort() const{ return m_sort; }
60 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
61 inline void SetSort(const Sort& value) { m_sortHasBeenSet = true; m_sort = value; }
62 inline void SetSort(Sort&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
63 inline SortCriterion& WithSort(const Sort& value) { SetSort(value); return *this;}
64 inline SortCriterion& WithSort(Sort&& value) { SetSort(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_fieldName;
69 bool m_fieldNameHasBeenSet = false;
70
71 Sort m_sort;
72 bool m_sortHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // namespace Aws
SortCriterion & WithFieldName(const Aws::String &value)
AWS_GLUE_API SortCriterion(Aws::Utils::Json::JsonView jsonValue)
void SetFieldName(const Aws::String &value)
SortCriterion & WithFieldName(const char *value)
SortCriterion & WithSort(const Sort &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFieldName(Aws::String &&value)
const Sort & GetSort() const
void SetSort(const Sort &value)
AWS_GLUE_API SortCriterion & operator=(Aws::Utils::Json::JsonView jsonValue)
SortCriterion & WithFieldName(Aws::String &&value)
const Aws::String & GetFieldName() const
void SetFieldName(const char *value)
SortCriterion & WithSort(Sort &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue