AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataPathValue.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DataPathType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API DataPathValue();
36 AWS_QUICKSIGHT_API DataPathValue(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API DataPathValue& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
46 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
47 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
48 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
49 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
50 inline DataPathValue& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
51 inline DataPathValue& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
52 inline DataPathValue& WithFieldId(const char* value) { SetFieldId(value); return *this;}
54
56
59 inline const Aws::String& GetFieldValue() const{ return m_fieldValue; }
60 inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; }
61 inline void SetFieldValue(const Aws::String& value) { m_fieldValueHasBeenSet = true; m_fieldValue = value; }
62 inline void SetFieldValue(Aws::String&& value) { m_fieldValueHasBeenSet = true; m_fieldValue = std::move(value); }
63 inline void SetFieldValue(const char* value) { m_fieldValueHasBeenSet = true; m_fieldValue.assign(value); }
64 inline DataPathValue& WithFieldValue(const Aws::String& value) { SetFieldValue(value); return *this;}
65 inline DataPathValue& WithFieldValue(Aws::String&& value) { SetFieldValue(std::move(value)); return *this;}
66 inline DataPathValue& WithFieldValue(const char* value) { SetFieldValue(value); return *this;}
68
70
73 inline const DataPathType& GetDataPathType() const{ return m_dataPathType; }
74 inline bool DataPathTypeHasBeenSet() const { return m_dataPathTypeHasBeenSet; }
75 inline void SetDataPathType(const DataPathType& value) { m_dataPathTypeHasBeenSet = true; m_dataPathType = value; }
76 inline void SetDataPathType(DataPathType&& value) { m_dataPathTypeHasBeenSet = true; m_dataPathType = std::move(value); }
77 inline DataPathValue& WithDataPathType(const DataPathType& value) { SetDataPathType(value); return *this;}
78 inline DataPathValue& WithDataPathType(DataPathType&& value) { SetDataPathType(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_fieldId;
83 bool m_fieldIdHasBeenSet = false;
84
85 Aws::String m_fieldValue;
86 bool m_fieldValueHasBeenSet = false;
87
88 DataPathType m_dataPathType;
89 bool m_dataPathTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
void SetFieldValue(Aws::String &&value)
void SetFieldId(const char *value)
DataPathValue & WithFieldId(Aws::String &&value)
AWS_QUICKSIGHT_API DataPathValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFieldId() const
DataPathValue & WithFieldValue(const Aws::String &value)
void SetDataPathType(DataPathType &&value)
DataPathValue & WithFieldId(const Aws::String &value)
void SetFieldValue(const char *value)
DataPathValue & WithFieldId(const char *value)
DataPathValue & WithFieldValue(Aws::String &&value)
AWS_QUICKSIGHT_API DataPathValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataPathType & GetDataPathType() const
DataPathValue & WithDataPathType(DataPathType &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFieldId(Aws::String &&value)
void SetDataPathType(const DataPathType &value)
void SetFieldId(const Aws::String &value)
DataPathValue & WithFieldValue(const char *value)
const Aws::String & GetFieldValue() const
void SetFieldValue(const Aws::String &value)
DataPathValue & WithDataPathType(const DataPathType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue