AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ColumnToUnpivot.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API ColumnToUnpivot() = default;
31 AWS_QUICKSIGHT_API ColumnToUnpivot(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetColumnName() const { return m_columnName; }
40 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
41 template <typename ColumnNameT = Aws::String>
42 void SetColumnName(ColumnNameT&& value) {
43 m_columnNameHasBeenSet = true;
44 m_columnName = std::forward<ColumnNameT>(value);
45 }
46 template <typename ColumnNameT = Aws::String>
47 ColumnToUnpivot& WithColumnName(ColumnNameT&& value) {
48 SetColumnName(std::forward<ColumnNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetNewValue() const { return m_newValue; }
59 inline bool NewValueHasBeenSet() const { return m_newValueHasBeenSet; }
60 template <typename NewValueT = Aws::String>
61 void SetNewValue(NewValueT&& value) {
62 m_newValueHasBeenSet = true;
63 m_newValue = std::forward<NewValueT>(value);
64 }
65 template <typename NewValueT = Aws::String>
66 ColumnToUnpivot& WithNewValue(NewValueT&& value) {
67 SetNewValue(std::forward<NewValueT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_columnName;
73
74 Aws::String m_newValue;
75 bool m_columnNameHasBeenSet = false;
76 bool m_newValueHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
void SetColumnName(ColumnNameT &&value)
const Aws::String & GetColumnName() const
const Aws::String & GetNewValue() const
AWS_QUICKSIGHT_API ColumnToUnpivot()=default
ColumnToUnpivot & WithNewValue(NewValueT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnToUnpivot & WithColumnName(ColumnNameT &&value)
AWS_QUICKSIGHT_API ColumnToUnpivot & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ColumnToUnpivot(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue