AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FieldFolder.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.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
30 public:
31 AWS_QUICKSIGHT_API FieldFolder() = default;
32 AWS_QUICKSIGHT_API FieldFolder(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API FieldFolder& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
48 FieldFolder& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetColumns() const { return m_columns; }
59 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
60 template <typename ColumnsT = Aws::Vector<Aws::String>>
61 void SetColumns(ColumnsT&& value) {
62 m_columnsHasBeenSet = true;
63 m_columns = std::forward<ColumnsT>(value);
64 }
65 template <typename ColumnsT = Aws::Vector<Aws::String>>
66 FieldFolder& WithColumns(ColumnsT&& value) {
67 SetColumns(std::forward<ColumnsT>(value));
68 return *this;
69 }
70 template <typename ColumnsT = Aws::String>
71 FieldFolder& AddColumns(ColumnsT&& value) {
72 m_columnsHasBeenSet = true;
73 m_columns.emplace_back(std::forward<ColumnsT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_description;
79
81 bool m_descriptionHasBeenSet = false;
82 bool m_columnsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace QuickSight
87} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API FieldFolder & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldFolder & WithColumns(ColumnsT &&value)
Definition FieldFolder.h:66
FieldFolder & WithDescription(DescriptionT &&value)
Definition FieldFolder.h:48
AWS_QUICKSIGHT_API FieldFolder()=default
const Aws::Vector< Aws::String > & GetColumns() const
Definition FieldFolder.h:58
AWS_QUICKSIGHT_API FieldFolder(Aws::Utils::Json::JsonView jsonValue)
void SetColumns(ColumnsT &&value)
Definition FieldFolder.h:61
FieldFolder & AddColumns(ColumnsT &&value)
Definition FieldFolder.h:71
const Aws::String & GetDescription() const
Definition FieldFolder.h:40
void SetDescription(DescriptionT &&value)
Definition FieldFolder.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue