AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldSort.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/SortDirection.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 QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API FieldSort();
37 AWS_QUICKSIGHT_API FieldSort(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API FieldSort& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
47 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
48 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
49 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
50 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
51 inline FieldSort& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
52 inline FieldSort& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
53 inline FieldSort& WithFieldId(const char* value) { SetFieldId(value); return *this;}
55
57
62 inline const SortDirection& GetDirection() const{ return m_direction; }
63 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
64 inline void SetDirection(const SortDirection& value) { m_directionHasBeenSet = true; m_direction = value; }
65 inline void SetDirection(SortDirection&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); }
66 inline FieldSort& WithDirection(const SortDirection& value) { SetDirection(value); return *this;}
67 inline FieldSort& WithDirection(SortDirection&& value) { SetDirection(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_fieldId;
72 bool m_fieldIdHasBeenSet = false;
73
74 SortDirection m_direction;
75 bool m_directionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
FieldSort & WithDirection(SortDirection &&value)
Definition FieldSort.h:67
FieldSort & WithDirection(const SortDirection &value)
Definition FieldSort.h:66
const Aws::String & GetFieldId() const
Definition FieldSort.h:46
AWS_QUICKSIGHT_API FieldSort()
void SetDirection(const SortDirection &value)
Definition FieldSort.h:64
FieldSort & WithFieldId(Aws::String &&value)
Definition FieldSort.h:52
const SortDirection & GetDirection() const
Definition FieldSort.h:62
void SetFieldId(const Aws::String &value)
Definition FieldSort.h:48
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API FieldSort(Aws::Utils::Json::JsonView jsonValue)
FieldSort & WithFieldId(const char *value)
Definition FieldSort.h:53
void SetFieldId(const char *value)
Definition FieldSort.h:50
AWS_QUICKSIGHT_API FieldSort & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDirection(SortDirection &&value)
Definition FieldSort.h:65
FieldSort & WithFieldId(const Aws::String &value)
Definition FieldSort.h:51
void SetFieldId(Aws::String &&value)
Definition FieldSort.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue