AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataPathSort.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SortDirection.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/DataPathValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API DataPathSort();
38 AWS_QUICKSIGHT_API DataPathSort(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API DataPathSort& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const SortDirection& GetDirection() const{ return m_direction; }
48 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
49 inline void SetDirection(const SortDirection& value) { m_directionHasBeenSet = true; m_direction = value; }
50 inline void SetDirection(SortDirection&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); }
51 inline DataPathSort& WithDirection(const SortDirection& value) { SetDirection(value); return *this;}
52 inline DataPathSort& WithDirection(SortDirection&& value) { SetDirection(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<DataPathValue>& GetSortPaths() const{ return m_sortPaths; }
60 inline bool SortPathsHasBeenSet() const { return m_sortPathsHasBeenSet; }
61 inline void SetSortPaths(const Aws::Vector<DataPathValue>& value) { m_sortPathsHasBeenSet = true; m_sortPaths = value; }
62 inline void SetSortPaths(Aws::Vector<DataPathValue>&& value) { m_sortPathsHasBeenSet = true; m_sortPaths = std::move(value); }
63 inline DataPathSort& WithSortPaths(const Aws::Vector<DataPathValue>& value) { SetSortPaths(value); return *this;}
64 inline DataPathSort& WithSortPaths(Aws::Vector<DataPathValue>&& value) { SetSortPaths(std::move(value)); return *this;}
65 inline DataPathSort& AddSortPaths(const DataPathValue& value) { m_sortPathsHasBeenSet = true; m_sortPaths.push_back(value); return *this; }
66 inline DataPathSort& AddSortPaths(DataPathValue&& value) { m_sortPathsHasBeenSet = true; m_sortPaths.push_back(std::move(value)); return *this; }
68 private:
69
70 SortDirection m_direction;
71 bool m_directionHasBeenSet = false;
72
74 bool m_sortPathsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
DataPathSort & WithSortPaths(Aws::Vector< DataPathValue > &&value)
void SetDirection(SortDirection &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DataPathSort & AddSortPaths(const DataPathValue &value)
DataPathSort & WithDirection(const SortDirection &value)
DataPathSort & AddSortPaths(DataPathValue &&value)
DataPathSort & WithDirection(SortDirection &&value)
void SetDirection(const SortDirection &value)
void SetSortPaths(const Aws::Vector< DataPathValue > &value)
const SortDirection & GetDirection() const
const Aws::Vector< DataPathValue > & GetSortPaths() const
void SetSortPaths(Aws::Vector< DataPathValue > &&value)
AWS_QUICKSIGHT_API DataPathSort(Aws::Utils::Json::JsonView jsonValue)
DataPathSort & WithSortPaths(const Aws::Vector< DataPathValue > &value)
AWS_QUICKSIGHT_API DataPathSort & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue