AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DataPathValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DataPathType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API DataPathValue() = default;
31 AWS_QUICKSIGHT_API DataPathValue(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API DataPathValue& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFieldId() const { return m_fieldId; }
40 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
41 template <typename FieldIdT = Aws::String>
42 void SetFieldId(FieldIdT&& value) {
43 m_fieldIdHasBeenSet = true;
44 m_fieldId = std::forward<FieldIdT>(value);
45 }
46 template <typename FieldIdT = Aws::String>
47 DataPathValue& WithFieldId(FieldIdT&& value) {
48 SetFieldId(std::forward<FieldIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFieldValue() const { return m_fieldValue; }
58 inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; }
59 template <typename FieldValueT = Aws::String>
60 void SetFieldValue(FieldValueT&& value) {
61 m_fieldValueHasBeenSet = true;
62 m_fieldValue = std::forward<FieldValueT>(value);
63 }
64 template <typename FieldValueT = Aws::String>
65 DataPathValue& WithFieldValue(FieldValueT&& value) {
66 SetFieldValue(std::forward<FieldValueT>(value));
67 return *this;
68 }
70
72
75 inline const DataPathType& GetDataPathType() const { return m_dataPathType; }
76 inline bool DataPathTypeHasBeenSet() const { return m_dataPathTypeHasBeenSet; }
77 template <typename DataPathTypeT = DataPathType>
78 void SetDataPathType(DataPathTypeT&& value) {
79 m_dataPathTypeHasBeenSet = true;
80 m_dataPathType = std::forward<DataPathTypeT>(value);
81 }
82 template <typename DataPathTypeT = DataPathType>
83 DataPathValue& WithDataPathType(DataPathTypeT&& value) {
84 SetDataPathType(std::forward<DataPathTypeT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_fieldId;
90
91 Aws::String m_fieldValue;
92
93 DataPathType m_dataPathType;
94 bool m_fieldIdHasBeenSet = false;
95 bool m_fieldValueHasBeenSet = false;
96 bool m_dataPathTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
AWS_QUICKSIGHT_API DataPathValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFieldId() const
DataPathValue & WithFieldValue(FieldValueT &&value)
void SetDataPathType(DataPathTypeT &&value)
AWS_QUICKSIGHT_API DataPathValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataPathType & GetDataPathType() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFieldValue() const
void SetFieldValue(FieldValueT &&value)
DataPathValue & WithDataPathType(DataPathTypeT &&value)
DataPathValue & WithFieldId(FieldIdT &&value)
AWS_QUICKSIGHT_API DataPathValue()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue