AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableDataPathOption.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 PivotTableDataPathOption();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<DataPathValue>& GetDataPathList() const{ return m_dataPathList; }
48 inline bool DataPathListHasBeenSet() const { return m_dataPathListHasBeenSet; }
49 inline void SetDataPathList(const Aws::Vector<DataPathValue>& value) { m_dataPathListHasBeenSet = true; m_dataPathList = value; }
50 inline void SetDataPathList(Aws::Vector<DataPathValue>&& value) { m_dataPathListHasBeenSet = true; m_dataPathList = std::move(value); }
52 inline PivotTableDataPathOption& WithDataPathList(Aws::Vector<DataPathValue>&& value) { SetDataPathList(std::move(value)); return *this;}
53 inline PivotTableDataPathOption& AddDataPathList(const DataPathValue& value) { m_dataPathListHasBeenSet = true; m_dataPathList.push_back(value); return *this; }
54 inline PivotTableDataPathOption& AddDataPathList(DataPathValue&& value) { m_dataPathListHasBeenSet = true; m_dataPathList.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetWidth() const{ return m_width; }
62 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
63 inline void SetWidth(const Aws::String& value) { m_widthHasBeenSet = true; m_width = value; }
64 inline void SetWidth(Aws::String&& value) { m_widthHasBeenSet = true; m_width = std::move(value); }
65 inline void SetWidth(const char* value) { m_widthHasBeenSet = true; m_width.assign(value); }
66 inline PivotTableDataPathOption& WithWidth(const Aws::String& value) { SetWidth(value); return *this;}
67 inline PivotTableDataPathOption& WithWidth(Aws::String&& value) { SetWidth(std::move(value)); return *this;}
68 inline PivotTableDataPathOption& WithWidth(const char* value) { SetWidth(value); return *this;}
70 private:
71
72 Aws::Vector<DataPathValue> m_dataPathList;
73 bool m_dataPathListHasBeenSet = false;
74
75 Aws::String m_width;
76 bool m_widthHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API PivotTableDataPathOption(Aws::Utils::Json::JsonView jsonValue)
void SetDataPathList(const Aws::Vector< DataPathValue > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableDataPathOption & WithDataPathList(Aws::Vector< DataPathValue > &&value)
PivotTableDataPathOption & AddDataPathList(const DataPathValue &value)
const Aws::Vector< DataPathValue > & GetDataPathList() const
PivotTableDataPathOption & WithDataPathList(const Aws::Vector< DataPathValue > &value)
PivotTableDataPathOption & WithWidth(const char *value)
void SetDataPathList(Aws::Vector< DataPathValue > &&value)
PivotTableDataPathOption & AddDataPathList(DataPathValue &&value)
PivotTableDataPathOption & WithWidth(Aws::String &&value)
AWS_QUICKSIGHT_API PivotTableDataPathOption & operator=(Aws::Utils::Json::JsonView jsonValue)
PivotTableDataPathOption & WithWidth(const Aws::String &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