AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComparativeOrder.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColumnOrderingType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/UndefinedSpecifiedValueType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API ComparativeOrder();
39 AWS_QUICKSIGHT_API ComparativeOrder(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const ColumnOrderingType& GetUseOrdering() const{ return m_useOrdering; }
51 inline bool UseOrderingHasBeenSet() const { return m_useOrderingHasBeenSet; }
52 inline void SetUseOrdering(const ColumnOrderingType& value) { m_useOrderingHasBeenSet = true; m_useOrdering = value; }
53 inline void SetUseOrdering(ColumnOrderingType&& value) { m_useOrderingHasBeenSet = true; m_useOrdering = std::move(value); }
54 inline ComparativeOrder& WithUseOrdering(const ColumnOrderingType& value) { SetUseOrdering(value); return *this;}
55 inline ComparativeOrder& WithUseOrdering(ColumnOrderingType&& value) { SetUseOrdering(std::move(value)); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetSpecifedOrder() const{ return m_specifedOrder; }
63 inline bool SpecifedOrderHasBeenSet() const { return m_specifedOrderHasBeenSet; }
64 inline void SetSpecifedOrder(const Aws::Vector<Aws::String>& value) { m_specifedOrderHasBeenSet = true; m_specifedOrder = value; }
65 inline void SetSpecifedOrder(Aws::Vector<Aws::String>&& value) { m_specifedOrderHasBeenSet = true; m_specifedOrder = std::move(value); }
66 inline ComparativeOrder& WithSpecifedOrder(const Aws::Vector<Aws::String>& value) { SetSpecifedOrder(value); return *this;}
67 inline ComparativeOrder& WithSpecifedOrder(Aws::Vector<Aws::String>&& value) { SetSpecifedOrder(std::move(value)); return *this;}
68 inline ComparativeOrder& AddSpecifedOrder(const Aws::String& value) { m_specifedOrderHasBeenSet = true; m_specifedOrder.push_back(value); return *this; }
69 inline ComparativeOrder& AddSpecifedOrder(Aws::String&& value) { m_specifedOrderHasBeenSet = true; m_specifedOrder.push_back(std::move(value)); return *this; }
70 inline ComparativeOrder& AddSpecifedOrder(const char* value) { m_specifedOrderHasBeenSet = true; m_specifedOrder.push_back(value); return *this; }
72
74
78 inline const UndefinedSpecifiedValueType& GetTreatUndefinedSpecifiedValues() const{ return m_treatUndefinedSpecifiedValues; }
79 inline bool TreatUndefinedSpecifiedValuesHasBeenSet() const { return m_treatUndefinedSpecifiedValuesHasBeenSet; }
80 inline void SetTreatUndefinedSpecifiedValues(const UndefinedSpecifiedValueType& value) { m_treatUndefinedSpecifiedValuesHasBeenSet = true; m_treatUndefinedSpecifiedValues = value; }
81 inline void SetTreatUndefinedSpecifiedValues(UndefinedSpecifiedValueType&& value) { m_treatUndefinedSpecifiedValuesHasBeenSet = true; m_treatUndefinedSpecifiedValues = std::move(value); }
85 private:
86
87 ColumnOrderingType m_useOrdering;
88 bool m_useOrderingHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_specifedOrder;
91 bool m_specifedOrderHasBeenSet = false;
92
93 UndefinedSpecifiedValueType m_treatUndefinedSpecifiedValues;
94 bool m_treatUndefinedSpecifiedValuesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QuickSight
99} // namespace Aws
ComparativeOrder & AddSpecifedOrder(Aws::String &&value)
void SetSpecifedOrder(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ComparativeOrder & WithSpecifedOrder(const Aws::Vector< Aws::String > &value)
ComparativeOrder & AddSpecifedOrder(const Aws::String &value)
AWS_QUICKSIGHT_API ComparativeOrder & operator=(Aws::Utils::Json::JsonView jsonValue)
const ColumnOrderingType & GetUseOrdering() const
ComparativeOrder & WithUseOrdering(const ColumnOrderingType &value)
ComparativeOrder & WithTreatUndefinedSpecifiedValues(const UndefinedSpecifiedValueType &value)
ComparativeOrder & WithSpecifedOrder(Aws::Vector< Aws::String > &&value)
ComparativeOrder & WithTreatUndefinedSpecifiedValues(UndefinedSpecifiedValueType &&value)
ComparativeOrder & WithUseOrdering(ColumnOrderingType &&value)
void SetSpecifedOrder(Aws::Vector< Aws::String > &&value)
ComparativeOrder & AddSpecifedOrder(const char *value)
void SetTreatUndefinedSpecifiedValues(UndefinedSpecifiedValueType &&value)
void SetTreatUndefinedSpecifiedValues(const UndefinedSpecifiedValueType &value)
const Aws::Vector< Aws::String > & GetSpecifedOrder() const
AWS_QUICKSIGHT_API ComparativeOrder(Aws::Utils::Json::JsonView jsonValue)
void SetUseOrdering(const ColumnOrderingType &value)
const UndefinedSpecifiedValueType & GetTreatUndefinedSpecifiedValues() const
void SetUseOrdering(ColumnOrderingType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue